diff --git a/.github/README.md b/.github/README.md index 1683ad9..3d74142 100644 --- a/.github/README.md +++ b/.github/README.md @@ -10,13 +10,13 @@ Start by adding `windows` and `microsoft-dia` dependencies to Cargo.toml: ```toml [dependencies.windows] -version = "0.53.0" +version = "0.58.0" features = [ "Win32_System_Com" ] [dependencies.microsoft-dia] -version = "0.10.0" +version = "0.11.0" ``` Make use of any DIA SDK APIs as needed. diff --git a/.metadata/generate.proj b/.metadata/generate.proj index ec5a8b3..3e6d121 100644 --- a/.metadata/generate.proj +++ b/.metadata/generate.proj @@ -1,5 +1,5 @@ - + ../.windows/winmd/Microsoft.Dia.winmd 255.255.255.255 diff --git a/.metadata/options.rsp b/.metadata/options.rsp index 4889b1f..e12f7bf 100644 --- a/.metadata/options.rsp +++ b/.metadata/options.rsp @@ -10,3 +10,5 @@ PfnPDBDebugDirV --memberRemap IDiaSourceFile::get_checksum::pbData=[Optional] IDiaSymbol10::get_sourceLink::pb=[Optional] +IDiaSession::findChildren::parent=[Optional] +IDiaSession::findFile::pCompiland=[Optional] diff --git a/.windows/winmd/Microsoft.Dia.winmd b/.windows/winmd/Microsoft.Dia.winmd index a97c732..0c685a3 100644 Binary files a/.windows/winmd/Microsoft.Dia.winmd and b/.windows/winmd/Microsoft.Dia.winmd differ diff --git a/Cargo.toml b/Cargo.toml index 003ed85..66f0b11 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "microsoft-dia" -version = "0.10.0" +version = "0.11.0" authors = ["Microsoft"] edition = "2021" license = "MIT OR Apache-2.0" @@ -10,27 +10,20 @@ readme = ".github/README.md" exclude = [".github", ".metadata", "docs", "tests"] [workspace] -members = [ - "crates/samples/*", -] +members = ["crates/samples/*"] [dependencies.windows] -version = "0.53" +version = "0.58" features = [ "implement", - "Win32_Foundation", - "Win32_System_Com", "Win32_System_Variant", "Win32_System_LibraryLoader", "Win32_System_Com_StructuredStorage", - "Win32_System_Ole" + "Win32_System_Ole", ] [dependencies.windows-core] -version = "0.53" -features = [ - "implement" -] +version = "0.58" [build-dependencies.windows-bindgen] -version = "0.53" +version = "0.58" diff --git a/crates/samples/checksum/Cargo.toml b/crates/samples/checksum/Cargo.toml index 10628d2..89bd25e 100644 --- a/crates/samples/checksum/Cargo.toml +++ b/crates/samples/checksum/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" publish = false [dependencies.windows] -version = "0.53" +version = "0.58" [dependencies.microsoft-dia] path = "../../../" diff --git a/crates/samples/checksum/src/main.rs b/crates/samples/checksum/src/main.rs index 87a2562..c18a203 100644 --- a/crates/samples/checksum/src/main.rs +++ b/crates/samples/checksum/src/main.rs @@ -27,9 +27,8 @@ fn main() -> Result<()> { .findChildren(SymTagCompiland, None, nsNone.0 as u32)?; // Get source files - for i in 0..symbols.Count()? { - let symbol = symbols.Item(i as u32)?; - let files = session.findFile(&symbol, PCWSTR::null(), nsNone.0 as u32)?; + for _i in 0..symbols.Count()? { + let files = session.findFile(None, PCWSTR::null(), nsNone.0 as u32)?; // Find files with a checksum and print out details for j in 0..files.Count()? { diff --git a/crates/samples/functions/Cargo.toml b/crates/samples/functions/Cargo.toml index fa47a8c..5e567f3 100644 --- a/crates/samples/functions/Cargo.toml +++ b/crates/samples/functions/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" publish = false [dependencies.windows] -version = "0.53" +version = "0.58" [dependencies.microsoft-dia] path = "../../../" diff --git a/src/bindings.rs b/src/bindings.rs index e8ed00b..9f98ca9 100644 --- a/src/bindings.rs +++ b/src/bindings.rs @@ -1,4 +1,4 @@ -// Bindings generated by `windows-bindgen` 0.53.0 +// Bindings generated by `windows-bindgen` 0.58.0 #![allow( non_snake_case, @@ -8,39 +8,45 @@ clippy::all )] pub mod Dia { - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaAddressMap, IDiaAddressMap_Vtbl, 0xb62a2e7a_067a_4ea3_b598_04c09717502c ); - ::windows_core::imp::interface_hierarchy!(IDiaAddressMap, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaAddressMap { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaAddressMap, windows_core::IUnknown); impl IDiaAddressMap { pub unsafe fn addressMapEnabled( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).addressMapEnabled)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).addressMapEnabled)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn SetaddressMapEnabled(&self, newval: P0) -> ::windows_core::Result<()> + pub unsafe fn SetaddressMapEnabled(&self, newval: P0) -> windows_core::Result<()> where - P0: ::windows_core::IntoParam<::windows::Win32::Foundation::BOOL>, + P0: windows_core::Param, { - (::windows_core::Interface::vtable(self).SetaddressMapEnabled)( - ::windows_core::Interface::as_raw(self), - newval.into_param().abi(), + (windows_core::Interface::vtable(self).SetaddressMapEnabled)( + windows_core::Interface::as_raw(self), + newval.param().abi(), ) .ok() } pub unsafe fn relativeVirtualAddressEnabled( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).relativeVirtualAddressEnabled)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).relativeVirtualAddressEnabled)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) @@ -48,27 +54,27 @@ pub mod Dia { pub unsafe fn SetrelativeVirtualAddressEnabled( &self, newval: P0, - ) -> ::windows_core::Result<()> + ) -> windows_core::Result<()> where - P0: ::windows_core::IntoParam<::windows::Win32::Foundation::BOOL>, + P0: windows_core::Param, { - (::windows_core::Interface::vtable(self).SetrelativeVirtualAddressEnabled)( - ::windows_core::Interface::as_raw(self), - newval.into_param().abi(), + (windows_core::Interface::vtable(self).SetrelativeVirtualAddressEnabled)( + windows_core::Interface::as_raw(self), + newval.param().abi(), ) .ok() } - pub unsafe fn imageAlign(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).imageAlign)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn imageAlign(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).imageAlign)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn SetimageAlign(&self, newval: u32) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).SetimageAlign)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn SetimageAlign(&self, newval: u32) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).SetimageAlign)( + windows_core::Interface::as_raw(self), newval, ) .ok() @@ -77,15 +83,15 @@ pub mod Dia { &self, pbdata: &[u8], originalheaders: P0, - ) -> ::windows_core::Result<()> + ) -> windows_core::Result<()> where - P0: ::windows_core::IntoParam<::windows::Win32::Foundation::BOOL>, + P0: windows_core::Param, { - (::windows_core::Interface::vtable(self).set_imageHeaders)( - ::windows_core::Interface::as_raw(self), + (windows_core::Interface::vtable(self).set_imageHeaders)( + windows_core::Interface::as_raw(self), pbdata.len().try_into().unwrap(), - ::core::mem::transmute(pbdata.as_ptr()), - originalheaders.into_param().abi(), + core::mem::transmute(pbdata.as_ptr()), + originalheaders.param().abi(), ) .ok() } @@ -93,97 +99,101 @@ pub mod Dia { &self, pdata: &[DiaAddressMapEntry], imagetosymbols: P0, - ) -> ::windows_core::Result<()> + ) -> windows_core::Result<()> where - P0: ::windows_core::IntoParam<::windows::Win32::Foundation::BOOL>, + P0: windows_core::Param, { - (::windows_core::Interface::vtable(self).set_addressMap)( - ::windows_core::Interface::as_raw(self), + (windows_core::Interface::vtable(self).set_addressMap)( + windows_core::Interface::as_raw(self), pdata.len().try_into().unwrap(), - ::core::mem::transmute(pdata.as_ptr()), - imagetosymbols.into_param().abi(), + core::mem::transmute(pdata.as_ptr()), + imagetosymbols.param().abi(), ) .ok() } } #[repr(C)] pub struct IDiaAddressMap_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub addressMapEnabled: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub SetaddressMapEnabled: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub relativeVirtualAddressEnabled: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, ) - -> ::windows_core::HRESULT, + -> windows_core::HRESULT, pub SetrelativeVirtualAddressEnabled: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - ::windows::Win32::Foundation::BOOL, + *mut core::ffi::c_void, + windows::Win32::Foundation::BOOL, ) - -> ::windows_core::HRESULT, - pub imageAlign: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + -> windows_core::HRESULT, + pub imageAlign: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetimageAlign: - unsafe extern "system" fn(*mut ::core::ffi::c_void, u32) -> ::windows_core::HRESULT, + unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub set_imageHeaders: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *const u8, - ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub set_addressMap: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *const DiaAddressMapEntry, - ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaDataSource, IDiaDataSource_Vtbl, 0x79f1bb5f_b66e_48e5_b6a9_1545c323ca3d ); - ::windows_core::imp::interface_hierarchy!(IDiaDataSource, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaDataSource { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaDataSource, windows_core::IUnknown); impl IDiaDataSource { - pub unsafe fn lastError(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).lastError)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn lastError(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).lastError)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn loadDataFromPdb(&self, pdbpath: P0) -> ::windows_core::Result<()> + pub unsafe fn loadDataFromPdb(&self, pdbpath: P0) -> windows_core::Result<()> where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P0: windows_core::Param, { - (::windows_core::Interface::vtable(self).loadDataFromPdb)( - ::windows_core::Interface::as_raw(self), - pdbpath.into_param().abi(), + (windows_core::Interface::vtable(self).loadDataFromPdb)( + windows_core::Interface::as_raw(self), + pdbpath.param().abi(), ) .ok() } pub unsafe fn loadAndValidateDataFromPdb( &self, pdbpath: P0, - pcsig70: *const ::windows_core::GUID, + pcsig70: *const windows_core::GUID, sig: u32, age: u32, - ) -> ::windows_core::Result<()> + ) -> windows_core::Result<()> where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P0: windows_core::Param, { - (::windows_core::Interface::vtable(self).loadAndValidateDataFromPdb)( - ::windows_core::Interface::as_raw(self), - pdbpath.into_param().abi(), + (windows_core::Interface::vtable(self).loadAndValidateDataFromPdb)( + windows_core::Interface::as_raw(self), + pdbpath.param().abi(), pcsig70, sig, age, @@ -195,37 +205,37 @@ pub mod Dia { executable: P0, searchpath: P1, pcallback: P2, - ) -> ::windows_core::Result<()> + ) -> windows_core::Result<()> where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, - P2: ::windows_core::IntoParam<::windows_core::IUnknown>, + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, { - (::windows_core::Interface::vtable(self).loadDataForExe)( - ::windows_core::Interface::as_raw(self), - executable.into_param().abi(), - searchpath.into_param().abi(), - pcallback.into_param().abi(), + (windows_core::Interface::vtable(self).loadDataForExe)( + windows_core::Interface::as_raw(self), + executable.param().abi(), + searchpath.param().abi(), + pcallback.param().abi(), ) .ok() } - pub unsafe fn loadDataFromIStream(&self, pistream: P0) -> ::windows_core::Result<()> + pub unsafe fn loadDataFromIStream(&self, pistream: P0) -> windows_core::Result<()> where - P0: ::windows_core::IntoParam<::windows::Win32::System::Com::IStream>, + P0: windows_core::Param, { - (::windows_core::Interface::vtable(self).loadDataFromIStream)( - ::windows_core::Interface::as_raw(self), - pistream.into_param().abi(), + (windows_core::Interface::vtable(self).loadDataFromIStream)( + windows_core::Interface::as_raw(self), + pistream.param().abi(), ) .ok() } - pub unsafe fn openSession(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).openSession)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn openSession(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).openSession)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn loadDataFromCodeViewInfo( &self, @@ -233,19 +243,19 @@ pub mod Dia { searchpath: P1, pbcvinfo: &[u8], pcallback: P2, - ) -> ::windows_core::Result<()> + ) -> windows_core::Result<()> where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, - P2: ::windows_core::IntoParam<::windows_core::IUnknown>, + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, { - (::windows_core::Interface::vtable(self).loadDataFromCodeViewInfo)( - ::windows_core::Interface::as_raw(self), - executable.into_param().abi(), - searchpath.into_param().abi(), + (windows_core::Interface::vtable(self).loadDataFromCodeViewInfo)( + windows_core::Interface::as_raw(self), + executable.param().abi(), + searchpath.param().abi(), pbcvinfo.len().try_into().unwrap(), - ::core::mem::transmute(pbcvinfo.as_ptr()), - pcallback.into_param().abi(), + core::mem::transmute(pbcvinfo.as_ptr()), + pcallback.param().abi(), ) .ok() } @@ -258,122 +268,343 @@ pub mod Dia { sizeofexe: u32, pbmiscinfo: &[u8], pcallback: P2, - ) -> ::windows_core::Result<()> + ) -> windows_core::Result<()> where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, - P2: ::windows_core::IntoParam<::windows_core::IUnknown>, + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, { - (::windows_core::Interface::vtable(self).loadDataFromMiscInfo)( - ::windows_core::Interface::as_raw(self), - executable.into_param().abi(), - searchpath.into_param().abi(), + (windows_core::Interface::vtable(self).loadDataFromMiscInfo)( + windows_core::Interface::as_raw(self), + executable.param().abi(), + searchpath.param().abi(), timestampexe, timestampdbg, sizeofexe, pbmiscinfo.len().try_into().unwrap(), - ::core::mem::transmute(pbmiscinfo.as_ptr()), - pcallback.into_param().abi(), + core::mem::transmute(pbmiscinfo.as_ptr()), + pcallback.param().abi(), ) .ok() } } #[repr(C)] pub struct IDiaDataSource_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub lastError: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, pub loadDataFromPdb: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - ::windows_core::PCWSTR, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + windows_core::PCWSTR, + ) -> windows_core::HRESULT, pub loadAndValidateDataFromPdb: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - ::windows_core::PCWSTR, - *const ::windows_core::GUID, + *mut core::ffi::c_void, + windows_core::PCWSTR, + *const windows_core::GUID, u32, u32, - ) - -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub loadDataForExe: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - ::windows_core::PCWSTR, - ::windows_core::PCWSTR, - *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows_core::PCWSTR, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub loadDataFromIStream: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub openSession: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub loadDataFromCodeViewInfo: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - ::windows_core::PCWSTR, - ::windows_core::PCWSTR, + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows_core::PCWSTR, u32, *const u8, - *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub loadDataFromMiscInfo: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - ::windows_core::PCWSTR, - ::windows_core::PCWSTR, + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows_core::PCWSTR, u32, u32, u32, u32, *const u8, - *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + } + windows_core::imp::define_interface!( + IDiaDataSourceEx, + IDiaDataSourceEx_Vtbl, + 0x1a21eb69_962a_4bc4_8bd3_681797d38b23 + ); + impl core::ops::Deref for IDiaDataSourceEx { + type Target = IDiaDataSource; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!( + IDiaDataSourceEx, + windows_core::IUnknown, + IDiaDataSource + ); + impl IDiaDataSourceEx { + pub unsafe fn loadDataFromPdbEx( + &self, + pdbpath: P0, + fpdbprefetching: P1, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + P1: windows_core::Param, + { + (windows_core::Interface::vtable(self).loadDataFromPdbEx)( + windows_core::Interface::as_raw(self), + pdbpath.param().abi(), + fpdbprefetching.param().abi(), + ) + .ok() + } + pub unsafe fn loadAndValidateDataFromPdbEx( + &self, + pdbpath: P0, + pcsig70: *const windows_core::GUID, + sig: u32, + age: u32, + fpdbprefetching: P1, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + P1: windows_core::Param, + { + (windows_core::Interface::vtable(self).loadAndValidateDataFromPdbEx)( + windows_core::Interface::as_raw(self), + pdbpath.param().abi(), + pcsig70, + sig, + age, + fpdbprefetching.param().abi(), + ) + .ok() + } + pub unsafe fn loadDataForExeEx( + &self, + executable: P0, + searchpath: P1, + pcallback: P2, + fpdbprefetching: P3, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + P1: windows_core::Param, + P2: windows_core::Param, + P3: windows_core::Param, + { + (windows_core::Interface::vtable(self).loadDataForExeEx)( + windows_core::Interface::as_raw(self), + executable.param().abi(), + searchpath.param().abi(), + pcallback.param().abi(), + fpdbprefetching.param().abi(), + ) + .ok() + } + pub unsafe fn loadDataFromIStreamEx( + &self, + pistream: P0, + fpdbprefetching: P1, + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + P1: windows_core::Param, + { + (windows_core::Interface::vtable(self).loadDataFromIStreamEx)( + windows_core::Interface::as_raw(self), + pistream.param().abi(), + fpdbprefetching.param().abi(), + ) + .ok() + } + pub unsafe fn getStreamSize(&self, stream: P0) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).getStreamSize)( + windows_core::Interface::as_raw(self), + stream.param().abi(), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn getStreamRawData( + &self, + stream: P0, + cboffset: u64, + pcbread: *mut u64, + pbdata: &mut [u8], + ) -> windows_core::Result<()> + where + P0: windows_core::Param, + { + (windows_core::Interface::vtable(self).getStreamRawData)( + windows_core::Interface::as_raw(self), + stream.param().abi(), + cboffset, + pbdata.len().try_into().unwrap(), + pcbread, + core::mem::transmute(pbdata.as_ptr()), + ) + .ok() + } + pub unsafe fn setPfnMiniPDBErrorCallback2( + &self, + pvcontext: *const core::ffi::c_void, + pfn: PFNMINIPDBERRORCALLBACK2, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).setPfnMiniPDBErrorCallback2)( + windows_core::Interface::as_raw(self), + pvcontext, + pfn, + ) + .ok() + } + pub unsafe fn ValidatePdb( + &self, + pdbpath: P0, + pcsig70: *const windows_core::GUID, + sig: u32, + age: u32, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).ValidatePdb)( + windows_core::Interface::as_raw(self), + pdbpath.param().abi(), + pcsig70, + sig, + age, + &mut result__, + ) + .map(|| result__) + } + } + #[repr(C)] + pub struct IDiaDataSourceEx_Vtbl { + pub base__: IDiaDataSource_Vtbl, + pub loadDataFromPdbEx: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub loadAndValidateDataFromPdbEx: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *const windows_core::GUID, + u32, + u32, + windows::Win32::Foundation::BOOL, + ) + -> windows_core::HRESULT, + pub loadDataForExeEx: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows_core::PCWSTR, + *mut core::ffi::c_void, + windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub loadDataFromIStreamEx: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub getStreamSize: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut u64, + ) -> windows_core::HRESULT, + pub getStreamRawData: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + u64, + u64, + *mut u64, + *mut u8, + ) -> windows_core::HRESULT, + pub setPfnMiniPDBErrorCallback2: unsafe extern "system" fn( + *mut core::ffi::c_void, + *const core::ffi::c_void, + PFNMINIPDBERRORCALLBACK2, + ) + -> windows_core::HRESULT, + pub ValidatePdb: unsafe extern "system" fn( + *mut core::ffi::c_void, + windows_core::PCWSTR, + *const windows_core::GUID, + u32, + u32, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaEnumDebugStreamData, IDiaEnumDebugStreamData_Vtbl, 0x486943e8_d187_4a6b_a3c4_291259fff60d ); - ::windows_core::imp::interface_hierarchy!(IDiaEnumDebugStreamData, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaEnumDebugStreamData { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaEnumDebugStreamData, windows_core::IUnknown); impl IDiaEnumDebugStreamData { - pub unsafe fn _NewEnum(&self) -> ::windows_core::Result<::windows_core::IUnknown> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self)._NewEnum)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn _NewEnum(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self)._NewEnum)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn Count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Count)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Count(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Count)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn name(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).name)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn name(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).name)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Item( &self, index: u32, pcbdata: *mut u32, pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Item)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).Item)( + windows_core::Interface::as_raw(self), index, pbdata.len().try_into().unwrap(), pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), + core::mem::transmute(pbdata.as_ptr()), ) .ok() } @@ -383,1065 +614,1220 @@ pub mod Dia { pcbdata: *mut u32, pbdata: &mut [u8], pceltfetched: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Next)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).Next)( + windows_core::Interface::as_raw(self), celt, pbdata.len().try_into().unwrap(), pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), + core::mem::transmute(pbdata.as_ptr()), pceltfetched, ) .ok() } - pub unsafe fn Skip(&self, celt: u32) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Skip)( - ::windows_core::Interface::as_raw(self), + 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)) + 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__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Clone)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Clone(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Clone)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDiaEnumDebugStreamData_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub _NewEnum: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub Count: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut i32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub Count: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub name: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, pub Item: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, *mut u32, *mut u8, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub Next: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, *mut u32, *mut u8, *mut u32, - ) -> ::windows_core::HRESULT, - pub Skip: - unsafe extern "system" fn(*mut ::core::ffi::c_void, u32) -> ::windows_core::HRESULT, - pub Reset: unsafe extern "system" fn(*mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, + pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, + pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaEnumDebugStreams, IDiaEnumDebugStreams_Vtbl, 0x08cbb41e_47a6_4f87_92f1_1c9c87ced044 ); - ::windows_core::imp::interface_hierarchy!(IDiaEnumDebugStreams, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaEnumDebugStreams { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaEnumDebugStreams, windows_core::IUnknown); impl IDiaEnumDebugStreams { - pub unsafe fn _NewEnum(&self) -> ::windows_core::Result<::windows_core::IUnknown> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self)._NewEnum)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn _NewEnum(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self)._NewEnum)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn Count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Count)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Count(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Count)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn Item(&self, index: P0) -> ::windows_core::Result + pub unsafe fn Item(&self, index: P0) -> windows_core::Result where - P0: ::windows_core::IntoParam<::windows_core::VARIANT>, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Item)( - ::windows_core::Interface::as_raw(self), - index.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Item)( + windows_core::Interface::as_raw(self), + index.param().abi(), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next( &self, celt: u32, - rgelt: *mut ::core::option::Option, + rgelt: *mut Option, pceltfetched: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Next)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).Next)( + windows_core::Interface::as_raw(self), celt, - ::core::mem::transmute(rgelt), + core::mem::transmute(rgelt), pceltfetched, ) .ok() } - pub unsafe fn Skip(&self, celt: u32) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Skip)( - ::windows_core::Interface::as_raw(self), + 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)) + 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__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Clone)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Clone(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Clone)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDiaEnumDebugStreams_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub _NewEnum: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub Count: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut i32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub Count: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Item: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - ::std::mem::MaybeUninit<::windows_core::VARIANT>, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + core::mem::MaybeUninit, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub Next: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, + *mut *mut core::ffi::c_void, *mut u32, - ) -> ::windows_core::HRESULT, - pub Skip: - unsafe extern "system" fn(*mut ::core::ffi::c_void, u32) -> ::windows_core::HRESULT, - pub Reset: unsafe extern "system" fn(*mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, + pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, + pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaEnumFrameData, IDiaEnumFrameData_Vtbl, 0x9fc77a4b_3c1c_44ed_a798_6c1deea53e1f ); - ::windows_core::imp::interface_hierarchy!(IDiaEnumFrameData, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaEnumFrameData { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaEnumFrameData, windows_core::IUnknown); impl IDiaEnumFrameData { - pub unsafe fn _NewEnum(&self) -> ::windows_core::Result<::windows_core::IUnknown> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self)._NewEnum)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn _NewEnum(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self)._NewEnum)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn Count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Count)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Count(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Count)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn Item(&self, index: u32) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Item)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Item(&self, index: u32) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Item)( + windows_core::Interface::as_raw(self), index, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next( &self, celt: u32, - rgelt: *mut ::core::option::Option, + rgelt: *mut Option, pceltfetched: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Next)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).Next)( + windows_core::Interface::as_raw(self), celt, - ::core::mem::transmute(rgelt), + core::mem::transmute(rgelt), pceltfetched, ) .ok() } - pub unsafe fn Skip(&self, celt: u32) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Skip)( - ::windows_core::Interface::as_raw(self), + 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)) + 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__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Clone)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Clone(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Clone)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn frameByRVA( &self, relativevirtualaddress: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).frameByRVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).frameByRVA)( + windows_core::Interface::as_raw(self), relativevirtualaddress, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn frameByVA( - &self, - virtualaddress: u64, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).frameByVA)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn frameByVA(&self, virtualaddress: u64) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).frameByVA)( + windows_core::Interface::as_raw(self), virtualaddress, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDiaEnumFrameData_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub _NewEnum: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub Count: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut i32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub Count: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Item: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub Next: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, + *mut *mut core::ffi::c_void, *mut u32, - ) -> ::windows_core::HRESULT, - pub Skip: - unsafe extern "system" fn(*mut ::core::ffi::c_void, u32) -> ::windows_core::HRESULT, - pub Reset: unsafe extern "system" fn(*mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, + pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, + pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub frameByRVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub frameByVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u64, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaEnumInjectedSources, IDiaEnumInjectedSources_Vtbl, 0xd5612573_6925_4468_8883_98cdec8c384a ); - ::windows_core::imp::interface_hierarchy!(IDiaEnumInjectedSources, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaEnumInjectedSources { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaEnumInjectedSources, windows_core::IUnknown); impl IDiaEnumInjectedSources { - pub unsafe fn _NewEnum(&self) -> ::windows_core::Result<::windows_core::IUnknown> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self)._NewEnum)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn _NewEnum(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self)._NewEnum)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn Count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Count)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Count(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Count)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn Item(&self, index: u32) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Item)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Item(&self, index: u32) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Item)( + windows_core::Interface::as_raw(self), index, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next( &self, celt: u32, - rgelt: *mut ::core::option::Option, + rgelt: *mut Option, pceltfetched: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Next)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).Next)( + windows_core::Interface::as_raw(self), celt, - ::core::mem::transmute(rgelt), + core::mem::transmute(rgelt), pceltfetched, ) .ok() } - pub unsafe fn Skip(&self, celt: u32) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Skip)( - ::windows_core::Interface::as_raw(self), + 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)) + 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__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Clone)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Clone(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Clone)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDiaEnumInjectedSources_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub _NewEnum: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub Count: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut i32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub Count: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Item: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub Next: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, + *mut *mut core::ffi::c_void, *mut u32, - ) -> ::windows_core::HRESULT, - pub Skip: - unsafe extern "system" fn(*mut ::core::ffi::c_void, u32) -> ::windows_core::HRESULT, - pub Reset: unsafe extern "system" fn(*mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, + pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, + pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaEnumInputAssemblyFiles, IDiaEnumInputAssemblyFiles_Vtbl, 0x1c7ff653_51f7_457e_8419_b20f57ef7e4d ); - ::windows_core::imp::interface_hierarchy!(IDiaEnumInputAssemblyFiles, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaEnumInputAssemblyFiles { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaEnumInputAssemblyFiles, windows_core::IUnknown); impl IDiaEnumInputAssemblyFiles { - pub unsafe fn _NewEnum(&self) -> ::windows_core::Result<::windows_core::IUnknown> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self)._NewEnum)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn _NewEnum(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self)._NewEnum)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn Count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Count)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Count(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Count)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn Item(&self, index: u32) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Item)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Item(&self, index: u32) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Item)( + windows_core::Interface::as_raw(self), index, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next( &self, celt: u32, - rgelt: *mut ::core::option::Option, + rgelt: *mut Option, pceltfetched: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Next)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).Next)( + windows_core::Interface::as_raw(self), celt, - ::core::mem::transmute(rgelt), + core::mem::transmute(rgelt), pceltfetched, ) .ok() } - pub unsafe fn Skip(&self, celt: u32) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Skip)( - ::windows_core::Interface::as_raw(self), + 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)) + 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__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Clone)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Clone(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Clone)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDiaEnumInputAssemblyFiles_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub _NewEnum: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub Count: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut i32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub Count: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Item: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub Next: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, + *mut *mut core::ffi::c_void, *mut u32, - ) -> ::windows_core::HRESULT, - pub Skip: - unsafe extern "system" fn(*mut ::core::ffi::c_void, u32) -> ::windows_core::HRESULT, - pub Reset: unsafe extern "system" fn(*mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, + pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, + pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaEnumLineNumbers, IDiaEnumLineNumbers_Vtbl, 0xfe30e878_54ac_44f1_81ba_39de940f6052 ); - ::windows_core::imp::interface_hierarchy!(IDiaEnumLineNumbers, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaEnumLineNumbers { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaEnumLineNumbers, windows_core::IUnknown); impl IDiaEnumLineNumbers { - pub unsafe fn _NewEnum(&self) -> ::windows_core::Result<::windows_core::IUnknown> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self)._NewEnum)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn _NewEnum(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self)._NewEnum)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn Count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Count)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Count(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Count)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn Item(&self, index: u32) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Item)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Item(&self, index: u32) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Item)( + windows_core::Interface::as_raw(self), index, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next( &self, celt: u32, - rgelt: *mut ::core::option::Option, + rgelt: *mut Option, pceltfetched: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Next)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).Next)( + windows_core::Interface::as_raw(self), celt, - ::core::mem::transmute(rgelt), + core::mem::transmute(rgelt), pceltfetched, ) .ok() } - pub unsafe fn Skip(&self, celt: u32) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Skip)( - ::windows_core::Interface::as_raw(self), + 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)) + 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__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Clone)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Clone(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Clone)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDiaEnumLineNumbers_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub _NewEnum: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub Count: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut i32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub Count: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Item: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub Next: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, + *mut *mut core::ffi::c_void, *mut u32, - ) -> ::windows_core::HRESULT, - pub Skip: - unsafe extern "system" fn(*mut ::core::ffi::c_void, u32) -> ::windows_core::HRESULT, - pub Reset: unsafe extern "system" fn(*mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, + pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, + pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaEnumSectionContribs, IDiaEnumSectionContribs_Vtbl, 0x1994deb2_2c82_4b1d_a57f_aff424d54a68 ); - ::windows_core::imp::interface_hierarchy!(IDiaEnumSectionContribs, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaEnumSectionContribs { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaEnumSectionContribs, windows_core::IUnknown); impl IDiaEnumSectionContribs { - pub unsafe fn _NewEnum(&self) -> ::windows_core::Result<::windows_core::IUnknown> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self)._NewEnum)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn _NewEnum(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self)._NewEnum)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn Count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Count)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Count(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Count)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn Item(&self, index: u32) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Item)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Item(&self, index: u32) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Item)( + windows_core::Interface::as_raw(self), index, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next( &self, celt: u32, - rgelt: *mut ::core::option::Option, + rgelt: *mut Option, pceltfetched: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Next)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).Next)( + windows_core::Interface::as_raw(self), celt, - ::core::mem::transmute(rgelt), + core::mem::transmute(rgelt), pceltfetched, ) .ok() } - pub unsafe fn Skip(&self, celt: u32) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Skip)( - ::windows_core::Interface::as_raw(self), + 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)) + 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__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Clone)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Clone(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Clone)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDiaEnumSectionContribs_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub _NewEnum: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub Count: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut i32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub Count: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Item: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub Next: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, + *mut *mut core::ffi::c_void, *mut u32, - ) -> ::windows_core::HRESULT, - pub Skip: - unsafe extern "system" fn(*mut ::core::ffi::c_void, u32) -> ::windows_core::HRESULT, - pub Reset: unsafe extern "system" fn(*mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, + pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, + pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaEnumSegments, IDiaEnumSegments_Vtbl, 0xe8368ca9_01d1_419d_ac0c_e31235dbda9f ); - ::windows_core::imp::interface_hierarchy!(IDiaEnumSegments, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaEnumSegments { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaEnumSegments, windows_core::IUnknown); impl IDiaEnumSegments { - pub unsafe fn _NewEnum(&self) -> ::windows_core::Result<::windows_core::IUnknown> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self)._NewEnum)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn _NewEnum(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self)._NewEnum)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn Count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Count)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Count(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Count)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn Item(&self, index: u32) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Item)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Item(&self, index: u32) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Item)( + windows_core::Interface::as_raw(self), index, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next( &self, celt: u32, - rgelt: *mut ::core::option::Option, + rgelt: *mut Option, pceltfetched: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Next)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).Next)( + windows_core::Interface::as_raw(self), celt, - ::core::mem::transmute(rgelt), + core::mem::transmute(rgelt), pceltfetched, ) .ok() } - pub unsafe fn Skip(&self, celt: u32) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Skip)( - ::windows_core::Interface::as_raw(self), + 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)) + 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__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Clone)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Clone(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Clone)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDiaEnumSegments_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub _NewEnum: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub Count: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut i32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub Count: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Item: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub Next: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, + *mut *mut core::ffi::c_void, *mut u32, - ) -> ::windows_core::HRESULT, - pub Skip: - unsafe extern "system" fn(*mut ::core::ffi::c_void, u32) -> ::windows_core::HRESULT, - pub Reset: unsafe extern "system" fn(*mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, + pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, + pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaEnumSourceFiles, IDiaEnumSourceFiles_Vtbl, 0x10f3dbd9_664f_4469_b808_9471c7a50538 ); - ::windows_core::imp::interface_hierarchy!(IDiaEnumSourceFiles, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaEnumSourceFiles { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaEnumSourceFiles, windows_core::IUnknown); impl IDiaEnumSourceFiles { - pub unsafe fn _NewEnum(&self) -> ::windows_core::Result<::windows_core::IUnknown> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self)._NewEnum)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn _NewEnum(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self)._NewEnum)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn Count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Count)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Count(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Count)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn Item(&self, index: u32) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Item)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Item(&self, index: u32) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Item)( + windows_core::Interface::as_raw(self), index, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next( &self, celt: u32, - rgelt: *mut ::core::option::Option, + rgelt: *mut Option, pceltfetched: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Next)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).Next)( + windows_core::Interface::as_raw(self), celt, - ::core::mem::transmute(rgelt), + core::mem::transmute(rgelt), pceltfetched, ) .ok() } - pub unsafe fn Skip(&self, celt: u32) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Skip)( - ::windows_core::Interface::as_raw(self), + 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)) + 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__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Clone)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Clone(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Clone)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDiaEnumSourceFiles_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub _NewEnum: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub Count: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut i32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub Count: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Item: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub Next: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut *mut core::ffi::c_void, + *mut u32, + ) -> windows_core::HRESULT, + pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, + pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, + pub Clone: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + } + windows_core::imp::define_interface!( + IDiaEnumSourceLink, + IDiaEnumSourceLink_Vtbl, + 0x45cd1eb3_5c6c_43e3_b20a_a4d8035de4e2 + ); + impl core::ops::Deref for IDiaEnumSourceLink { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaEnumSourceLink, windows_core::IUnknown); + impl IDiaEnumSourceLink { + pub unsafe fn Count(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Count)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn SizeOfNext(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).SizeOfNext)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn Next(&self, pcb: *mut u32, pb: &mut [u8]) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).Next)( + windows_core::Interface::as_raw(self), + pb.len().try_into().unwrap(), + pcb, + core::mem::transmute(pb.as_ptr()), + ) + .ok() + } + pub unsafe fn Skip(&self, cnt: u32) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).Skip)(windows_core::Interface::as_raw(self), cnt) + .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::zeroed(); + (windows_core::Interface::vtable(self).Clone)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } + } + #[repr(C)] + pub struct IDiaEnumSourceLink_Vtbl { + pub base__: windows_core::IUnknown_Vtbl, + pub Count: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub SizeOfNext: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Next: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, *mut u32, - ) -> ::windows_core::HRESULT, - pub Skip: - unsafe extern "system" fn(*mut ::core::ffi::c_void, u32) -> ::windows_core::HRESULT, - pub Reset: unsafe extern "system" fn(*mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + *mut u8, + ) -> windows_core::HRESULT, + pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, + pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + } + windows_core::imp::define_interface!( + IDiaEnumSourceLink2, + IDiaEnumSourceLink2_Vtbl, + 0x136d8151_ade7_4704_af13_324080762e8f + ); + impl core::ops::Deref for IDiaEnumSourceLink2 { + type Target = IDiaEnumSourceLink; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!( + IDiaEnumSourceLink2, + windows_core::IUnknown, + IDiaEnumSourceLink + ); + impl IDiaEnumSourceLink2 { + pub unsafe fn SizeOfNext2(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).SizeOfNext2)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn Next2(&self, pcb: *mut u64, pb: &mut [u8]) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).Next2)( + windows_core::Interface::as_raw(self), + pb.len().try_into().unwrap(), + pcb, + core::mem::transmute(pb.as_ptr()), + ) + .ok() + } + } + #[repr(C)] + pub struct IDiaEnumSourceLink2_Vtbl { + pub base__: IDiaEnumSourceLink_Vtbl, + pub SizeOfNext2: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, + pub Next2: unsafe extern "system" fn( + *mut core::ffi::c_void, + u64, + *mut u64, + *mut u8, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaEnumStackFrames, IDiaEnumStackFrames_Vtbl, 0xec9d461d_ce74_4711_a020_7d8f9a1dd255 ); - ::windows_core::imp::interface_hierarchy!(IDiaEnumStackFrames, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaEnumStackFrames { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaEnumStackFrames, windows_core::IUnknown); impl IDiaEnumStackFrames { pub unsafe fn Next( &self, celt: u32, - rgelt: *mut ::core::option::Option, + rgelt: *mut Option, pceltfetched: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Next)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).Next)( + windows_core::Interface::as_raw(self), celt, - ::core::mem::transmute(rgelt), + core::mem::transmute(rgelt), pceltfetched, ) .ok() } - pub unsafe fn Reset(&self) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Reset)(::windows_core::Interface::as_raw(self)) + pub unsafe fn Reset(&self) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).Reset)(windows_core::Interface::as_raw(self)) .ok() } } #[repr(C)] pub struct IDiaEnumStackFrames_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub Next: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, + *mut *mut core::ffi::c_void, *mut u32, - ) -> ::windows_core::HRESULT, - pub Reset: unsafe extern "system" fn(*mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, + pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaEnumSymbols, IDiaEnumSymbols_Vtbl, 0xcab72c48_443b_48f5_9b0b_42f0820ab29a ); - ::windows_core::imp::interface_hierarchy!(IDiaEnumSymbols, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaEnumSymbols { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaEnumSymbols, windows_core::IUnknown); impl IDiaEnumSymbols { - pub unsafe fn _NewEnum(&self) -> ::windows_core::Result<::windows_core::IUnknown> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self)._NewEnum)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn _NewEnum(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self)._NewEnum)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn Count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Count)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Count(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Count)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn Item(&self, index: u32) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Item)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Item(&self, index: u32) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Item)( + windows_core::Interface::as_raw(self), index, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next( &self, celt: u32, - rgelt: *mut ::core::option::Option, + rgelt: *mut Option, pceltfetched: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Next)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).Next)( + windows_core::Interface::as_raw(self), celt, - ::core::mem::transmute(rgelt), + core::mem::transmute(rgelt), pceltfetched, ) .ok() } - pub unsafe fn Skip(&self, celt: u32) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Skip)( - ::windows_core::Interface::as_raw(self), + 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)) + 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__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Clone)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Clone(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Clone)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDiaEnumSymbols_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub _NewEnum: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub Count: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut i32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub Count: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Item: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub Next: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, + *mut *mut core::ffi::c_void, *mut u32, - ) -> ::windows_core::HRESULT, - pub Skip: - unsafe extern "system" fn(*mut ::core::ffi::c_void, u32) -> ::windows_core::HRESULT, - pub Reset: unsafe extern "system" fn(*mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, + pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, + pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaEnumSymbolsByAddr, IDiaEnumSymbolsByAddr_Vtbl, 0x624b7d9c_24ea_4421_9d06_3b577471c1fa ); - ::windows_core::imp::interface_hierarchy!(IDiaEnumSymbolsByAddr, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaEnumSymbolsByAddr { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaEnumSymbolsByAddr, windows_core::IUnknown); impl IDiaEnumSymbolsByAddr { pub unsafe fn symbolByAddr( &self, isect: u32, offset: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).symbolByAddr)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).symbolByAddr)( + windows_core::Interface::as_raw(self), isect, offset, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn symbolByRVA( &self, relativevirtualaddress: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).symbolByRVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).symbolByRVA)( + windows_core::Interface::as_raw(self), relativevirtualaddress, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn symbolByVA(&self, virtualaddress: u64) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).symbolByVA)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn symbolByVA(&self, virtualaddress: u64) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).symbolByVA)( + windows_core::Interface::as_raw(self), virtualaddress, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next( &self, celt: u32, - rgelt: *mut ::core::option::Option, + rgelt: *mut Option, pceltfetched: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Next)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).Next)( + windows_core::Interface::as_raw(self), celt, - ::core::mem::transmute(rgelt), + core::mem::transmute(rgelt), pceltfetched, ) .ok() @@ -1449,212 +1835,147 @@ pub mod Dia { pub unsafe fn Prev( &self, celt: u32, - rgelt: *mut ::core::option::Option, + rgelt: *mut Option, pceltfetched: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Prev)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).Prev)( + windows_core::Interface::as_raw(self), celt, - ::core::mem::transmute(rgelt), + core::mem::transmute(rgelt), pceltfetched, ) .ok() } - pub unsafe fn Clone(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Clone)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Clone(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Clone)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDiaEnumSymbolsByAddr_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub symbolByAddr: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub symbolByRVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub symbolByVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u64, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub Next: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, + *mut *mut core::ffi::c_void, *mut u32, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub Prev: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, + *mut *mut core::ffi::c_void, *mut u32, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaEnumSymbolsByAddr2, IDiaEnumSymbolsByAddr2_Vtbl, 0x1e45bd02_be45_4d71_ba32_0e576cfcd59f ); - ::windows_core::imp::interface_hierarchy!( + impl core::ops::Deref for IDiaEnumSymbolsByAddr2 { + type Target = IDiaEnumSymbolsByAddr; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!( IDiaEnumSymbolsByAddr2, - ::windows_core::IUnknown, + windows_core::IUnknown, IDiaEnumSymbolsByAddr ); impl IDiaEnumSymbolsByAddr2 { - pub unsafe fn symbolByAddr( - &self, - isect: u32, - offset: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.symbolByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn symbolByRVA( - &self, - relativevirtualaddress: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.symbolByRVA)( - ::windows_core::Interface::as_raw(self), - relativevirtualaddress, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn symbolByVA(&self, virtualaddress: u64) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.symbolByVA)( - ::windows_core::Interface::as_raw(self), - virtualaddress, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn Next( - &self, - celt: u32, - rgelt: *mut ::core::option::Option, - pceltfetched: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.Next)( - ::windows_core::Interface::as_raw(self), - celt, - ::core::mem::transmute(rgelt), - pceltfetched, - ) - .ok() - } - pub unsafe fn Prev( - &self, - celt: u32, - rgelt: *mut ::core::option::Option, - pceltfetched: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.Prev)( - ::windows_core::Interface::as_raw(self), - celt, - ::core::mem::transmute(rgelt), - pceltfetched, - ) - .ok() - } - pub unsafe fn Clone(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.Clone)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } pub unsafe fn symbolByAddrEx( &self, fpromoteblocksym: P0, isect: u32, offset: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam<::windows::Win32::Foundation::BOOL>, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).symbolByAddrEx)( - ::windows_core::Interface::as_raw(self), - fpromoteblocksym.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).symbolByAddrEx)( + windows_core::Interface::as_raw(self), + fpromoteblocksym.param().abi(), isect, offset, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn symbolByRVAEx( &self, fpromoteblocksym: P0, relativevirtualaddress: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam<::windows::Win32::Foundation::BOOL>, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).symbolByRVAEx)( - ::windows_core::Interface::as_raw(self), - fpromoteblocksym.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).symbolByRVAEx)( + windows_core::Interface::as_raw(self), + fpromoteblocksym.param().abi(), relativevirtualaddress, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn symbolByVAEx( &self, fpromoteblocksym: P0, virtualaddress: u64, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam<::windows::Win32::Foundation::BOOL>, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).symbolByVAEx)( - ::windows_core::Interface::as_raw(self), - fpromoteblocksym.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).symbolByVAEx)( + windows_core::Interface::as_raw(self), + fpromoteblocksym.param().abi(), virtualaddress, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn NextEx( &self, fpromoteblocksym: P0, celt: u32, - rgelt: *mut ::core::option::Option, + rgelt: *mut Option, pceltfetched: *mut u32, - ) -> ::windows_core::Result<()> + ) -> windows_core::Result<()> where - P0: ::windows_core::IntoParam<::windows::Win32::Foundation::BOOL>, + P0: windows_core::Param, { - (::windows_core::Interface::vtable(self).NextEx)( - ::windows_core::Interface::as_raw(self), - fpromoteblocksym.into_param().abi(), + (windows_core::Interface::vtable(self).NextEx)( + windows_core::Interface::as_raw(self), + fpromoteblocksym.param().abi(), celt, - ::core::mem::transmute(rgelt), + core::mem::transmute(rgelt), pceltfetched, ) .ok() @@ -1663,17 +1984,17 @@ pub mod Dia { &self, fpromoteblocksym: P0, celt: u32, - rgelt: *mut ::core::option::Option, + rgelt: *mut Option, pceltfetched: *mut u32, - ) -> ::windows_core::Result<()> + ) -> windows_core::Result<()> where - P0: ::windows_core::IntoParam<::windows::Win32::Foundation::BOOL>, + P0: windows_core::Param, { - (::windows_core::Interface::vtable(self).PrevEx)( - ::windows_core::Interface::as_raw(self), - fpromoteblocksym.into_param().abi(), + (windows_core::Interface::vtable(self).PrevEx)( + windows_core::Interface::as_raw(self), + fpromoteblocksym.param().abi(), celt, - ::core::mem::transmute(rgelt), + core::mem::transmute(rgelt), pceltfetched, ) .ok() @@ -1683,404 +2004,396 @@ pub mod Dia { pub struct IDiaEnumSymbolsByAddr2_Vtbl { pub base__: IDiaEnumSymbolsByAddr_Vtbl, pub symbolByAddrEx: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - ::windows::Win32::Foundation::BOOL, + *mut core::ffi::c_void, + windows::Win32::Foundation::BOOL, u32, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub symbolByRVAEx: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - ::windows::Win32::Foundation::BOOL, + *mut core::ffi::c_void, + windows::Win32::Foundation::BOOL, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub symbolByVAEx: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - ::windows::Win32::Foundation::BOOL, + *mut core::ffi::c_void, + windows::Win32::Foundation::BOOL, u64, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub NextEx: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - ::windows::Win32::Foundation::BOOL, + *mut core::ffi::c_void, + windows::Win32::Foundation::BOOL, u32, - *mut *mut ::core::ffi::c_void, + *mut *mut core::ffi::c_void, *mut u32, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub PrevEx: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - ::windows::Win32::Foundation::BOOL, + *mut core::ffi::c_void, + windows::Win32::Foundation::BOOL, u32, - *mut *mut ::core::ffi::c_void, + *mut *mut core::ffi::c_void, *mut u32, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaEnumTables, IDiaEnumTables_Vtbl, 0xc65c2b0a_1150_4d7a_afcc_e05bf3dee81e ); - ::windows_core::imp::interface_hierarchy!(IDiaEnumTables, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaEnumTables { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaEnumTables, windows_core::IUnknown); impl IDiaEnumTables { - pub unsafe fn _NewEnum(&self) -> ::windows_core::Result<::windows_core::IUnknown> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self)._NewEnum)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn _NewEnum(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self)._NewEnum)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn Count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Count)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Count(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Count)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn Item(&self, index: P0) -> ::windows_core::Result + pub unsafe fn Item(&self, index: P0) -> windows_core::Result where - P0: ::windows_core::IntoParam<::windows_core::VARIANT>, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Item)( - ::windows_core::Interface::as_raw(self), - index.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Item)( + windows_core::Interface::as_raw(self), + index.param().abi(), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn Next( &self, celt: u32, - rgelt: *mut ::core::option::Option, + rgelt: *mut Option, pceltfetched: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Next)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).Next)( + windows_core::Interface::as_raw(self), celt, - ::core::mem::transmute(rgelt), + core::mem::transmute(rgelt), pceltfetched, ) .ok() } - pub unsafe fn Skip(&self, celt: u32) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).Skip)( - ::windows_core::Interface::as_raw(self), + 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)) + 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__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Clone)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Clone(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Clone)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDiaEnumTables_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub _NewEnum: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub Count: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut i32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub Count: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Item: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - ::std::mem::MaybeUninit<::windows_core::VARIANT>, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + core::mem::MaybeUninit, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub Next: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, + *mut *mut core::ffi::c_void, *mut u32, - ) -> ::windows_core::HRESULT, - pub Skip: - unsafe extern "system" fn(*mut ::core::ffi::c_void, u32) -> ::windows_core::HRESULT, - pub Reset: unsafe extern "system" fn(*mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, + pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, + pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaFrameData, IDiaFrameData_Vtbl, 0xa39184b7_6a36_42de_8eec_7df9f3f59f33 ); - ::windows_core::imp::interface_hierarchy!(IDiaFrameData, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaFrameData { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaFrameData, windows_core::IUnknown); impl IDiaFrameData { - pub unsafe fn addressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).addressSection)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn addressSection(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).addressSection)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn addressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).addressOffset)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn addressOffset(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).addressOffset)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn relativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).relativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn relativeVirtualAddress(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).relativeVirtualAddress)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn virtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).virtualAddress)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn virtualAddress(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).virtualAddress)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn lengthBlock(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).lengthBlock)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn lengthBlock(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).lengthBlock)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn lengthLocals(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).lengthLocals)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn lengthLocals(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).lengthLocals)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn lengthParams(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).lengthParams)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn lengthParams(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).lengthParams)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn maxStack(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).maxStack)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn maxStack(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).maxStack)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn lengthProlog(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).lengthProlog)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn lengthProlog(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).lengthProlog)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn lengthSavedRegisters(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).lengthSavedRegisters)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn lengthSavedRegisters(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).lengthSavedRegisters)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn program(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).program)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn program(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).program)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn systemExceptionHandling( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).systemExceptionHandling)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).systemExceptionHandling)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn cplusplusExceptionHandling( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).cplusplusExceptionHandling)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).cplusplusExceptionHandling)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn functionStart( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).functionStart)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).functionStart)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn allocatesBasePointer( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).allocatesBasePointer)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).allocatesBasePointer)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn r#type(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).r#type)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn r#type(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).r#type)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn functionParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).functionParent)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn functionParent(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).functionParent)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn execute(&self, frame: P0) -> ::windows_core::Result<()> + pub unsafe fn execute(&self, frame: P0) -> windows_core::Result<()> where - P0: ::windows_core::IntoParam, + P0: windows_core::Param, { - (::windows_core::Interface::vtable(self).execute)( - ::windows_core::Interface::as_raw(self), - frame.into_param().abi(), + (windows_core::Interface::vtable(self).execute)( + windows_core::Interface::as_raw(self), + frame.param().abi(), ) .ok() } } #[repr(C)] pub struct IDiaFrameData_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, - pub addressSection: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub addressOffset: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub relativeVirtualAddress: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub virtualAddress: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u64, - ) -> ::windows_core::HRESULT, - pub lengthBlock: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub lengthLocals: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub lengthParams: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub maxStack: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub lengthProlog: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub lengthSavedRegisters: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + pub base__: windows_core::IUnknown_Vtbl, + pub addressSection: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub addressOffset: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub relativeVirtualAddress: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub virtualAddress: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, + pub lengthBlock: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub lengthLocals: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub lengthParams: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub maxStack: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub lengthProlog: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub lengthSavedRegisters: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub program: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, pub systemExceptionHandling: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub cplusplusExceptionHandling: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) - -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub functionStart: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub allocatesBasePointer: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub r#type: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub r#type: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub functionParent: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub execute: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaImageData, IDiaImageData_Vtbl, 0xc8e40ed2_a1d9_4221_8692_3ce661184b44 ); - ::windows_core::imp::interface_hierarchy!(IDiaImageData, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaImageData { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaImageData, windows_core::IUnknown); impl IDiaImageData { - pub unsafe fn relativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).relativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn relativeVirtualAddress(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).relativeVirtualAddress)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn virtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).virtualAddress)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn virtualAddress(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).virtualAddress)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn imageBase(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).imageBase)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn imageBase(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).imageBase)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) @@ -2088,71 +2401,71 @@ pub mod Dia { } #[repr(C)] pub struct IDiaImageData_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, - pub relativeVirtualAddress: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub virtualAddress: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u64, - ) -> ::windows_core::HRESULT, - pub imageBase: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u64, - ) -> ::windows_core::HRESULT, - } - ::windows_core::imp::com_interface!( + pub base__: windows_core::IUnknown_Vtbl, + pub relativeVirtualAddress: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub virtualAddress: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, + pub imageBase: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, + } + windows_core::imp::define_interface!( IDiaInjectedSource, IDiaInjectedSource_Vtbl, 0xae605cdc_8105_4a23_b710_3259f1e26112 ); - ::windows_core::imp::interface_hierarchy!(IDiaInjectedSource, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaInjectedSource { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaInjectedSource, windows_core::IUnknown); impl IDiaInjectedSource { - pub unsafe fn crc(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).crc)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn crc(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).crc)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn length(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).length)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn length(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).length)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn filename(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).filename)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn filename(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).filename)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn objectFilename(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).objectFilename)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn objectFilename(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).objectFilename)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn virtualFilename(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).virtualFilename)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn virtualFilename(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).virtualFilename)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn sourceCompression(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).sourceCompression)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn sourceCompression(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).sourceCompression)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) @@ -2161,260 +2474,258 @@ pub mod Dia { &self, pcbdata: *mut u32, pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).get_source)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).get_source)( + windows_core::Interface::as_raw(self), pbdata.len().try_into().unwrap(), pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), + core::mem::transmute(pbdata.as_ptr()), ) .ok() } } #[repr(C)] pub struct IDiaInjectedSource_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, - pub crc: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub length: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u64, - ) -> ::windows_core::HRESULT, + pub base__: windows_core::IUnknown_Vtbl, + pub crc: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub length: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub filename: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, pub objectFilename: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, pub virtualFilename: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, - pub sourceCompression: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, + pub sourceCompression: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub get_source: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *mut u32, *mut u8, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaInputAssemblyFile, IDiaInputAssemblyFile_Vtbl, 0x3bfe56b0_390c_4863_9430_1f3d083b7684 ); - ::windows_core::imp::interface_hierarchy!(IDiaInputAssemblyFile, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaInputAssemblyFile { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaInputAssemblyFile, windows_core::IUnknown); impl IDiaInputAssemblyFile { - pub unsafe fn uniqueId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).uniqueId)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn uniqueId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).uniqueId)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn index(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).index)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn index(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).index)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn timestamp(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).timestamp)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn timestamp(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).timestamp)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn pdbAvailableAtILMerge( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).pdbAvailableAtILMerge)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).pdbAvailableAtILMerge)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn fileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).fileName)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn fileName(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).fileName)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_version( &self, pcbdata: *mut u32, pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).get_version)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).get_version)( + windows_core::Interface::as_raw(self), pbdata.len().try_into().unwrap(), pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), + core::mem::transmute(pbdata.as_ptr()), ) .ok() } } #[repr(C)] pub struct IDiaInputAssemblyFile_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, - pub uniqueId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub index: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub timestamp: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + pub base__: windows_core::IUnknown_Vtbl, + pub uniqueId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub index: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub timestamp: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub pdbAvailableAtILMerge: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub fileName: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, pub get_version: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *mut u32, *mut u8, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaLineNumber, IDiaLineNumber_Vtbl, 0xb388eb14_be4d_421d_a8a1_6cf7ab057086 ); - ::windows_core::imp::interface_hierarchy!(IDiaLineNumber, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaLineNumber { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaLineNumber, windows_core::IUnknown); impl IDiaLineNumber { - pub unsafe fn compiland(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).compiland)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn compiland(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).compiland)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn sourceFile(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).sourceFile)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn sourceFile(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).sourceFile)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn lineNumber(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).lineNumber)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn lineNumber(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).lineNumber)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn lineNumberEnd(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).lineNumberEnd)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn lineNumberEnd(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).lineNumberEnd)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn columnNumber(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).columnNumber)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn columnNumber(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).columnNumber)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn columnNumberEnd(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).columnNumberEnd)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn columnNumberEnd(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).columnNumberEnd)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn addressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).addressSection)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn addressSection(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).addressSection)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn addressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).addressOffset)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn addressOffset(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).addressOffset)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn relativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).relativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn relativeVirtualAddress(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).relativeVirtualAddress)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn virtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).virtualAddress)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn virtualAddress(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).virtualAddress)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn length(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).length)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn length(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).length)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn sourceFileId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).sourceFileId)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn sourceFileId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).sourceFileId)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn statement( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).statement)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn statement(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).statement)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn compilandId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).compilandId)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn compilandId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).compilandId)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) @@ -2422,98 +2733,82 @@ pub mod Dia { } #[repr(C)] pub struct IDiaLineNumber_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub compiland: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub sourceFile: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub lineNumber: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub lineNumberEnd: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub columnNumber: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub columnNumberEnd: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub addressSection: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub addressOffset: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub relativeVirtualAddress: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub virtualAddress: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u64, - ) -> ::windows_core::HRESULT, - pub length: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub sourceFileId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub lineNumber: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub lineNumberEnd: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub columnNumber: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub columnNumberEnd: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub addressSection: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub addressOffset: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub relativeVirtualAddress: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub virtualAddress: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, + pub length: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub sourceFileId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub statement: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub compilandId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub compilandId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaLoadCallback, IDiaLoadCallback_Vtbl, 0xc32adb82_73f4_421b_95d5_a4706edf5dbe ); - ::windows_core::imp::interface_hierarchy!(IDiaLoadCallback, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaLoadCallback { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaLoadCallback, windows_core::IUnknown); impl IDiaLoadCallback { pub unsafe fn NotifyDebugDir( &self, fexecutable: P0, pbdata: &[u8], - ) -> ::windows_core::Result<()> + ) -> windows_core::Result<()> where - P0: ::windows_core::IntoParam<::windows::Win32::Foundation::BOOL>, + P0: windows_core::Param, { - (::windows_core::Interface::vtable(self).NotifyDebugDir)( - ::windows_core::Interface::as_raw(self), - fexecutable.into_param().abi(), + (windows_core::Interface::vtable(self).NotifyDebugDir)( + windows_core::Interface::as_raw(self), + fexecutable.param().abi(), pbdata.len().try_into().unwrap(), - ::core::mem::transmute(pbdata.as_ptr()), + core::mem::transmute(pbdata.as_ptr()), ) .ok() } pub unsafe fn NotifyOpenDBG( &self, dbgpath: P0, - resultcode: ::windows_core::HRESULT, - ) -> ::windows_core::Result<()> + resultcode: windows_core::HRESULT, + ) -> windows_core::Result<()> where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P0: windows_core::Param, { - (::windows_core::Interface::vtable(self).NotifyOpenDBG)( - ::windows_core::Interface::as_raw(self), - dbgpath.into_param().abi(), + (windows_core::Interface::vtable(self).NotifyOpenDBG)( + windows_core::Interface::as_raw(self), + dbgpath.param().abi(), resultcode, ) .ok() @@ -2521,147 +2816,93 @@ pub mod Dia { pub unsafe fn NotifyOpenPDB( &self, pdbpath: P0, - resultcode: ::windows_core::HRESULT, - ) -> ::windows_core::Result<()> + resultcode: windows_core::HRESULT, + ) -> windows_core::Result<()> where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P0: windows_core::Param, { - (::windows_core::Interface::vtable(self).NotifyOpenPDB)( - ::windows_core::Interface::as_raw(self), - pdbpath.into_param().abi(), + (windows_core::Interface::vtable(self).NotifyOpenPDB)( + windows_core::Interface::as_raw(self), + pdbpath.param().abi(), resultcode, ) .ok() } - pub unsafe fn RestrictRegistryAccess(&self) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).RestrictRegistryAccess)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn RestrictRegistryAccess(&self) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).RestrictRegistryAccess)( + windows_core::Interface::as_raw(self), ) .ok() } - pub unsafe fn RestrictSymbolServerAccess(&self) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).RestrictSymbolServerAccess)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn RestrictSymbolServerAccess(&self) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).RestrictSymbolServerAccess)( + windows_core::Interface::as_raw(self), ) .ok() } } #[repr(C)] pub struct IDiaLoadCallback_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub NotifyDebugDir: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - ::windows::Win32::Foundation::BOOL, + *mut core::ffi::c_void, + windows::Win32::Foundation::BOOL, u32, *const u8, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub NotifyOpenDBG: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - ::windows_core::PCWSTR, - ::windows_core::HRESULT, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows_core::HRESULT, + ) -> windows_core::HRESULT, pub NotifyOpenPDB: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - ::windows_core::PCWSTR, - ::windows_core::HRESULT, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + windows_core::PCWSTR, + windows_core::HRESULT, + ) -> windows_core::HRESULT, pub RestrictRegistryAccess: - unsafe extern "system" fn(*mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RestrictSymbolServerAccess: - unsafe extern "system" fn(*mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaLoadCallback2, IDiaLoadCallback2_Vtbl, 0x4688a074_5a4d_4486_aea8_7b90711d9f7c ); - ::windows_core::imp::interface_hierarchy!( + impl core::ops::Deref for IDiaLoadCallback2 { + type Target = IDiaLoadCallback; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!( IDiaLoadCallback2, - ::windows_core::IUnknown, + windows_core::IUnknown, IDiaLoadCallback ); impl IDiaLoadCallback2 { - pub unsafe fn NotifyDebugDir( - &self, - fexecutable: P0, - pbdata: &[u8], - ) -> ::windows_core::Result<()> - where - P0: ::windows_core::IntoParam<::windows::Win32::Foundation::BOOL>, - { - (::windows_core::Interface::vtable(self) - .base__ - .NotifyDebugDir)( - ::windows_core::Interface::as_raw(self), - fexecutable.into_param().abi(), - pbdata.len().try_into().unwrap(), - ::core::mem::transmute(pbdata.as_ptr()), - ) - .ok() - } - pub unsafe fn NotifyOpenDBG( - &self, - dbgpath: P0, - resultcode: ::windows_core::HRESULT, - ) -> ::windows_core::Result<()> - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - (::windows_core::Interface::vtable(self).base__.NotifyOpenDBG)( - ::windows_core::Interface::as_raw(self), - dbgpath.into_param().abi(), - resultcode, - ) - .ok() - } - pub unsafe fn NotifyOpenPDB( - &self, - pdbpath: P0, - resultcode: ::windows_core::HRESULT, - ) -> ::windows_core::Result<()> - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - (::windows_core::Interface::vtable(self).base__.NotifyOpenPDB)( - ::windows_core::Interface::as_raw(self), - pdbpath.into_param().abi(), - resultcode, - ) - .ok() - } - pub unsafe fn RestrictRegistryAccess(&self) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .RestrictRegistryAccess)(::windows_core::Interface::as_raw(self)) - .ok() - } - pub unsafe fn RestrictSymbolServerAccess(&self) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .RestrictSymbolServerAccess)(::windows_core::Interface::as_raw(self)) - .ok() - } - pub unsafe fn RestrictOriginalPathAccess(&self) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).RestrictOriginalPathAccess)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn RestrictOriginalPathAccess(&self) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).RestrictOriginalPathAccess)( + windows_core::Interface::as_raw(self), ) .ok() } - pub unsafe fn RestrictReferencePathAccess(&self) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).RestrictReferencePathAccess)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn RestrictReferencePathAccess(&self) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).RestrictReferencePathAccess)( + windows_core::Interface::as_raw(self), ) .ok() } - pub unsafe fn RestrictDBGAccess(&self) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).RestrictDBGAccess)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn RestrictDBGAccess(&self) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).RestrictDBGAccess)( + windows_core::Interface::as_raw(self), ) .ok() } - pub unsafe fn RestrictSystemRootAccess(&self) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).RestrictSystemRootAccess)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn RestrictSystemRootAccess(&self) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).RestrictSystemRootAccess)( + windows_core::Interface::as_raw(self), ) .ok() } @@ -2670,32 +2911,38 @@ pub mod Dia { pub struct IDiaLoadCallback2_Vtbl { pub base__: IDiaLoadCallback_Vtbl, pub RestrictOriginalPathAccess: - unsafe extern "system" fn(*mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RestrictReferencePathAccess: - unsafe extern "system" fn(*mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RestrictDBGAccess: - unsafe extern "system" fn(*mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RestrictSystemRootAccess: - unsafe extern "system" fn(*mut ::core::ffi::c_void) -> ::windows_core::HRESULT, + unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaPropertyStorage, IDiaPropertyStorage_Vtbl, 0x9d416f9c_e184_45b2_a4f0_ce517f719e9b ); - ::windows_core::imp::interface_hierarchy!(IDiaPropertyStorage, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaPropertyStorage { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaPropertyStorage, windows_core::IUnknown); impl IDiaPropertyStorage { pub unsafe fn ReadMultiple( &self, cpspec: u32, - rgpspec: *const ::windows::Win32::System::Com::StructuredStorage::PROPSPEC, - rgvar: *mut ::windows_core::PROPVARIANT, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).ReadMultiple)( - ::windows_core::Interface::as_raw(self), + rgpspec: *const windows::Win32::System::Com::StructuredStorage::PROPSPEC, + rgvar: *mut windows_core::PROPVARIANT, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReadMultiple)( + windows_core::Interface::as_raw(self), cpspec, rgpspec, - ::core::mem::transmute(rgvar), + core::mem::transmute(rgvar), ) .ok() } @@ -2703,41 +2950,40 @@ pub mod Dia { &self, cpropid: u32, rgpropid: *const u32, - rglpwstrname: *mut ::windows_core::BSTR, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).ReadPropertyNames)( - ::windows_core::Interface::as_raw(self), + rglpwstrname: *mut windows_core::BSTR, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReadPropertyNames)( + windows_core::Interface::as_raw(self), cpropid, rgpropid, - ::core::mem::transmute(rglpwstrname), + core::mem::transmute(rglpwstrname), ) .ok() } pub unsafe fn Enum( &self, - ) -> ::windows_core::Result< - ::windows::Win32::System::Com::StructuredStorage::IEnumSTATPROPSTG, - > { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Enum)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Enum)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn ReadDWORD(&self, id: u32) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).ReadDWORD)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn ReadDWORD(&self, id: u32) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).ReadDWORD)( + windows_core::Interface::as_raw(self), id, &mut result__, ) .map(|| result__) } - pub unsafe fn ReadLONG(&self, id: u32) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).ReadLONG)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn ReadLONG(&self, id: u32) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).ReadLONG)( + windows_core::Interface::as_raw(self), id, &mut result__, ) @@ -2746,341 +2992,348 @@ pub mod Dia { pub unsafe fn ReadBOOL( &self, id: u32, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).ReadBOOL)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).ReadBOOL)( + windows_core::Interface::as_raw(self), id, &mut result__, ) .map(|| result__) } - pub unsafe fn ReadULONGLONG(&self, id: u32) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).ReadULONGLONG)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn ReadULONGLONG(&self, id: u32) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).ReadULONGLONG)( + windows_core::Interface::as_raw(self), id, &mut result__, ) .map(|| result__) } - pub unsafe fn ReadBSTR(&self, id: u32) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).ReadBSTR)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn ReadBSTR(&self, id: u32) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).ReadBSTR)( + windows_core::Interface::as_raw(self), id, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDiaPropertyStorage_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub ReadMultiple: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *const ::windows::Win32::System::Com::StructuredStorage::PROPSPEC, - *mut ::std::mem::MaybeUninit<::windows_core::PROPVARIANT>, - ) -> ::windows_core::HRESULT, + *const windows::Win32::System::Com::StructuredStorage::PROPSPEC, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, pub ReadPropertyNames: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *const u32, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, pub Enum: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub ReadDWORD: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *mut u32, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub ReadLONG: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *mut i32, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub ReadBOOL: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub ReadULONGLONG: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *mut u64, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub ReadBSTR: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaReadExeAtOffsetCallback, IDiaReadExeAtOffsetCallback_Vtbl, 0x587a461c_b80b_4f54_9194_5032589a6319 ); - ::windows_core::imp::interface_hierarchy!( - IDiaReadExeAtOffsetCallback, - ::windows_core::IUnknown - ); + impl core::ops::Deref for IDiaReadExeAtOffsetCallback { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaReadExeAtOffsetCallback, windows_core::IUnknown); impl IDiaReadExeAtOffsetCallback { pub unsafe fn ReadExecutableAt( &self, fileoffset: u64, pcbdata: *mut u32, pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).ReadExecutableAt)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReadExecutableAt)( + windows_core::Interface::as_raw(self), fileoffset, pbdata.len().try_into().unwrap(), pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), + core::mem::transmute(pbdata.as_ptr()), ) .ok() } } #[repr(C)] pub struct IDiaReadExeAtOffsetCallback_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub ReadExecutableAt: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u64, u32, *mut u32, *mut u8, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaReadExeAtRVACallback, IDiaReadExeAtRVACallback_Vtbl, 0x8e3f80ca_7517_432a_ba07_285134aaea8e ); - ::windows_core::imp::interface_hierarchy!(IDiaReadExeAtRVACallback, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaReadExeAtRVACallback { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaReadExeAtRVACallback, windows_core::IUnknown); impl IDiaReadExeAtRVACallback { pub unsafe fn ReadExecutableAtRVA( &self, relativevirtualaddress: u32, pcbdata: *mut u32, pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).ReadExecutableAtRVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).ReadExecutableAtRVA)( + windows_core::Interface::as_raw(self), relativevirtualaddress, pbdata.len().try_into().unwrap(), pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), + core::mem::transmute(pbdata.as_ptr()), ) .ok() } } #[repr(C)] pub struct IDiaReadExeAtRVACallback_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub ReadExecutableAtRVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, *mut u32, *mut u8, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaSectionContrib, IDiaSectionContrib_Vtbl, 0x0cf4b60e_35b1_4c6c_bdd8_854b9c8e3857 ); - ::windows_core::imp::interface_hierarchy!(IDiaSectionContrib, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaSectionContrib { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaSectionContrib, windows_core::IUnknown); impl IDiaSectionContrib { - pub unsafe fn compiland(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).compiland)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn compiland(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).compiland)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn addressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).addressSection)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn addressSection(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).addressSection)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn addressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).addressOffset)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn addressOffset(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).addressOffset)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn relativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).relativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn relativeVirtualAddress(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).relativeVirtualAddress)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn virtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).virtualAddress)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn virtualAddress(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).virtualAddress)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn length(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).length)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn length(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).length)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn notPaged( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).notPaged)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn notPaged(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).notPaged)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn code(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).code)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn code(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).code)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn initializedData( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).initializedData)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).initializedData)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn uninitializedData( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).uninitializedData)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).uninitializedData)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn remove(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).remove)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn remove(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).remove)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn comdat(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).comdat)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn comdat(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).comdat)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn discardable( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).discardable)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn discardable(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).discardable)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn notCached( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).notCached)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn notCached(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).notCached)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn share(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).share)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn share(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).share)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn execute(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).execute)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn execute(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).execute)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn read(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).read)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn read(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).read)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn write(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).write)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn write(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).write)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn dataCrc(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).dataCrc)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn dataCrc(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).dataCrc)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn relocationsCrc(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).relocationsCrc)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn relocationsCrc(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).relocationsCrc)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn compilandId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).compilandId)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn compilandId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).compilandId)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn code16bit( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).code16bit)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn code16bit(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).code16bit)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) @@ -3088,171 +3341,161 @@ pub mod Dia { } #[repr(C)] pub struct IDiaSectionContrib_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub compiland: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub addressSection: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub addressOffset: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub relativeVirtualAddress: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub virtualAddress: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u64, - ) -> ::windows_core::HRESULT, - pub length: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub addressSection: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub addressOffset: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub relativeVirtualAddress: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub virtualAddress: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, + pub length: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub notPaged: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub code: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub initializedData: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub uninitializedData: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub remove: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub comdat: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub discardable: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub notCached: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub share: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub execute: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub read: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub write: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub dataCrc: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub relocationsCrc: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub compilandId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub dataCrc: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub relocationsCrc: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub compilandId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub code16bit: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaSegment, IDiaSegment_Vtbl, 0x0775b784_c75b_4449_848b_b7bd3159545b ); - ::windows_core::imp::interface_hierarchy!(IDiaSegment, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaSegment { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaSegment, windows_core::IUnknown); impl IDiaSegment { - pub unsafe fn frame(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).frame)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn frame(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).frame)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn offset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).offset)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn offset(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).offset)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn length(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).length)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn length(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).length)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn read(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).read)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn read(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).read)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn write(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).write)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn write(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).write)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn execute(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).execute)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn execute(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).execute)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn addressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).addressSection)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn addressSection(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).addressSection)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn relativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).relativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn relativeVirtualAddress(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).relativeVirtualAddress)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn virtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).virtualAddress)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn virtualAddress(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).virtualAddress)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) @@ -3260,89 +3503,83 @@ pub mod Dia { } #[repr(C)] pub struct IDiaSegment_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, - pub frame: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub offset: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub length: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + pub base__: windows_core::IUnknown_Vtbl, + pub frame: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub offset: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub length: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub read: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub write: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub execute: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub addressSection: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub relativeVirtualAddress: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub virtualAddress: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u64, - ) -> ::windows_core::HRESULT, - } - ::windows_core::imp::com_interface!( + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub addressSection: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub relativeVirtualAddress: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub virtualAddress: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, + } + windows_core::imp::define_interface!( IDiaSession, IDiaSession_Vtbl, 0x2f609ee1_d1c8_4e24_8288_3326badcd211 ); - ::windows_core::imp::interface_hierarchy!(IDiaSession, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaSession { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaSession, windows_core::IUnknown); impl IDiaSession { - pub unsafe fn loadAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).loadAddress)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn loadAddress(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).loadAddress)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn SetloadAddress(&self, newval: u64) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).SetloadAddress)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn SetloadAddress(&self, newval: u64) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).SetloadAddress)( + windows_core::Interface::as_raw(self), newval, ) .ok() } - pub unsafe fn globalScope(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).globalScope)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn globalScope(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).globalScope)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn getEnumTables(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).getEnumTables)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn getEnumTables(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).getEnumTables)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn getSymbolsByAddr(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).getSymbolsByAddr)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn getSymbolsByAddr(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).getSymbolsByAddr)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findChildren( &self, @@ -3350,21 +3587,21 @@ pub mod Dia { symtag: SymTag, name: P1, compareflags: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, - P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P0: windows_core::Param, + P1: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findChildren)( - ::windows_core::Interface::as_raw(self), - parent.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findChildren)( + windows_core::Interface::as_raw(self), + parent.param().abi(), symtag, - name.into_param().abi(), + name.param().abi(), compareflags, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findChildrenEx( &self, @@ -3372,21 +3609,21 @@ pub mod Dia { symtag: SymTag, name: P1, compareflags: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, - P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P0: windows_core::Param, + P1: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findChildrenEx)( - ::windows_core::Interface::as_raw(self), - parent.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findChildrenEx)( + windows_core::Interface::as_raw(self), + parent.param().abi(), symtag, - name.into_param().abi(), + name.param().abi(), compareflags, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findChildrenExByAddr( &self, @@ -3396,23 +3633,23 @@ pub mod Dia { compareflags: u32, isect: u32, offset: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, - P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P0: windows_core::Param, + P1: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findChildrenExByAddr)( - ::windows_core::Interface::as_raw(self), - parent.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findChildrenExByAddr)( + windows_core::Interface::as_raw(self), + parent.param().abi(), symtag, - name.into_param().abi(), + name.param().abi(), compareflags, isect, offset, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findChildrenExByVA( &self, @@ -3421,22 +3658,22 @@ pub mod Dia { name: P1, compareflags: u32, va: u64, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, - P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P0: windows_core::Param, + P1: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findChildrenExByVA)( - ::windows_core::Interface::as_raw(self), - parent.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findChildrenExByVA)( + windows_core::Interface::as_raw(self), + parent.param().abi(), symtag, - name.into_param().abi(), + name.param().abi(), compareflags, va, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findChildrenExByRVA( &self, @@ -3445,118 +3682,118 @@ pub mod Dia { name: P1, compareflags: u32, rva: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, - P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P0: windows_core::Param, + P1: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findChildrenExByRVA)( - ::windows_core::Interface::as_raw(self), - parent.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findChildrenExByRVA)( + windows_core::Interface::as_raw(self), + parent.param().abi(), symtag, - name.into_param().abi(), + name.param().abi(), compareflags, rva, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findSymbolByAddr( &self, isect: u32, offset: u32, symtag: SymTag, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findSymbolByAddr)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findSymbolByAddr)( + windows_core::Interface::as_raw(self), isect, offset, symtag, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findSymbolByRVA( &self, rva: u32, symtag: SymTag, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findSymbolByRVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findSymbolByRVA)( + windows_core::Interface::as_raw(self), rva, symtag, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findSymbolByVA( &self, va: u64, symtag: SymTag, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findSymbolByVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findSymbolByVA)( + windows_core::Interface::as_raw(self), va, symtag, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findSymbolByToken( &self, token: u32, symtag: SymTag, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findSymbolByToken)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findSymbolByToken)( + windows_core::Interface::as_raw(self), token, symtag, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn symsAreEquiv( &self, symbola: P0, symbolb: P1, - ) -> ::windows_core::Result<()> + ) -> windows_core::Result<()> where - P0: ::windows_core::IntoParam, - P1: ::windows_core::IntoParam, + P0: windows_core::Param, + P1: windows_core::Param, { - (::windows_core::Interface::vtable(self).symsAreEquiv)( - ::windows_core::Interface::as_raw(self), - symbola.into_param().abi(), - symbolb.into_param().abi(), + (windows_core::Interface::vtable(self).symsAreEquiv)( + windows_core::Interface::as_raw(self), + symbola.param().abi(), + symbolb.param().abi(), ) .ok() } - pub unsafe fn symbolById(&self, id: u32) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).symbolById)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn symbolById(&self, id: u32) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).symbolById)( + windows_core::Interface::as_raw(self), id, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findSymbolByRVAEx( &self, rva: u32, symtag: SymTag, - ppsymbol: *mut ::core::option::Option, + ppsymbol: *mut Option, displacement: *mut i32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).findSymbolByRVAEx)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).findSymbolByRVAEx)( + windows_core::Interface::as_raw(self), rva, symtag, - ::core::mem::transmute(ppsymbol), + core::mem::transmute(ppsymbol), displacement, ) .ok() @@ -3565,14 +3802,14 @@ pub mod Dia { &self, va: u64, symtag: SymTag, - ppsymbol: *mut ::core::option::Option, + ppsymbol: *mut Option, displacement: *mut i32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).findSymbolByVAEx)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).findSymbolByVAEx)( + windows_core::Interface::as_raw(self), va, symtag, - ::core::mem::transmute(ppsymbol), + core::mem::transmute(ppsymbol), displacement, ) .ok() @@ -3582,91 +3819,91 @@ pub mod Dia { pcompiland: P0, name: P1, compareflags: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, - P1: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P0: windows_core::Param, + P1: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findFile)( - ::windows_core::Interface::as_raw(self), - pcompiland.into_param().abi(), - name.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findFile)( + windows_core::Interface::as_raw(self), + pcompiland.param().abi(), + name.param().abi(), compareflags, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn findFileById(&self, uniqueid: u32) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findFileById)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn findFileById(&self, uniqueid: u32) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findFileById)( + windows_core::Interface::as_raw(self), uniqueid, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findLines( &self, compiland: P0, file: P1, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, - P1: ::windows_core::IntoParam, + P0: windows_core::Param, + P1: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findLines)( - ::windows_core::Interface::as_raw(self), - compiland.into_param().abi(), - file.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findLines)( + windows_core::Interface::as_raw(self), + compiland.param().abi(), + file.param().abi(), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findLinesByAddr( &self, seg: u32, offset: u32, length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findLinesByAddr)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findLinesByAddr)( + windows_core::Interface::as_raw(self), seg, offset, length, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findLinesByRVA( &self, rva: u32, length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findLinesByRVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findLinesByRVA)( + windows_core::Interface::as_raw(self), rva, length, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findLinesByVA( &self, va: u64, length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findLinesByVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findLinesByVA)( + windows_core::Interface::as_raw(self), va, length, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findLinesByLinenum( &self, @@ -3674,112 +3911,112 @@ pub mod Dia { file: P1, linenum: u32, column: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, - P1: ::windows_core::IntoParam, + P0: windows_core::Param, + P1: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findLinesByLinenum)( - ::windows_core::Interface::as_raw(self), - compiland.into_param().abi(), - file.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findLinesByLinenum)( + windows_core::Interface::as_raw(self), + compiland.param().abi(), + file.param().abi(), linenum, column, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findInjectedSource( &self, srcfile: P0, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInjectedSource)( - ::windows_core::Interface::as_raw(self), - srcfile.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInjectedSource)( + windows_core::Interface::as_raw(self), + srcfile.param().abi(), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn getEnumDebugStreams(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).getEnumDebugStreams)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn getEnumDebugStreams(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).getEnumDebugStreams)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findInlineFramesByAddr( &self, parent: P0, isect: u32, offset: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInlineFramesByAddr)( - ::windows_core::Interface::as_raw(self), - parent.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInlineFramesByAddr)( + windows_core::Interface::as_raw(self), + parent.param().abi(), isect, offset, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findInlineFramesByRVA( &self, parent: P0, rva: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInlineFramesByRVA)( - ::windows_core::Interface::as_raw(self), - parent.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInlineFramesByRVA)( + windows_core::Interface::as_raw(self), + parent.param().abi(), rva, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findInlineFramesByVA( &self, parent: P0, va: u64, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInlineFramesByVA)( - ::windows_core::Interface::as_raw(self), - parent.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInlineFramesByVA)( + windows_core::Interface::as_raw(self), + parent.param().abi(), va, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findInlineeLines( &self, parent: P0, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInlineeLines)( - ::windows_core::Interface::as_raw(self), - parent.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInlineeLines)( + windows_core::Interface::as_raw(self), + parent.param().abi(), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findInlineeLinesByAddr( &self, @@ -3787,58 +4024,58 @@ pub mod Dia { isect: u32, offset: u32, length: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInlineeLinesByAddr)( - ::windows_core::Interface::as_raw(self), - parent.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInlineeLinesByAddr)( + windows_core::Interface::as_raw(self), + parent.param().abi(), isect, offset, length, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findInlineeLinesByRVA( &self, parent: P0, rva: u32, length: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInlineeLinesByRVA)( - ::windows_core::Interface::as_raw(self), - parent.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInlineeLinesByRVA)( + windows_core::Interface::as_raw(self), + parent.param().abi(), rva, length, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findInlineeLinesByVA( &self, parent: P0, va: u64, length: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInlineeLinesByVA)( - ::windows_core::Interface::as_raw(self), - parent.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInlineeLinesByVA)( + windows_core::Interface::as_raw(self), + parent.param().abi(), va, length, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findInlineeLinesByLinenum( &self, @@ -3846,38 +4083,38 @@ pub mod Dia { file: P1, linenum: u32, column: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, - P1: ::windows_core::IntoParam, + P0: windows_core::Param, + P1: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInlineeLinesByLinenum)( - ::windows_core::Interface::as_raw(self), - compiland.into_param().abi(), - file.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInlineeLinesByLinenum)( + windows_core::Interface::as_raw(self), + compiland.param().abi(), + file.param().abi(), linenum, column, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findInlineesByName( &self, name: P0, option: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInlineesByName)( - ::windows_core::Interface::as_raw(self), - name.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInlineesByName)( + windows_core::Interface::as_raw(self), + name.param().abi(), option, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findAcceleratorInlineeLinesByLinenum( &self, @@ -3885,83 +4122,83 @@ pub mod Dia { file: P1, linenum: u32, column: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, - P1: ::windows_core::IntoParam, + P0: windows_core::Param, + P1: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findAcceleratorInlineeLinesByLinenum)( - ::windows_core::Interface::as_raw(self), - parent.into_param().abi(), - file.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findAcceleratorInlineeLinesByLinenum)( + windows_core::Interface::as_raw(self), + parent.param().abi(), + file.param().abi(), linenum, column, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findSymbolsForAcceleratorPointerTag( &self, parent: P0, tagvalue: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findSymbolsForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - parent.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findSymbolsForAcceleratorPointerTag)( + windows_core::Interface::as_raw(self), + parent.param().abi(), tagvalue, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findSymbolsByRVAForAcceleratorPointerTag( &self, parent: P0, tagvalue: u32, rva: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findSymbolsByRVAForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - parent.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findSymbolsByRVAForAcceleratorPointerTag)( + windows_core::Interface::as_raw(self), + parent.param().abi(), tagvalue, rva, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findAcceleratorInlineesByName( &self, name: P0, option: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findAcceleratorInlineesByName)( - ::windows_core::Interface::as_raw(self), - name.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findAcceleratorInlineesByName)( + windows_core::Interface::as_raw(self), + name.param().abi(), option, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn addressForVA( &self, va: u64, pisect: *mut u32, poffset: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).addressForVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).addressForVA)( + windows_core::Interface::as_raw(self), va, pisect, poffset, @@ -3973,9 +4210,9 @@ pub mod Dia { rva: u32, pisect: *mut u32, poffset: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).addressForRVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).addressForRVA)( + windows_core::Interface::as_raw(self), rva, pisect, poffset, @@ -3987,83 +4224,83 @@ pub mod Dia { isect: u32, offset: u32, length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findILOffsetsByAddr)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findILOffsetsByAddr)( + windows_core::Interface::as_raw(self), isect, offset, length, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findILOffsetsByRVA( &self, rva: u32, length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findILOffsetsByRVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findILOffsetsByRVA)( + windows_core::Interface::as_raw(self), rva, length, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findILOffsetsByVA( &self, va: u64, length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findILOffsetsByVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findILOffsetsByVA)( + windows_core::Interface::as_raw(self), va, length, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findInputAssemblyFiles( &self, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInputAssemblyFiles)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInputAssemblyFiles)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findInputAssembly( &self, index: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInputAssembly)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInputAssembly)( + windows_core::Interface::as_raw(self), index, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findInputAssemblyById( &self, uniqueid: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInputAssemblyById)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInputAssemblyById)( + windows_core::Interface::as_raw(self), uniqueid, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn getFuncMDTokenMapSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).getFuncMDTokenMapSize)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn getFuncMDTokenMapSize(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).getFuncMDTokenMapSize)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) @@ -4072,19 +4309,19 @@ pub mod Dia { &self, pcb: *mut u32, pb: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).getFuncMDTokenMap)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).getFuncMDTokenMap)( + windows_core::Interface::as_raw(self), pb.len().try_into().unwrap(), pcb, - ::core::mem::transmute(pb.as_ptr()), + core::mem::transmute(pb.as_ptr()), ) .ok() } - pub unsafe fn getTypeMDTokenMapSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).getTypeMDTokenMapSize)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn getTypeMDTokenMapSize(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).getTypeMDTokenMapSize)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) @@ -4093,12 +4330,12 @@ pub mod Dia { &self, pcb: *mut u32, pb: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).getTypeMDTokenMap)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).getTypeMDTokenMap)( + windows_core::Interface::as_raw(self), pb.len().try_into().unwrap(), pcb, - ::core::mem::transmute(pb.as_ptr()), + core::mem::transmute(pb.as_ptr()), ) .ok() } @@ -4106,10 +4343,10 @@ pub mod Dia { &self, vafunc: u64, cbfunc: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).getNumberOfFunctionFragments_VA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).getNumberOfFunctionFragments_VA)( + windows_core::Interface::as_raw(self), vafunc, cbfunc, &mut result__, @@ -4120,10 +4357,10 @@ pub mod Dia { &self, rvafunc: u32, cbfunc: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).getNumberOfFunctionFragments_RVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).getNumberOfFunctionFragments_RVA)( + windows_core::Interface::as_raw(self), rvafunc, cbfunc, &mut result__, @@ -4137,9 +4374,9 @@ pub mod Dia { cfragments: u32, pvafragment: *mut u64, plenfragment: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).getFunctionFragments_VA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).getFunctionFragments_VA)( + windows_core::Interface::as_raw(self), vafunc, cbfunc, cfragments, @@ -4155,9 +4392,9 @@ pub mod Dia { cfragments: u32, prvafragment: *mut u32, plenfragment: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).getFunctionFragments_RVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).getFunctionFragments_RVA)( + windows_core::Interface::as_raw(self), rvafunc, cbfunc, cfragments, @@ -4166,461 +4403,526 @@ pub mod Dia { ) .ok() } - pub unsafe fn getExports(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).getExports)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn getExports(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).getExports)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn getHeapAllocationSites(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).getHeapAllocationSites)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn getHeapAllocationSites(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).getHeapAllocationSites)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findInputAssemblyFile( &self, psymbol: P0, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInputAssemblyFile)( - ::windows_core::Interface::as_raw(self), - psymbol.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInputAssemblyFile)( + windows_core::Interface::as_raw(self), + psymbol.param().abi(), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDiaSession_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, - pub loadAddress: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u64, - ) -> ::windows_core::HRESULT, + pub base__: windows_core::IUnknown_Vtbl, + pub loadAddress: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub SetloadAddress: - unsafe extern "system" fn(*mut ::core::ffi::c_void, u64) -> ::windows_core::HRESULT, + unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, pub globalScope: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub getEnumTables: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub getSymbolsByAddr: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findChildren: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, SymTag, - ::windows_core::PCWSTR, + windows_core::PCWSTR, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findChildrenEx: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, SymTag, - ::windows_core::PCWSTR, + windows_core::PCWSTR, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findChildrenExByAddr: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, SymTag, - ::windows_core::PCWSTR, + windows_core::PCWSTR, u32, u32, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findChildrenExByVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, SymTag, - ::windows_core::PCWSTR, + windows_core::PCWSTR, u32, u64, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findChildrenExByRVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, SymTag, - ::windows_core::PCWSTR, + windows_core::PCWSTR, u32, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findSymbolByAddr: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, SymTag, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findSymbolByRVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, SymTag, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findSymbolByVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u64, SymTag, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findSymbolByToken: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, SymTag, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub symsAreEquiv: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub symbolById: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findSymbolByRVAEx: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, SymTag, - *mut *mut ::core::ffi::c_void, + *mut *mut core::ffi::c_void, *mut i32, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub findSymbolByVAEx: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u64, SymTag, - *mut *mut ::core::ffi::c_void, + *mut *mut core::ffi::c_void, *mut i32, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub findFile: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, - ::windows_core::PCWSTR, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + windows_core::PCWSTR, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findFileById: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findLines: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findLinesByAddr: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findLinesByRVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findLinesByVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u64, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findLinesByLinenum: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findInjectedSource: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - ::windows_core::PCWSTR, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + windows_core::PCWSTR, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub getEnumDebugStreams: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findInlineFramesByAddr: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findInlineFramesByRVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findInlineFramesByVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, u64, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findInlineeLines: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findInlineeLinesByAddr: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findInlineeLinesByRVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findInlineeLinesByVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, u64, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findInlineeLinesByLinenum: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, - *mut *mut ::core::ffi::c_void, - ) - -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findInlineesByName: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - ::windows_core::PCWSTR, + *mut core::ffi::c_void, + windows_core::PCWSTR, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findAcceleratorInlineeLinesByLinenum: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub findSymbolsForAcceleratorPointerTag: - unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, - u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub findSymbolsForAcceleratorPointerTag: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + u32, + *mut *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, pub findSymbolsByRVAForAcceleratorPointerTag: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findAcceleratorInlineesByName: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - ::windows_core::PCWSTR, + *mut core::ffi::c_void, + windows_core::PCWSTR, u32, - *mut *mut ::core::ffi::c_void, + *mut *mut core::ffi::c_void, ) - -> ::windows_core::HRESULT, + -> windows_core::HRESULT, pub addressForVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u64, *mut u32, *mut u32, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub addressForRVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *mut u32, *mut u32, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub findILOffsetsByAddr: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findILOffsetsByRVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findILOffsetsByVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u64, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findInputAssemblyFiles: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findInputAssembly: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findInputAssemblyById: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub getFuncMDTokenMapSize: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub getFuncMDTokenMapSize: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub getFuncMDTokenMap: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *mut u32, *mut u8, - ) -> ::windows_core::HRESULT, - pub getTypeMDTokenMapSize: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, + pub getTypeMDTokenMapSize: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub getTypeMDTokenMap: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *mut u32, *mut u8, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub getNumberOfFunctionFragments_VA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u64, u32, *mut u32, ) - -> ::windows_core::HRESULT, + -> windows_core::HRESULT, pub getNumberOfFunctionFragments_RVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, *mut u32, ) - -> ::windows_core::HRESULT, + -> windows_core::HRESULT, pub getFunctionFragments_VA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u64, u32, u32, *mut u64, *mut u32, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub getFunctionFragments_RVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, u32, *mut u32, *mut u32, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub getExports: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub getHeapAllocationSites: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findInputAssemblyFile: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + } + windows_core::imp::define_interface!( + IDiaSessionEx, + IDiaSessionEx_Vtbl, + 0xcd24eed5_5fea_4742_a320_6254c920e78b + ); + impl core::ops::Deref for IDiaSessionEx { + type Target = IDiaSession; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaSessionEx, windows_core::IUnknown, IDiaSession); + impl IDiaSessionEx { + pub unsafe fn isFastLinkPDB( + &self, + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isFastLinkPDB)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn isPortablePDB( + &self, + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isPortablePDB)( + windows_core::Interface::as_raw(self), + &mut result__, + ) + .map(|| result__) + } + pub unsafe fn getSourceLinkInfo( + &self, + parent: P0, + ) -> windows_core::Result + where + P0: windows_core::Param, + { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).getSourceLinkInfo)( + windows_core::Interface::as_raw(self), + parent.param().abi(), + &mut result__, + ) + .and_then(|| windows_core::Type::from_abi(result__)) + } } - ::windows_core::imp::com_interface!( + #[repr(C)] + pub struct IDiaSessionEx_Vtbl { + pub base__: IDiaSession_Vtbl, + pub isFastLinkPDB: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub isPortablePDB: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub getSourceLinkInfo: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + } + windows_core::imp::define_interface!( IDiaSourceFile, IDiaSourceFile_Vtbl, 0xa2ef5353_f5a8_4eb3_90d2_cb526acb3cdd ); - ::windows_core::imp::interface_hierarchy!(IDiaSourceFile, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaSourceFile { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaSourceFile, windows_core::IUnknown); impl IDiaSourceFile { - pub unsafe fn uniqueId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).uniqueId)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn uniqueId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).uniqueId)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn fileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).fileName)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn fileName(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).fileName)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn checksumType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).checksumType)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn checksumType(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).checksumType)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn compilands(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).compilands)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn compilands(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).compilands)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_checksum( &self, pcbdata: *mut u32, - pbdata: ::core::option::Option<&mut [u8]>, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).get_checksum)( - ::windows_core::Interface::as_raw(self), + pbdata: Option<&mut [u8]>, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).get_checksum)( + windows_core::Interface::as_raw(self), pbdata .as_deref() .map_or(0, |slice| slice.len().try_into().unwrap()), pcbdata, - ::core::mem::transmute( + core::mem::transmute( pbdata .as_deref() - .map_or(::core::ptr::null(), |slice| slice.as_ptr()), + .map_or(core::ptr::null(), |slice| slice.as_ptr()), ), ) .ok() @@ -4628,161 +4930,163 @@ pub mod Dia { } #[repr(C)] pub struct IDiaSourceFile_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, - pub uniqueId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + pub base__: windows_core::IUnknown_Vtbl, + pub uniqueId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub fileName: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, - pub checksumType: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, + pub checksumType: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub compilands: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub get_checksum: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *mut u32, *mut u8, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaStackFrame, IDiaStackFrame_Vtbl, 0x5edbc96d_cdd6_4792_afbe_cc89007d9610 ); - ::windows_core::imp::interface_hierarchy!(IDiaStackFrame, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaStackFrame { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaStackFrame, windows_core::IUnknown); impl IDiaStackFrame { - pub unsafe fn r#type(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).r#type)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn r#type(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).r#type)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn base(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn base(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).base)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn size(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).size)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn size(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).size)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn returnAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).returnAddress)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn returnAddress(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).returnAddress)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn localsBase(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).localsBase)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn localsBase(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).localsBase)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn lengthLocals(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).lengthLocals)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn lengthLocals(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).lengthLocals)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn lengthParams(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).lengthParams)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn lengthParams(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).lengthParams)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn lengthProlog(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).lengthProlog)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn lengthProlog(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).lengthProlog)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn lengthSavedRegisters(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).lengthSavedRegisters)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn lengthSavedRegisters(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).lengthSavedRegisters)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn systemExceptionHandling( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).systemExceptionHandling)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).systemExceptionHandling)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn cplusplusExceptionHandling( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).cplusplusExceptionHandling)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).cplusplusExceptionHandling)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn functionStart( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).functionStart)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).functionStart)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn allocatesBasePointer( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).allocatesBasePointer)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).allocatesBasePointer)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn maxStack(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).maxStack)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn maxStack(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).maxStack)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn get_registerValue(&self, index: u32) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).get_registerValue)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn get_registerValue(&self, index: u32) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).get_registerValue)( + windows_core::Interface::as_raw(self), index, &mut result__, ) @@ -4791,81 +5095,66 @@ pub mod Dia { } #[repr(C)] pub struct IDiaStackFrame_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, - pub r#type: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub base: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u64, - ) -> ::windows_core::HRESULT, - pub size: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub returnAddress: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u64, - ) -> ::windows_core::HRESULT, - pub localsBase: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u64, - ) -> ::windows_core::HRESULT, - pub lengthLocals: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub lengthParams: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub lengthProlog: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub lengthSavedRegisters: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + pub base__: windows_core::IUnknown_Vtbl, + pub r#type: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub base: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, + pub size: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub returnAddress: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, + pub localsBase: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, + pub lengthLocals: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub lengthParams: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub lengthProlog: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub lengthSavedRegisters: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub systemExceptionHandling: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub cplusplusExceptionHandling: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) - -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub functionStart: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub allocatesBasePointer: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub maxStack: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub maxStack: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub get_registerValue: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *mut u64, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaStackWalkFrame, IDiaStackWalkFrame_Vtbl, 0x07c590c1_438d_4f47_bdcd_4397bc81ad75 ); - ::windows_core::imp::interface_hierarchy!(IDiaStackWalkFrame, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaStackWalkFrame { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaStackWalkFrame, windows_core::IUnknown); impl IDiaStackWalkFrame { - pub unsafe fn get_registerValue(&self, index: u32) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).get_registerValue)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn get_registerValue(&self, index: u32) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).get_registerValue)( + windows_core::Interface::as_raw(self), index, &mut result__, ) @@ -4875,9 +5164,9 @@ pub mod Dia { &self, index: u32, newval: u64, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).put_registerValue)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).put_registerValue)( + windows_core::Interface::as_raw(self), index, newval, ) @@ -4889,25 +5178,25 @@ pub mod Dia { va: u64, pcbdata: *mut u32, pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).readMemory)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).readMemory)( + windows_core::Interface::as_raw(self), r#type, va, pbdata.len().try_into().unwrap(), pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), + core::mem::transmute(pbdata.as_ptr()), ) .ok() } - pub unsafe fn searchForReturnAddress(&self, frame: P0) -> ::windows_core::Result + pub unsafe fn searchForReturnAddress(&self, frame: P0) -> windows_core::Result where - P0: ::windows_core::IntoParam, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).searchForReturnAddress)( - ::windows_core::Interface::as_raw(self), - frame.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).searchForReturnAddress)( + windows_core::Interface::as_raw(self), + frame.param().abi(), &mut result__, ) .map(|| result__) @@ -4916,14 +5205,14 @@ pub mod Dia { &self, frame: P0, startaddress: u64, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).searchForReturnAddressStart)( - ::windows_core::Interface::as_raw(self), - frame.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).searchForReturnAddressStart)( + windows_core::Interface::as_raw(self), + frame.param().abi(), startaddress, &mut result__, ) @@ -4932,49 +5221,52 @@ pub mod Dia { } #[repr(C)] pub struct IDiaStackWalkFrame_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub get_registerValue: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *mut u64, - ) -> ::windows_core::HRESULT, - pub put_registerValue: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - u32, - u64, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, + pub put_registerValue: + unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64) -> windows_core::HRESULT, pub readMemory: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, MemoryTypeEnum, u64, u32, *mut u32, *mut u8, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub searchForReturnAddress: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, *mut u64, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub searchForReturnAddressStart: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, u64, *mut u64, ) - -> ::windows_core::HRESULT, + -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaStackWalkHelper, IDiaStackWalkHelper_Vtbl, 0x21f81b1b_c5bb_42a3_bc4f_ccbaa75b9f19 ); - ::windows_core::imp::interface_hierarchy!(IDiaStackWalkHelper, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaStackWalkHelper { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaStackWalkHelper, windows_core::IUnknown); impl IDiaStackWalkHelper { - pub unsafe fn get_registerValue(&self, index: u32) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).get_registerValue)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn get_registerValue(&self, index: u32) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).get_registerValue)( + windows_core::Interface::as_raw(self), index, &mut result__, ) @@ -4984,9 +5276,9 @@ pub mod Dia { &self, index: u32, newval: u64, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).put_registerValue)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).put_registerValue)( + windows_core::Interface::as_raw(self), index, newval, ) @@ -4998,25 +5290,25 @@ pub mod Dia { va: u64, pcbdata: *mut u32, pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).readMemory)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).readMemory)( + windows_core::Interface::as_raw(self), r#type, va, pbdata.len().try_into().unwrap(), pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), + core::mem::transmute(pbdata.as_ptr()), ) .ok() } - pub unsafe fn searchForReturnAddress(&self, frame: P0) -> ::windows_core::Result + pub unsafe fn searchForReturnAddress(&self, frame: P0) -> windows_core::Result where - P0: ::windows_core::IntoParam, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).searchForReturnAddress)( - ::windows_core::Interface::as_raw(self), - frame.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).searchForReturnAddress)( + windows_core::Interface::as_raw(self), + frame.param().abi(), &mut result__, ) .map(|| result__) @@ -5025,56 +5317,56 @@ pub mod Dia { &self, frame: P0, startaddress: u64, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).searchForReturnAddressStart)( - ::windows_core::Interface::as_raw(self), - frame.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).searchForReturnAddressStart)( + windows_core::Interface::as_raw(self), + frame.param().abi(), startaddress, &mut result__, ) .map(|| result__) } - pub unsafe fn frameForVA(&self, va: u64) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).frameForVA)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn frameForVA(&self, va: u64) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).frameForVA)( + windows_core::Interface::as_raw(self), va, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn symbolForVA(&self, va: u64) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).symbolForVA)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn symbolForVA(&self, va: u64) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).symbolForVA)( + windows_core::Interface::as_raw(self), va, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn pdataForVA( &self, va: u64, pcbdata: *mut u32, pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).pdataForVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).pdataForVA)( + windows_core::Interface::as_raw(self), va, pbdata.len().try_into().unwrap(), pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), + core::mem::transmute(pbdata.as_ptr()), ) .ok() } - pub unsafe fn imageForVA(&self, vacontext: u64) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).imageForVA)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn imageForVA(&self, vacontext: u64) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).imageForVA)( + windows_core::Interface::as_raw(self), vacontext, &mut result__, ) @@ -5085,9 +5377,9 @@ pub mod Dia { va: u64, pisect: *mut u32, poffset: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).addressForVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).addressForVA)( + windows_core::Interface::as_raw(self), va, pisect, poffset, @@ -5098,10 +5390,10 @@ pub mod Dia { &self, vafunc: u64, cbfunc: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).numberOfFunctionFragmentsForVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).numberOfFunctionFragmentsForVA)( + windows_core::Interface::as_raw(self), vafunc, cbfunc, &mut result__, @@ -5115,9 +5407,9 @@ pub mod Dia { cfragments: u32, pvafragment: *mut u64, plenfragment: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).functionFragmentsForVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).functionFragmentsForVA)( + windows_core::Interface::as_raw(self), vafunc, cbfunc, cfragments, @@ -5129,264 +5421,102 @@ pub mod Dia { } #[repr(C)] pub struct IDiaStackWalkHelper_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub get_registerValue: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *mut u64, - ) -> ::windows_core::HRESULT, - pub put_registerValue: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - u32, - u64, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, + pub put_registerValue: + unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64) -> windows_core::HRESULT, pub readMemory: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, MemoryTypeEnum, u64, u32, *mut u32, *mut u8, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub searchForReturnAddress: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, *mut u64, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub searchForReturnAddressStart: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, + *mut core::ffi::c_void, u64, *mut u64, ) - -> ::windows_core::HRESULT, + -> windows_core::HRESULT, pub frameForVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u64, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub symbolForVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u64, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub pdataForVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u64, u32, *mut u32, *mut u8, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub imageForVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u64, *mut u64, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub addressForVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u64, *mut u32, *mut u32, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub numberOfFunctionFragmentsForVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u64, u32, *mut u32, ) - -> ::windows_core::HRESULT, + -> windows_core::HRESULT, pub functionFragmentsForVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u64, u32, u32, *mut u64, *mut u32, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaStackWalkHelper2, IDiaStackWalkHelper2_Vtbl, 0x8222c490_507b_4bef_b3bd_41dca7b5934c ); - ::windows_core::imp::interface_hierarchy!( + impl core::ops::Deref for IDiaStackWalkHelper2 { + type Target = IDiaStackWalkHelper; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!( IDiaStackWalkHelper2, - ::windows_core::IUnknown, + windows_core::IUnknown, IDiaStackWalkHelper ); impl IDiaStackWalkHelper2 { - pub unsafe fn get_registerValue(&self, index: u32) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .get_registerValue)( - ::windows_core::Interface::as_raw(self), - index, - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn put_registerValue( - &self, - index: u32, - newval: u64, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .put_registerValue)( - ::windows_core::Interface::as_raw(self), index, newval - ) - .ok() - } - pub unsafe fn readMemory( - &self, - r#type: MemoryTypeEnum, - va: u64, - pcbdata: *mut u32, - pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.readMemory)( - ::windows_core::Interface::as_raw(self), - r#type, - va, - pbdata.len().try_into().unwrap(), - pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), - ) - .ok() - } - pub unsafe fn searchForReturnAddress(&self, frame: P0) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .searchForReturnAddress)( - ::windows_core::Interface::as_raw(self), - frame.into_param().abi(), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn searchForReturnAddressStart( - &self, - frame: P0, - startaddress: u64, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .searchForReturnAddressStart)( - ::windows_core::Interface::as_raw(self), - frame.into_param().abi(), - startaddress, - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn frameForVA(&self, va: u64) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.frameForVA)( - ::windows_core::Interface::as_raw(self), - va, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn symbolForVA(&self, va: u64) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.symbolForVA)( - ::windows_core::Interface::as_raw(self), - va, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn pdataForVA( - &self, - va: u64, - pcbdata: *mut u32, - pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.pdataForVA)( - ::windows_core::Interface::as_raw(self), - va, - pbdata.len().try_into().unwrap(), - pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), - ) - .ok() - } - pub unsafe fn imageForVA(&self, vacontext: u64) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.imageForVA)( - ::windows_core::Interface::as_raw(self), - vacontext, - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn addressForVA( - &self, - va: u64, - pisect: *mut u32, - poffset: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.addressForVA)( - ::windows_core::Interface::as_raw(self), - va, - pisect, - poffset, - ) - .ok() - } - pub unsafe fn numberOfFunctionFragmentsForVA( - &self, - vafunc: u64, - cbfunc: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .numberOfFunctionFragmentsForVA)( - ::windows_core::Interface::as_raw(self), - vafunc, - cbfunc, - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn functionFragmentsForVA( - &self, - vafunc: u64, - cbfunc: u32, - cfragments: u32, - pvafragment: *mut u64, - plenfragment: *mut u32, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .functionFragmentsForVA)( - ::windows_core::Interface::as_raw(self), - vafunc, - cbfunc, - cfragments, - pvafragment, - plenfragment, - ) - .ok() - } pub unsafe fn GetPointerAuthenticationMask( &self, ptrval: u64, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).GetPointerAuthenticationMask)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).GetPointerAuthenticationMask)( + windows_core::Interface::as_raw(self), ptrval, &mut result__, ) @@ -5397,800 +5527,773 @@ pub mod Dia { pub struct IDiaStackWalkHelper2_Vtbl { pub base__: IDiaStackWalkHelper_Vtbl, pub GetPointerAuthenticationMask: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u64, *mut u64, ) - -> ::windows_core::HRESULT, + -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaStackWalker, IDiaStackWalker_Vtbl, 0x5485216b_a54c_469f_9670_52b24d5229bb ); - ::windows_core::imp::interface_hierarchy!(IDiaStackWalker, ::windows_core::IUnknown); + impl core::ops::Deref for IDiaStackWalker { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaStackWalker, windows_core::IUnknown); impl IDiaStackWalker { pub unsafe fn getEnumFrames( &self, phelper: P0, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).getEnumFrames)( - ::windows_core::Interface::as_raw(self), - phelper.into_param().abi(), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).getEnumFrames)( + windows_core::Interface::as_raw(self), + phelper.param().abi(), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn getEnumFrames2( &self, cpuid: CV_CPU_TYPE_e, phelper: P0, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).getEnumFrames2)( - ::windows_core::Interface::as_raw(self), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).getEnumFrames2)( + windows_core::Interface::as_raw(self), cpuid, - phelper.into_param().abi(), + phelper.param().abi(), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDiaStackWalker_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, + pub base__: windows_core::IUnknown_Vtbl, pub getEnumFrames: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub getEnumFrames2: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, CV_CPU_TYPE_e, - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaStackWalker2, IDiaStackWalker2_Vtbl, 0x7c185885_a015_4cac_9411_0f4fb39b1f3a ); - ::windows_core::imp::interface_hierarchy!( + impl core::ops::Deref for IDiaStackWalker2 { + type Target = IDiaStackWalker; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!( IDiaStackWalker2, - ::windows_core::IUnknown, + windows_core::IUnknown, IDiaStackWalker ); - impl IDiaStackWalker2 { - pub unsafe fn getEnumFrames( - &self, - phelper: P0, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.getEnumFrames)( - ::windows_core::Interface::as_raw(self), - phelper.into_param().abi(), + impl IDiaStackWalker2 {} + #[repr(C)] + pub struct IDiaStackWalker2_Vtbl { + pub base__: IDiaStackWalker_Vtbl, + } + windows_core::imp::define_interface!( + IDiaSymbol, + IDiaSymbol_Vtbl, + 0xcb787b2f_bd6c_4635_ba52_933126bd2dcd + ); + impl core::ops::Deref for IDiaSymbol { + type Target = windows_core::IUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!(IDiaSymbol, windows_core::IUnknown); + impl IDiaSymbol { + pub unsafe fn symIndexId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).symIndexId)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .map(|| result__) } - pub unsafe fn getEnumFrames2( - &self, - cpuid: CV_CPU_TYPE_e, - phelper: P0, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .getEnumFrames2)( - ::windows_core::Interface::as_raw(self), - cpuid, - phelper.into_param().abi(), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - } - #[repr(C)] - pub struct IDiaStackWalker2_Vtbl { - pub base__: IDiaStackWalker_Vtbl, - } - ::windows_core::imp::com_interface!( - IDiaSymbol, - IDiaSymbol_Vtbl, - 0xcb787b2f_bd6c_4635_ba52_933126bd2dcd - ); - ::windows_core::imp::interface_hierarchy!(IDiaSymbol, ::windows_core::IUnknown); - impl IDiaSymbol { - pub unsafe fn symIndexId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).symIndexId)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn symTag(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).symTag)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn symTag(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).symTag)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn name(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).name)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn name(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).name)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn lexicalParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).lexicalParent)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn lexicalParent(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).lexicalParent)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn classParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).classParent)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn classParent(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).classParent)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn r#type(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).r#type)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn r#type(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).r#type)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn dataKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).dataKind)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn dataKind(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).dataKind)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn locationType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).locationType)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn locationType(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).locationType)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn addressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).addressSection)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn addressSection(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).addressSection)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn addressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).addressOffset)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn addressOffset(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).addressOffset)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn relativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).relativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn relativeVirtualAddress(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).relativeVirtualAddress)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn virtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).virtualAddress)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn virtualAddress(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).virtualAddress)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn registerId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).registerId)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn registerId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).registerId)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn offset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).offset)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn offset(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).offset)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn length(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).length)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn length(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).length)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn slot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).slot)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn slot(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).slot)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn volatileType( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).volatileType)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).volatileType)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn constType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).constType)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn constType(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).constType)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn unalignedType( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).unalignedType)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).unalignedType)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn access(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).access)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn access(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).access)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn libraryName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).libraryName)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn libraryName(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).libraryName)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn platform(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).platform)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn platform(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).platform)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn language(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).language)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn language(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).language)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn editAndContinueEnabled( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).editAndContinueEnabled)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).editAndContinueEnabled)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn frontEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).frontEndMajor)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn frontEndMajor(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).frontEndMajor)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn frontEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).frontEndMinor)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn frontEndMinor(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).frontEndMinor)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn frontEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).frontEndBuild)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn frontEndBuild(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).frontEndBuild)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn backEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).backEndMajor)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn backEndMajor(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).backEndMajor)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn backEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).backEndMinor)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn backEndMinor(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).backEndMinor)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn backEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).backEndBuild)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn backEndBuild(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).backEndBuild)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn sourceFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).sourceFileName)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn sourceFileName(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).sourceFileName)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn unused(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).unused)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn unused(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).unused)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn thunkOrdinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).thunkOrdinal)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn thunkOrdinal(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).thunkOrdinal)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn thisAdjust(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).thisAdjust)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn thisAdjust(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).thisAdjust)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn virtualBaseOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).virtualBaseOffset)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn virtualBaseOffset(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).virtualBaseOffset)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn r#virtual( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).r#virtual)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn r#virtual(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).r#virtual)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn intro(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).intro)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn intro(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).intro)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn pure(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).pure)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn pure(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).pure)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn callingConvention(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).callingConvention)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn callingConvention(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).callingConvention)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn value(&self) -> ::windows_core::Result<::windows_core::VARIANT> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).value)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn value(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).value)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn baseType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).baseType)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn baseType(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).baseType)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn token(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).token)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn token(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).token)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn timeStamp(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).timeStamp)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn timeStamp(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).timeStamp)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn guid(&self) -> ::windows_core::Result<::windows_core::GUID> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).guid)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn guid(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).guid)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn symbolsFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).symbolsFileName)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn symbolsFileName(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).symbolsFileName)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn reference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).reference)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn reference(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).reference)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).count)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn count(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).count)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn bitPosition(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).bitPosition)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn bitPosition(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).bitPosition)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn arrayIndexType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).arrayIndexType)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn arrayIndexType(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).arrayIndexType)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn packed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).packed)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn packed(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).packed)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn constructor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).constructor)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn constructor(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).constructor)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn overloadedOperator( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).overloadedOperator)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).overloadedOperator)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn nested(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).nested)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn nested(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).nested)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn hasNestedTypes( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).hasNestedTypes)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).hasNestedTypes)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn hasAssignmentOperator( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).hasAssignmentOperator)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).hasAssignmentOperator)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn hasCastOperator( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).hasCastOperator)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).hasCastOperator)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn scoped(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).scoped)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn scoped(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).scoped)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn virtualBaseClass( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).virtualBaseClass)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).virtualBaseClass)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn indirectVirtualBaseClass( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).indirectVirtualBaseClass)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).indirectVirtualBaseClass)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn virtualBasePointerOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).virtualBasePointerOffset)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn virtualBasePointerOffset(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).virtualBasePointerOffset)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn virtualTableShape(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).virtualTableShape)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn virtualTableShape(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).virtualTableShape)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn lexicalParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).lexicalParentId)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn lexicalParentId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).lexicalParentId)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn classParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).classParentId)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn classParentId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).classParentId)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn typeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).typeId)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn typeId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).typeId)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn arrayIndexTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).arrayIndexTypeId)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn arrayIndexTypeId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).arrayIndexTypeId)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn virtualTableShapeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).virtualTableShapeId)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn virtualTableShapeId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).virtualTableShapeId)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn code(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).code)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn code(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).code)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn function( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).function)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn function(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).function)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn managed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).managed)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn managed(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).managed)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn msil(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).msil)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn msil(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).msil)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn virtualBaseDispIndex(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).virtualBaseDispIndex)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn virtualBaseDispIndex(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).virtualBaseDispIndex)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn undecoratedName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).undecoratedName)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn undecoratedName(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).undecoratedName)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn age(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).age)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn age(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).age)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn signature(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).signature)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn signature(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).signature)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn compilerGenerated( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).compilerGenerated)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).compilerGenerated)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn addressTaken( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).addressTaken)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).addressTaken)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn rank(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).rank)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn rank(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).rank)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn lowerBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).lowerBound)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn lowerBound(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).lowerBound)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn upperBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).upperBound)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn upperBound(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).upperBound)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn lowerBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).lowerBoundId)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn lowerBoundId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).lowerBoundId)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn upperBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).upperBoundId)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn upperBoundId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).upperBoundId)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) @@ -6199,12 +6302,12 @@ pub mod Dia { &self, pcbdata: *mut u32, pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).get_dataBytes)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).get_dataBytes)( + windows_core::Interface::as_raw(self), pbdata.len().try_into().unwrap(), pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), + core::mem::transmute(pbdata.as_ptr()), ) .ok() } @@ -6213,38 +6316,38 @@ pub mod Dia { symtag: SymTag, name: P0, compareflags: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findChildren)( - ::windows_core::Interface::as_raw(self), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findChildren)( + windows_core::Interface::as_raw(self), symtag, - name.into_param().abi(), + name.param().abi(), compareflags, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findChildrenEx( &self, symtag: SymTag, name: P0, compareflags: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findChildrenEx)( - ::windows_core::Interface::as_raw(self), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findChildrenEx)( + windows_core::Interface::as_raw(self), symtag, - name.into_param().abi(), + name.param().abi(), compareflags, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findChildrenExByAddr( &self, @@ -6253,21 +6356,21 @@ pub mod Dia { compareflags: u32, isect: u32, offset: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findChildrenExByAddr)( - ::windows_core::Interface::as_raw(self), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findChildrenExByAddr)( + windows_core::Interface::as_raw(self), symtag, - name.into_param().abi(), + name.param().abi(), compareflags, isect, offset, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findChildrenExByVA( &self, @@ -6275,20 +6378,20 @@ pub mod Dia { name: P0, compareflags: u32, va: u64, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findChildrenExByVA)( - ::windows_core::Interface::as_raw(self), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findChildrenExByVA)( + windows_core::Interface::as_raw(self), symtag, - name.into_param().abi(), + name.param().abi(), compareflags, va, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findChildrenExByRVA( &self, @@ -6296,73 +6399,73 @@ pub mod Dia { name: P0, compareflags: u32, rva: u32, - ) -> ::windows_core::Result + ) -> windows_core::Result where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, + P0: windows_core::Param, { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findChildrenExByRVA)( - ::windows_core::Interface::as_raw(self), + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findChildrenExByRVA)( + windows_core::Interface::as_raw(self), symtag, - name.into_param().abi(), + name.param().abi(), compareflags, rva, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn targetSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).targetSection)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn targetSection(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).targetSection)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn targetOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).targetOffset)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn targetOffset(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).targetOffset)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn targetRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).targetRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn targetRelativeVirtualAddress(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).targetRelativeVirtualAddress)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn targetVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).targetVirtualAddress)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn targetVirtualAddress(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).targetVirtualAddress)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn machineType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).machineType)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn machineType(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).machineType)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn oemId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).oemId)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn oemId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).oemId)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn oemSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).oemSymbolId)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn oemSymbolId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).oemSymbolId)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) @@ -6370,13 +6473,13 @@ pub mod Dia { pub unsafe fn get_types( &self, pctypes: *mut u32, - ptypes: &mut [::core::option::Option], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).get_types)( - ::windows_core::Interface::as_raw(self), + ptypes: &mut [Option], + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).get_types)( + windows_core::Interface::as_raw(self), ptypes.len().try_into().unwrap(), pctypes, - ::core::mem::transmute(ptypes.as_ptr()), + core::mem::transmute(ptypes.as_ptr()), ) .ok() } @@ -6384,27 +6487,27 @@ pub mod Dia { &self, pctypeids: *mut u32, pdwtypeids: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).get_typeIds)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).get_typeIds)( + windows_core::Interface::as_raw(self), pdwtypeids.len().try_into().unwrap(), pctypeids, - ::core::mem::transmute(pdwtypeids.as_ptr()), + core::mem::transmute(pdwtypeids.as_ptr()), ) .ok() } - pub unsafe fn objectPointerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).objectPointerType)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn objectPointerType(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).objectPointerType)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn udtKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).udtKind)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn udtKind(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).udtKind)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) @@ -6412,563 +6515,529 @@ pub mod Dia { pub unsafe fn get_undecoratedNameEx( &self, undecorateoptions: u32, - ) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).get_undecoratedNameEx)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).get_undecoratedNameEx)( + windows_core::Interface::as_raw(self), undecorateoptions, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn noReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).noReturn)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn noReturn(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).noReturn)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn customCallingConvention( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).customCallingConvention)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).customCallingConvention)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn noInline( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).noInline)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn noInline(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).noInline)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn optimizedCodeDebugInfo( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).optimizedCodeDebugInfo)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).optimizedCodeDebugInfo)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn notReached( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).notReached)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn notReached(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).notReached)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn interruptReturn( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).interruptReturn)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).interruptReturn)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn farReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).farReturn)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn farReturn(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).farReturn)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn isStatic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isStatic)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn isStatic(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isStatic)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn hasDebugInfo( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).hasDebugInfo)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).hasDebugInfo)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn isLTCG(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isLTCG)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn isLTCG(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isLTCG)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isDataAligned( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isDataAligned)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isDataAligned)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn hasSecurityChecks( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).hasSecurityChecks)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).hasSecurityChecks)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn compilerName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).compilerName)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn compilerName(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).compilerName)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn hasAlloca( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).hasAlloca)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn hasAlloca(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).hasAlloca)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn hasSetJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).hasSetJump)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn hasSetJump(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).hasSetJump)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn hasLongJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).hasLongJump)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn hasLongJump(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).hasLongJump)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn hasInlAsm( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).hasInlAsm)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn hasInlAsm(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).hasInlAsm)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn hasEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).hasEH)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn hasEH(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).hasEH)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn hasSEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).hasSEH)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn hasSEH(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).hasSEH)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn hasEHa(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).hasEHa)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn hasEHa(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).hasEHa)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn isNaked(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isNaked)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn isNaked(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isNaked)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isAggregated( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isAggregated)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isAggregated)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn isSplitted( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isSplitted)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn isSplitted(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isSplitted)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn container(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).container)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn container(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).container)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn inlSpec(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).inlSpec)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn inlSpec(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).inlSpec)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn noStackOrdering( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).noStackOrdering)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).noStackOrdering)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn virtualBaseTableType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).virtualBaseTableType)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn virtualBaseTableType(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).virtualBaseTableType)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn hasManagedCode( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).hasManagedCode)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).hasManagedCode)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isHotpatchable( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isHotpatchable)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isHotpatchable)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn isCVTCIL( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isCVTCIL)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn isCVTCIL(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isCVTCIL)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isMSILNetmodule( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isMSILNetmodule)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isMSILNetmodule)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn isCTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isCTypes)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn isCTypes(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isCTypes)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn isStripped( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isStripped)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn isStripped(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isStripped)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn frontEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).frontEndQFE)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn frontEndQFE(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).frontEndQFE)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn backEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).backEndQFE)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn backEndQFE(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).backEndQFE)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn wasInlined( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).wasInlined)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn wasInlined(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).wasInlined)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn strictGSCheck( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).strictGSCheck)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).strictGSCheck)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isCxxReturnUdt( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isCxxReturnUdt)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isCxxReturnUdt)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isConstructorVirtualBase( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isConstructorVirtualBase)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isConstructorVirtualBase)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn RValueReference( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).RValueReference)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).RValueReference)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn unmodifiedType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).unmodifiedType)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn unmodifiedType(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).unmodifiedType)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn framePointerPresent( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).framePointerPresent)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).framePointerPresent)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isSafeBuffers( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isSafeBuffers)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isSafeBuffers)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn intrinsic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).intrinsic)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn intrinsic(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).intrinsic)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn sealed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).sealed)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn sealed(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).sealed)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn hfaFloat( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).hfaFloat)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn hfaFloat(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).hfaFloat)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn hfaDouble( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).hfaDouble)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn hfaDouble(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).hfaDouble)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn liveRangeStartAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).liveRangeStartAddressSection)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn liveRangeStartAddressSection(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).liveRangeStartAddressSection)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn liveRangeStartAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).liveRangeStartAddressOffset)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn liveRangeStartAddressOffset(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).liveRangeStartAddressOffset)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn liveRangeStartRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).liveRangeStartRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn liveRangeStartRelativeVirtualAddress(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).liveRangeStartRelativeVirtualAddress)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn countLiveRanges(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).countLiveRanges)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn countLiveRanges(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).countLiveRanges)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn liveRangeLength(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).liveRangeLength)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn liveRangeLength(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).liveRangeLength)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn offsetInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).offsetInUdt)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn offsetInUdt(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).offsetInUdt)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn paramBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).paramBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn paramBasePointerRegisterId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).paramBasePointerRegisterId)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn localBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).localBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn localBasePointerRegisterId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).localBasePointerRegisterId)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isLocationControlFlowDependent( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isLocationControlFlowDependent)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isLocationControlFlowDependent)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn stride(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).stride)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn stride(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).stride)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn numberOfRows(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).numberOfRows)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn numberOfRows(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).numberOfRows)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn numberOfColumns(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).numberOfColumns)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn numberOfColumns(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).numberOfColumns)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isMatrixRowMajor( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isMatrixRowMajor)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isMatrixRowMajor)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) @@ -6977,12 +7046,12 @@ pub mod Dia { &self, pcnt: *mut u32, pproperties: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).get_numericProperties)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).get_numericProperties)( + windows_core::Interface::as_raw(self), pproperties.len().try_into().unwrap(), pcnt, - ::core::mem::transmute(pproperties.as_ptr()), + core::mem::transmute(pproperties.as_ptr()), ) .ok() } @@ -6990,333 +7059,327 @@ pub mod Dia { &self, pcnt: *mut u32, pmodifiers: &mut [u16], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).get_modifierValues)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).get_modifierValues)( + windows_core::Interface::as_raw(self), pmodifiers.len().try_into().unwrap(), pcnt, - ::core::mem::transmute(pmodifiers.as_ptr()), + core::mem::transmute(pmodifiers.as_ptr()), ) .ok() } pub unsafe fn isReturnValue( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isReturnValue)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isReturnValue)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isOptimizedAway( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isOptimizedAway)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isOptimizedAway)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn builtInKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).builtInKind)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn builtInKind(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).builtInKind)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn registerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).registerType)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn registerType(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).registerType)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn baseDataSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).baseDataSlot)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn baseDataSlot(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).baseDataSlot)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn baseDataOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).baseDataOffset)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn baseDataOffset(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).baseDataOffset)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn textureSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).textureSlot)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn textureSlot(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).textureSlot)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn samplerSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).samplerSlot)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn samplerSlot(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).samplerSlot)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn uavSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).uavSlot)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn uavSlot(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).uavSlot)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn sizeInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).sizeInUdt)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn sizeInUdt(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).sizeInUdt)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn memorySpaceKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).memorySpaceKind)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn memorySpaceKind(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).memorySpaceKind)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn unmodifiedTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).unmodifiedTypeId)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn unmodifiedTypeId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).unmodifiedTypeId)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn subTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).subTypeId)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn subTypeId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).subTypeId)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn subType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).subType)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn subType(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).subType)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn numberOfModifiers(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).numberOfModifiers)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn numberOfModifiers(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).numberOfModifiers)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn numberOfRegisterIndices(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).numberOfRegisterIndices)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn numberOfRegisterIndices(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).numberOfRegisterIndices)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn isHLSLData( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isHLSLData)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn isHLSLData(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isHLSLData)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isPointerToDataMember( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isPointerToDataMember)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isPointerToDataMember)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isPointerToMemberFunction( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isPointerToMemberFunction)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isPointerToMemberFunction)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isSingleInheritance( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isSingleInheritance)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isSingleInheritance)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isMultipleInheritance( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isMultipleInheritance)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isMultipleInheritance)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isVirtualInheritance( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isVirtualInheritance)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isVirtualInheritance)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn restrictedType( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).restrictedType)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).restrictedType)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isPointerBasedOnSymbolValue( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isPointerBasedOnSymbolValue)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isPointerBasedOnSymbolValue)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn baseSymbol(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).baseSymbol)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn baseSymbol(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).baseSymbol)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn baseSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).baseSymbolId)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn baseSymbolId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).baseSymbolId)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn objectFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).objectFileName)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn objectFileName(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).objectFileName)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn isAcceleratorGroupSharedLocal( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isAcceleratorGroupSharedLocal)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isAcceleratorGroupSharedLocal)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isAcceleratorPointerTagLiveRange( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isAcceleratorPointerTagLiveRange)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isAcceleratorPointerTagLiveRange)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isAcceleratorStubFunction( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isAcceleratorStubFunction)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isAcceleratorStubFunction)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn numberOfAcceleratorPointerTags(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).numberOfAcceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn numberOfAcceleratorPointerTags(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).numberOfAcceleratorPointerTags)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn isSdl(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isSdl)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn isSdl(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isSdl)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isWinRTPointer( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isWinRTPointer)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isWinRTPointer)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn isRefUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isRefUdt)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn isRefUdt(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isRefUdt)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn isValueUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isValueUdt)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn isValueUdt(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isValueUdt)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isInterfaceUdt( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isInterfaceUdt)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isInterfaceUdt)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) @@ -7325,379 +7388,375 @@ pub mod Dia { &self, isect: u32, offset: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInlineFramesByAddr)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInlineFramesByAddr)( + windows_core::Interface::as_raw(self), isect, offset, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findInlineFramesByRVA( &self, rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInlineFramesByRVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInlineFramesByRVA)( + windows_core::Interface::as_raw(self), rva, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findInlineFramesByVA( &self, va: u64, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInlineFramesByVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInlineFramesByVA)( + windows_core::Interface::as_raw(self), va, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn findInlineeLines(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInlineeLines)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn findInlineeLines(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInlineeLines)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findInlineeLinesByAddr( &self, isect: u32, offset: u32, length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInlineeLinesByAddr)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInlineeLinesByAddr)( + windows_core::Interface::as_raw(self), isect, offset, length, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findInlineeLinesByRVA( &self, rva: u32, length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInlineeLinesByRVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInlineeLinesByRVA)( + windows_core::Interface::as_raw(self), rva, length, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findInlineeLinesByVA( &self, va: u64, length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInlineeLinesByVA)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInlineeLinesByVA)( + windows_core::Interface::as_raw(self), va, length, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findSymbolsForAcceleratorPointerTag( &self, tagvalue: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findSymbolsForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findSymbolsForAcceleratorPointerTag)( + windows_core::Interface::as_raw(self), tagvalue, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn findSymbolsByRVAForAcceleratorPointerTag( &self, tagvalue: u32, rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findSymbolsByRVAForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findSymbolsByRVAForAcceleratorPointerTag)( + windows_core::Interface::as_raw(self), tagvalue, rva, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn get_acceleratorPointerTags( &self, pcnt: *mut u32, ppointertags: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).get_acceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).get_acceleratorPointerTags)( + windows_core::Interface::as_raw(self), ppointertags.len().try_into().unwrap(), pcnt, - ::core::mem::transmute(ppointertags.as_ptr()), + core::mem::transmute(ppointertags.as_ptr()), ) .ok() } - pub unsafe fn getSrcLineOnTypeDefn(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).getSrcLineOnTypeDefn)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn getSrcLineOnTypeDefn(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).getSrcLineOnTypeDefn)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn isPGO(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isPGO)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn isPGO(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isPGO)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn hasValidPGOCounts( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).hasValidPGOCounts)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).hasValidPGOCounts)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn isOptimizedForSpeed( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isOptimizedForSpeed)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isOptimizedForSpeed)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn PGOEntryCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).PGOEntryCount)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn PGOEntryCount(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).PGOEntryCount)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn PGOEdgeCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).PGOEdgeCount)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn PGOEdgeCount(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).PGOEdgeCount)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn PGODynamicInstructionCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).PGODynamicInstructionCount)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn PGODynamicInstructionCount(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).PGODynamicInstructionCount)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn staticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).staticSize)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn staticSize(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).staticSize)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn finalLiveStaticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).finalLiveStaticSize)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn finalLiveStaticSize(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).finalLiveStaticSize)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn phaseName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).phaseName)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn phaseName(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).phaseName)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } pub unsafe fn hasControlFlowCheck( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).hasControlFlowCheck)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).hasControlFlowCheck)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn constantExport( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).constantExport)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).constantExport)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn dataExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).dataExport)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn dataExport(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).dataExport)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn privateExport( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).privateExport)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).privateExport)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn noNameExport( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).noNameExport)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).noNameExport)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn exportHasExplicitlyAssignedOrdinal( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).exportHasExplicitlyAssignedOrdinal)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).exportHasExplicitlyAssignedOrdinal)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } pub unsafe fn exportIsForwarder( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).exportIsForwarder)( - ::windows_core::Interface::as_raw(self), + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).exportIsForwarder)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn ordinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).ordinal)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn ordinal(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).ordinal)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn frameSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).frameSize)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn frameSize(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).frameSize)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn exceptionHandlerAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).exceptionHandlerAddressSection)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn exceptionHandlerAddressSection(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).exceptionHandlerAddressSection)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn exceptionHandlerAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).exceptionHandlerAddressOffset)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn exceptionHandlerAddressOffset(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).exceptionHandlerAddressOffset)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn exceptionHandlerRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).exceptionHandlerRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn exceptionHandlerRelativeVirtualAddress(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).exceptionHandlerRelativeVirtualAddress)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn exceptionHandlerVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).exceptionHandlerVirtualAddress)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn exceptionHandlerVirtualAddress(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).exceptionHandlerVirtualAddress)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn findInputAssemblyFile( - &self, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).findInputAssemblyFile)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn findInputAssemblyFile(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).findInputAssemblyFile)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn characteristics(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).characteristics)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn characteristics(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).characteristics)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn coffGroup(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).coffGroup)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn coffGroup(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).coffGroup)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn bindID(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).bindID)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn bindID(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).bindID)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn bindSpace(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).bindSpace)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn bindSpace(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).bindSpace)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn bindSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).bindSlot)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn bindSlot(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).bindSlot)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) @@ -7705,1028 +7764,833 @@ pub mod Dia { } #[repr(C)] pub struct IDiaSymbol_Vtbl { - pub base__: ::windows_core::IUnknown_Vtbl, - pub symIndexId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub symTag: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + pub base__: windows_core::IUnknown_Vtbl, + pub symIndexId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub symTag: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub name: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, pub lexicalParent: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub classParent: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub r#type: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub dataKind: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub locationType: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub addressSection: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub addressOffset: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub relativeVirtualAddress: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub virtualAddress: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u64, - ) -> ::windows_core::HRESULT, - pub registerId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub offset: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut i32, - ) -> ::windows_core::HRESULT, - pub length: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u64, - ) -> ::windows_core::HRESULT, - pub slot: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub dataKind: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub locationType: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub addressSection: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub addressOffset: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub relativeVirtualAddress: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub virtualAddress: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, + pub registerId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub offset: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, + pub length: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, + pub slot: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub volatileType: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub constType: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub unalignedType: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub access: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub access: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub libraryName: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, - pub platform: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub language: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, + pub platform: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub language: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub editAndContinueEnabled: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub frontEndMajor: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub frontEndMinor: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub frontEndBuild: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub backEndMajor: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub backEndMinor: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub backEndBuild: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub frontEndMajor: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub frontEndMinor: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub frontEndBuild: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub backEndMajor: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub backEndMinor: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub backEndBuild: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub sourceFileName: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, pub unused: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, - pub thunkOrdinal: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub thisAdjust: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut i32, - ) -> ::windows_core::HRESULT, - pub virtualBaseOffset: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, + pub thunkOrdinal: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub thisAdjust: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, + pub virtualBaseOffset: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub r#virtual: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub intro: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub pure: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub callingConvention: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub callingConvention: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub value: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::std::mem::MaybeUninit<::windows_core::VARIANT>, - ) -> ::windows_core::HRESULT, - pub baseType: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub token: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub timeStamp: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, + pub baseType: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub token: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub timeStamp: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub guid: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows_core::GUID, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows_core::GUID, + ) -> windows_core::HRESULT, pub symbolsFileName: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, pub reference: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub count: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub bitPosition: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub count: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub bitPosition: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub arrayIndexType: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub packed: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub constructor: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub overloadedOperator: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub nested: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub hasNestedTypes: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub hasAssignmentOperator: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub hasCastOperator: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub scoped: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub virtualBaseClass: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub indirectVirtualBaseClass: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub virtualBasePointerOffset: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut i32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub virtualBasePointerOffset: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub virtualTableShape: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub lexicalParentId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub classParentId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub typeId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub arrayIndexTypeId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub virtualTableShapeId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub lexicalParentId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub classParentId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub typeId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub arrayIndexTypeId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub virtualTableShapeId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub code: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub function: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub managed: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub msil: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub virtualBaseDispIndex: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub virtualBaseDispIndex: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub undecoratedName: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, - pub age: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub signature: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, + pub age: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub signature: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub compilerGenerated: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub addressTaken: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub rank: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub rank: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub lowerBound: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub upperBound: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub lowerBoundId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub upperBoundId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub lowerBoundId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub upperBoundId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub get_dataBytes: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *mut u32, *mut u8, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub findChildren: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, SymTag, - ::windows_core::PCWSTR, + windows_core::PCWSTR, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findChildrenEx: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, SymTag, - ::windows_core::PCWSTR, + windows_core::PCWSTR, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findChildrenExByAddr: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, SymTag, - ::windows_core::PCWSTR, + windows_core::PCWSTR, u32, u32, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findChildrenExByVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, SymTag, - ::windows_core::PCWSTR, + windows_core::PCWSTR, u32, u64, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findChildrenExByRVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, SymTag, - ::windows_core::PCWSTR, - u32, - u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub targetSection: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub targetOffset: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub targetRelativeVirtualAddress: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) - -> ::windows_core::HRESULT, - pub targetVirtualAddress: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u64, - ) -> ::windows_core::HRESULT, - pub machineType: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub oemId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub oemSymbolId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + windows_core::PCWSTR, + u32, + u32, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub targetSection: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub targetOffset: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub targetRelativeVirtualAddress: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub targetVirtualAddress: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, + pub machineType: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub oemId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub oemSymbolId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub get_types: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *mut u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub get_typeIds: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *mut u32, *mut u32, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub objectPointerType: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub udtKind: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub udtKind: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub get_undecoratedNameEx: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, pub noReturn: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub customCallingConvention: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub noInline: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub optimizedCodeDebugInfo: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub notReached: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub interruptReturn: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub farReturn: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isStatic: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub hasDebugInfo: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isLTCG: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isDataAligned: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub hasSecurityChecks: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub compilerName: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, pub hasAlloca: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub hasSetJump: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub hasLongJump: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub hasInlAsm: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub hasEH: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub hasSEH: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub hasEHa: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isNaked: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isAggregated: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isSplitted: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub container: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub inlSpec: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub noStackOrdering: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub virtualBaseTableType: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub hasManagedCode: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isHotpatchable: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isCVTCIL: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isMSILNetmodule: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isCTypes: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isStripped: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub frontEndQFE: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub backEndQFE: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub frontEndQFE: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub backEndQFE: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub wasInlined: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub strictGSCheck: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isCxxReturnUdt: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isConstructorVirtualBase: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub RValueReference: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub unmodifiedType: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub framePointerPresent: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isSafeBuffers: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub intrinsic: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub sealed: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub hfaFloat: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub hfaDouble: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub liveRangeStartAddressSection: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) - -> ::windows_core::HRESULT, - pub liveRangeStartAddressOffset: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) - -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub liveRangeStartAddressSection: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub liveRangeStartAddressOffset: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub liveRangeStartRelativeVirtualAddress: - unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub countLiveRanges: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub liveRangeLength: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u64, - ) -> ::windows_core::HRESULT, - pub offsetInUdt: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub paramBasePointerRegisterId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) - -> ::windows_core::HRESULT, - pub localBasePointerRegisterId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) - -> ::windows_core::HRESULT, + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub countLiveRanges: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub liveRangeLength: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, + pub offsetInUdt: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub paramBasePointerRegisterId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub localBasePointerRegisterId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub isLocationControlFlowDependent: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, ) - -> ::windows_core::HRESULT, - pub stride: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub numberOfRows: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub numberOfColumns: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + -> windows_core::HRESULT, + pub stride: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub numberOfRows: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub numberOfColumns: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub isMatrixRowMajor: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub get_numericProperties: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *mut u32, *mut u32, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub get_modifierValues: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *mut u32, *mut u16, - ) -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub isReturnValue: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isOptimizedAway: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub builtInKind: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub registerType: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub baseDataSlot: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub baseDataOffset: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub textureSlot: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub samplerSlot: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub uavSlot: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub sizeInUdt: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub memorySpaceKind: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub unmodifiedTypeId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub subTypeId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub builtInKind: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub registerType: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub baseDataSlot: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub baseDataOffset: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub textureSlot: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub samplerSlot: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub uavSlot: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub sizeInUdt: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub memorySpaceKind: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub unmodifiedTypeId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub subTypeId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub subType: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub numberOfModifiers: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub numberOfRegisterIndices: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub numberOfModifiers: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub numberOfRegisterIndices: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub isHLSLData: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isPointerToDataMember: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isPointerToMemberFunction: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) - -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isSingleInheritance: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isMultipleInheritance: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isVirtualInheritance: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub restrictedType: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isPointerBasedOnSymbolValue: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, ) - -> ::windows_core::HRESULT, + -> windows_core::HRESULT, pub baseSymbol: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub baseSymbolId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub baseSymbolId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub objectFileName: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, pub isAcceleratorGroupSharedLocal: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, ) - -> ::windows_core::HRESULT, + -> windows_core::HRESULT, pub isAcceleratorPointerTagLiveRange: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, ) - -> ::windows_core::HRESULT, + -> windows_core::HRESULT, pub isAcceleratorStubFunction: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) - -> ::windows_core::HRESULT, - pub numberOfAcceleratorPointerTags: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) - -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub numberOfAcceleratorPointerTags: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub isSdl: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isWinRTPointer: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isRefUdt: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isValueUdt: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isInterfaceUdt: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub findInlineFramesByAddr: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findInlineFramesByRVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findInlineFramesByVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u64, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findInlineeLines: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findInlineeLinesByAddr: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findInlineeLinesByRVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub findInlineeLinesByVA: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u64, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub findSymbolsForAcceleratorPointerTag: - unsafe extern "system" fn( - *mut ::core::ffi::c_void, - u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub findSymbolsForAcceleratorPointerTag: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut *mut core::ffi::c_void, + ) + -> windows_core::HRESULT, pub findSymbolsByRVAForAcceleratorPointerTag: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub get_acceleratorPointerTags: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, *mut u32, *mut u32, - ) - -> ::windows_core::HRESULT, + ) -> windows_core::HRESULT, pub getSrcLineOnTypeDefn: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub isPGO: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub hasValidPGOCounts: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub isOptimizedForSpeed: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub PGOEntryCount: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub PGOEdgeCount: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub PGODynamicInstructionCount: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u64, - ) - -> ::windows_core::HRESULT, - pub staticSize: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub finalLiveStaticSize: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub PGOEntryCount: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub PGOEdgeCount: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub PGODynamicInstructionCount: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, + pub staticSize: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub finalLiveStaticSize: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub phaseName: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, pub hasControlFlowCheck: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub constantExport: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub dataExport: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub privateExport: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, pub noNameExport: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub exportHasExplicitlyAssignedOrdinal: - unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub exportIsForwarder: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub ordinal: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub frameSize: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub exceptionHandlerAddressSection: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) - -> ::windows_core::HRESULT, - pub exceptionHandlerAddressOffset: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub exportHasExplicitlyAssignedOrdinal: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, ) - -> ::windows_core::HRESULT, + -> windows_core::HRESULT, + pub exportIsForwarder: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub ordinal: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub frameSize: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub exceptionHandlerAddressSection: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub exceptionHandlerAddressOffset: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub exceptionHandlerRelativeVirtualAddress: - unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub exceptionHandlerVirtualAddress: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u64, - ) - -> ::windows_core::HRESULT, + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub exceptionHandlerVirtualAddress: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub findInputAssemblyFile: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub characteristics: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub characteristics: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub coffGroup: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub bindID: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub bindSpace: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub bindSlot: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - } - ::windows_core::imp::com_interface!( + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub bindID: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub bindSpace: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub bindSlot: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + } + windows_core::imp::define_interface!( IDiaSymbol10, IDiaSymbol10_Vtbl, 0x9034a70b_b0b7_4605_8a97_33772f3a7b8c ); - ::windows_core::imp::interface_hierarchy!( + impl core::ops::Deref for IDiaSymbol10 { + type Target = IDiaSymbol9; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!( IDiaSymbol10, - ::windows_core::IUnknown, + windows_core::IUnknown, IDiaSymbol, IDiaSymbol2, IDiaSymbol3, @@ -8738,33589 +8602,493 @@ pub mod Dia { IDiaSymbol9 ); impl IDiaSymbol10 { - pub unsafe fn symIndexId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .symIndexId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn symTag(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .symTag)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn name(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .name)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lexicalParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .lexicalParent)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn classParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .classParent)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn r#type(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .r#type)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn dataKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .dataKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn locationType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .locationType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn addressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .addressSection)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn addressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .addressOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn relativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .relativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualAddress)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn registerId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .registerId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn offset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .offset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn length(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .length)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn slot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .slot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn volatileType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .volatileType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn constType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .constType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unalignedType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .unalignedType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn access(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .access)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn libraryName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .libraryName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn platform(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .platform)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn language(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .language)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn editAndContinueEnabled( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .editAndContinueEnabled)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn frontEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndMajor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndMinor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndBuild)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndMajor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndMinor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndBuild)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sourceFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .sourceFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn unused(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .unused)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn thunkOrdinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .thunkOrdinal)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn thisAdjust(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .thisAdjust)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn r#virtual( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .r#virtual)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn intro(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .intro)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn pure(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .pure)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn callingConvention(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .callingConvention)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn value(&self) -> ::windows_core::Result<::windows_core::VARIANT> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .value)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn baseType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn token(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .token)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn timeStamp(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .timeStamp)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn guid(&self) -> ::windows_core::Result<::windows_core::GUID> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .guid)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn symbolsFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .symbolsFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn reference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .reference)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .count)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bitPosition(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .bitPosition)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn arrayIndexType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .arrayIndexType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn packed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .packed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn constructor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .constructor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn overloadedOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .overloadedOperator)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn nested(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .nested)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasNestedTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasNestedTypes)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasAssignmentOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasAssignmentOperator)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn hasCastOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasCastOperator)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn scoped(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .scoped)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseClass)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn indirectVirtualBaseClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .indirectVirtualBaseClass)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualBasePointerOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBasePointerOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualTableShape(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualTableShape)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lexicalParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .lexicalParentId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn classParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .classParentId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn typeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .typeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn arrayIndexTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .arrayIndexTypeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualTableShapeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualTableShapeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn code(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .code)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn function( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .function)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn managed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .managed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn msil(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .msil)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseDispIndex(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseDispIndex)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn undecoratedName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .undecoratedName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn age(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .age)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn signature(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .signature)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn compilerGenerated( + pub unsafe fn get_sourceLink( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .compilerGenerated)( - ::windows_core::Interface::as_raw(self), &mut result__ + pcb: *mut u32, + pb: Option<&mut [u8]>, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).get_sourceLink)( + windows_core::Interface::as_raw(self), + pb.as_deref() + .map_or(0, |slice| slice.len().try_into().unwrap()), + pcb, + core::mem::transmute( + pb.as_deref() + .map_or(core::ptr::null(), |slice| slice.as_ptr()), + ), ) - .map(|| result__) + .ok() } - pub unsafe fn addressTaken( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .addressTaken)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn rank(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .rank)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn lowerBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .lowerBound)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn upperBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .upperBound)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lowerBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .lowerBoundId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn upperBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .upperBoundId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) + } + #[repr(C)] + pub struct IDiaSymbol10_Vtbl { + pub base__: IDiaSymbol9_Vtbl, + pub get_sourceLink: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut u32, + *mut u8, + ) -> windows_core::HRESULT, + } + windows_core::imp::define_interface!( + IDiaSymbol11, + IDiaSymbol11_Vtbl, + 0xb6f54fcd_05e3_433d_b305_b0c1437d2d16 + ); + impl core::ops::Deref for IDiaSymbol11 { + type Target = IDiaSymbol10; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } } - pub unsafe fn get_dataBytes( + } + windows_core::imp::interface_hierarchy!( + IDiaSymbol11, + windows_core::IUnknown, + IDiaSymbol, + IDiaSymbol2, + IDiaSymbol3, + IDiaSymbol4, + IDiaSymbol5, + IDiaSymbol6, + IDiaSymbol7, + IDiaSymbol8, + IDiaSymbol9, + IDiaSymbol10 + ); + impl IDiaSymbol11 { + pub unsafe fn get_discriminatedUnionTag( &self, - pcbdata: *mut u32, - pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_dataBytes)( - ::windows_core::Interface::as_raw(self), - pbdata.len().try_into().unwrap(), - pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), - ) - .ok() - } - pub unsafe fn findChildren( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildren)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenEx( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenEx)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByAddr( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - isect: u32, - offset: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenExByAddr)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByVA( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - va: u64, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenExByVA)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - va, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByRVA( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - rva: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenExByRVA)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - rva, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn targetSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .targetSection)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn targetOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .targetOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn targetRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .targetRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn targetVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .targetVirtualAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn machineType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .machineType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn oemId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .oemId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn oemSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .oemSymbolId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_types( - &self, - pctypes: *mut u32, - ptypes: &mut [::core::option::Option], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_types)( - ::windows_core::Interface::as_raw(self), - ptypes.len().try_into().unwrap(), - pctypes, - ::core::mem::transmute(ptypes.as_ptr()), - ) - .ok() - } - pub unsafe fn get_typeIds( - &self, - pctypeids: *mut u32, - pdwtypeids: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_typeIds)( - ::windows_core::Interface::as_raw(self), - pdwtypeids.len().try_into().unwrap(), - pctypeids, - ::core::mem::transmute(pdwtypeids.as_ptr()), - ) - .ok() - } - pub unsafe fn objectPointerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .objectPointerType)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn udtKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .udtKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_undecoratedNameEx( - &self, - undecorateoptions: u32, - ) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_undecoratedNameEx)( - ::windows_core::Interface::as_raw(self), - undecorateoptions, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn noReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn customCallingConvention( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .customCallingConvention)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn noInline( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noInline)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn optimizedCodeDebugInfo( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .optimizedCodeDebugInfo)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn notReached( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .notReached)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn interruptReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .interruptReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn farReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .farReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isStatic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isStatic)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasDebugInfo( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasDebugInfo)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isLTCG(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isLTCG)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isDataAligned( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isDataAligned)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSecurityChecks( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasSecurityChecks)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn compilerName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .compilerName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasAlloca( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasAlloca)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSetJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasSetJump)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasLongJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasLongJump)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasInlAsm( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasInlAsm)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasEH)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasSEH)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasEHa(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasEHa)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isNaked(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isNaked)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isAggregated( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isAggregated)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isSplitted( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isSplitted)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn container(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .container)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn inlSpec(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .inlSpec)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noStackOrdering( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noStackOrdering)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseTableType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseTableType)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasManagedCode( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasManagedCode)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isHotpatchable( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isHotpatchable)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCVTCIL( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isCVTCIL)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isMSILNetmodule( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isMSILNetmodule)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isCTypes)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isStripped( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isStripped)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndQFE)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndQFE)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn wasInlined( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .wasInlined)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn strictGSCheck( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .strictGSCheck)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCxxReturnUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isCxxReturnUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isConstructorVirtualBase( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isConstructorVirtualBase)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn RValueReference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .RValueReference)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unmodifiedType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .unmodifiedType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn framePointerPresent( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .framePointerPresent)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSafeBuffers( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isSafeBuffers)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn intrinsic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .intrinsic)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sealed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .sealed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hfaFloat( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hfaFloat)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hfaDouble( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hfaDouble)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn liveRangeStartAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeStartAddressSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeStartAddressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeStartRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn countLiveRanges(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .countLiveRanges)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn liveRangeLength(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeLength)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn offsetInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .offsetInUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn paramBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .paramBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn localBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .localBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isLocationControlFlowDependent( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isLocationControlFlowDependent)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn stride(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .stride)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn numberOfRows(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfRows)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn numberOfColumns(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfColumns)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isMatrixRowMajor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isMatrixRowMajor)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn get_numericProperties( - &self, - pcnt: *mut u32, - pproperties: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_numericProperties)( - ::windows_core::Interface::as_raw(self), - pproperties.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(pproperties.as_ptr()), - ) - .ok() - } - pub unsafe fn get_modifierValues( - &self, - pcnt: *mut u32, - pmodifiers: &mut [u16], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_modifierValues)( - ::windows_core::Interface::as_raw(self), - pmodifiers.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(pmodifiers.as_ptr()), - ) - .ok() - } - pub unsafe fn isReturnValue( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isReturnValue)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isOptimizedAway( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isOptimizedAway)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn builtInKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .builtInKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn registerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .registerType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn baseDataSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseDataSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn baseDataOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseDataOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn textureSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .textureSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn samplerSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .samplerSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn uavSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .uavSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sizeInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .sizeInUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn memorySpaceKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .memorySpaceKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unmodifiedTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .unmodifiedTypeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn subTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .subTypeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn subType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .subType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn numberOfModifiers(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfModifiers)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn numberOfRegisterIndices(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfRegisterIndices)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isHLSLData( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isHLSLData)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isPointerToDataMember( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isPointerToDataMember)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isPointerToMemberFunction( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isPointerToMemberFunction)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSingleInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isSingleInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isMultipleInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isMultipleInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isVirtualInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isVirtualInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn restrictedType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .restrictedType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isPointerBasedOnSymbolValue( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isPointerBasedOnSymbolValue)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn baseSymbol(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseSymbol)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn baseSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseSymbolId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn objectFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .objectFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn isAcceleratorGroupSharedLocal( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isAcceleratorGroupSharedLocal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAcceleratorPointerTagLiveRange( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isAcceleratorPointerTagLiveRange)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAcceleratorStubFunction( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isAcceleratorStubFunction)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn numberOfAcceleratorPointerTags(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfAcceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isSdl(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isSdl)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isWinRTPointer( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isWinRTPointer)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isRefUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isRefUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isValueUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isValueUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isInterfaceUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isInterfaceUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn findInlineFramesByAddr( - &self, - isect: u32, - offset: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineFramesByRVA( - &self, - rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByRVA)( - ::windows_core::Interface::as_raw(self), rva, &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineFramesByVA( - &self, - va: u64, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByVA)( - ::windows_core::Interface::as_raw(self), va, &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLines(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLines)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByAddr( - &self, - isect: u32, - offset: u32, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByRVA( - &self, - rva: u32, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByRVA)( - ::windows_core::Interface::as_raw(self), - rva, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByVA( - &self, - va: u64, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByVA)( - ::windows_core::Interface::as_raw(self), - va, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findSymbolsForAcceleratorPointerTag( - &self, - tagvalue: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findSymbolsForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - tagvalue, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findSymbolsByRVAForAcceleratorPointerTag( - &self, - tagvalue: u32, - rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findSymbolsByRVAForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - tagvalue, - rva, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn get_acceleratorPointerTags( - &self, - pcnt: *mut u32, - ppointertags: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_acceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), - ppointertags.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(ppointertags.as_ptr()), - ) - .ok() - } - pub unsafe fn getSrcLineOnTypeDefn(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .getSrcLineOnTypeDefn)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn isPGO(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isPGO)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasValidPGOCounts( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasValidPGOCounts)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isOptimizedForSpeed( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isOptimizedForSpeed)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn PGOEntryCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .PGOEntryCount)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn PGOEdgeCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .PGOEdgeCount)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn PGODynamicInstructionCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .PGODynamicInstructionCount)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn staticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .staticSize)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn finalLiveStaticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .finalLiveStaticSize)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn phaseName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .phaseName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasControlFlowCheck( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasControlFlowCheck)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn constantExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .constantExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn dataExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .dataExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn privateExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .privateExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noNameExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noNameExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn exportHasExplicitlyAssignedOrdinal( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exportHasExplicitlyAssignedOrdinal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exportIsForwarder( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exportIsForwarder)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn ordinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .ordinal)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frameSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frameSize)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn exceptionHandlerAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerAddressSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerAddressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn findInputAssemblyFile( - &self, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInputAssemblyFile)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn characteristics(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .characteristics)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn coffGroup(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .coffGroup)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn bindID(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .bindID)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bindSpace(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .bindSpace)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bindSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .bindSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isObjCClass)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCCategory( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isObjCCategory)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCProtocol( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isObjCProtocol)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn inlinee(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .inlinee)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn inlineeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .inlineeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noexcept( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noexcept)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasAbsoluteAddress( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .hasAbsoluteAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isStaticMemberFunc( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isStaticMemberFunc)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSignRet( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isSignRet)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn coroutineKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .coroutineKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn associatedSymbolKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .associatedSymbolKind)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn associatedSymbolSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .associatedSymbolSection)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn associatedSymbolOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .associatedSymbolOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn associatedSymbolRva(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .associatedSymbolRva)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn associatedSymbolAddr(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .associatedSymbolAddr)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn framePadSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.framePadSize)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn framePadOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .framePadOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isRTCs(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.isRTCs)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn get_sourceLink( - &self, - pcb: *mut u32, - pb: ::core::option::Option<&mut [u8]>, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).get_sourceLink)( - ::windows_core::Interface::as_raw(self), - pb.as_deref() - .map_or(0, |slice| slice.len().try_into().unwrap()), - pcb, - ::core::mem::transmute( - pb.as_deref() - .map_or(::core::ptr::null(), |slice| slice.as_ptr()), - ), - ) - .ok() - } - } - #[repr(C)] - pub struct IDiaSymbol10_Vtbl { - pub base__: IDiaSymbol9_Vtbl, - pub get_sourceLink: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - u32, - *mut u32, - *mut u8, - ) -> ::windows_core::HRESULT, - } - ::windows_core::imp::com_interface!( - IDiaSymbol11, - IDiaSymbol11_Vtbl, - 0xb6f54fcd_05e3_433d_b305_b0c1437d2d16 - ); - ::windows_core::imp::interface_hierarchy!( - IDiaSymbol11, - ::windows_core::IUnknown, - IDiaSymbol, - IDiaSymbol2, - IDiaSymbol3, - IDiaSymbol4, - IDiaSymbol5, - IDiaSymbol6, - IDiaSymbol7, - IDiaSymbol8, - IDiaSymbol9, - IDiaSymbol10 - ); - impl IDiaSymbol11 { - pub unsafe fn symIndexId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .symIndexId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn symTag(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .symTag)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn name(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .name)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lexicalParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .lexicalParent)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn classParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .classParent)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn r#type(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .r#type)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn dataKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .dataKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn locationType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .locationType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn addressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .addressSection)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn addressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .addressOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn relativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .relativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualAddress)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn registerId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .registerId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn offset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .offset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn length(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .length)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn slot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .slot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn volatileType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .volatileType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn constType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .constType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unalignedType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .unalignedType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn access(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .access)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn libraryName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .libraryName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn platform(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .platform)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn language(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .language)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn editAndContinueEnabled( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .editAndContinueEnabled)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn frontEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndMajor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndMinor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndBuild)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndMajor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndMinor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndBuild)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sourceFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .sourceFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn unused(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .unused)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn thunkOrdinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .thunkOrdinal)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn thisAdjust(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .thisAdjust)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn r#virtual( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .r#virtual)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn intro(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .intro)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn pure(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .pure)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn callingConvention(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .callingConvention)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn value(&self) -> ::windows_core::Result<::windows_core::VARIANT> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .value)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn baseType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn token(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .token)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn timeStamp(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .timeStamp)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn guid(&self) -> ::windows_core::Result<::windows_core::GUID> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .guid)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn symbolsFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .symbolsFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn reference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .reference)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .count)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bitPosition(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .bitPosition)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn arrayIndexType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .arrayIndexType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn packed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .packed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn constructor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .constructor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn overloadedOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .overloadedOperator)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn nested(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .nested)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasNestedTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasNestedTypes)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasAssignmentOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasAssignmentOperator)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn hasCastOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasCastOperator)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn scoped(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .scoped)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseClass)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn indirectVirtualBaseClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .indirectVirtualBaseClass)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualBasePointerOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBasePointerOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualTableShape(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualTableShape)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lexicalParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .lexicalParentId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn classParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .classParentId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn typeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .typeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn arrayIndexTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .arrayIndexTypeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualTableShapeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualTableShapeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn code(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .code)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn function( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .function)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn managed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .managed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn msil(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .msil)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseDispIndex(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseDispIndex)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn undecoratedName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .undecoratedName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn age(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .age)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn signature(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .signature)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn compilerGenerated( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .compilerGenerated)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn addressTaken( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .addressTaken)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn rank(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .rank)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn lowerBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .lowerBound)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn upperBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .upperBound)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lowerBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .lowerBoundId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn upperBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .upperBoundId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_dataBytes( - &self, - pcbdata: *mut u32, - pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_dataBytes)( - ::windows_core::Interface::as_raw(self), - pbdata.len().try_into().unwrap(), - pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), - ) - .ok() - } - pub unsafe fn findChildren( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildren)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenEx( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenEx)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByAddr( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - isect: u32, - offset: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenExByAddr)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByVA( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - va: u64, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenExByVA)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - va, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByRVA( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - rva: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenExByRVA)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - rva, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn targetSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .targetSection)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn targetOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .targetOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn targetRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .targetRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn targetVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .targetVirtualAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn machineType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .machineType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn oemId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .oemId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn oemSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .oemSymbolId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_types( - &self, - pctypes: *mut u32, - ptypes: &mut [::core::option::Option], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_types)( - ::windows_core::Interface::as_raw(self), - ptypes.len().try_into().unwrap(), - pctypes, - ::core::mem::transmute(ptypes.as_ptr()), - ) - .ok() - } - pub unsafe fn get_typeIds( - &self, - pctypeids: *mut u32, - pdwtypeids: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_typeIds)( - ::windows_core::Interface::as_raw(self), - pdwtypeids.len().try_into().unwrap(), - pctypeids, - ::core::mem::transmute(pdwtypeids.as_ptr()), - ) - .ok() - } - pub unsafe fn objectPointerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .objectPointerType)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn udtKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .udtKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_undecoratedNameEx( - &self, - undecorateoptions: u32, - ) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_undecoratedNameEx)( - ::windows_core::Interface::as_raw(self), - undecorateoptions, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn noReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn customCallingConvention( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .customCallingConvention)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn noInline( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noInline)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn optimizedCodeDebugInfo( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .optimizedCodeDebugInfo)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn notReached( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .notReached)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn interruptReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .interruptReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn farReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .farReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isStatic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isStatic)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasDebugInfo( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasDebugInfo)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isLTCG(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isLTCG)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isDataAligned( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isDataAligned)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSecurityChecks( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasSecurityChecks)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn compilerName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .compilerName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasAlloca( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasAlloca)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSetJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasSetJump)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasLongJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasLongJump)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasInlAsm( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasInlAsm)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasEH)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasSEH)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasEHa(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasEHa)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isNaked(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isNaked)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isAggregated( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isAggregated)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isSplitted( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isSplitted)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn container(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .container)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn inlSpec(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .inlSpec)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noStackOrdering( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noStackOrdering)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseTableType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseTableType)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasManagedCode( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasManagedCode)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isHotpatchable( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isHotpatchable)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCVTCIL( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isCVTCIL)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isMSILNetmodule( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isMSILNetmodule)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isCTypes)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isStripped( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isStripped)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndQFE)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndQFE)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn wasInlined( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .wasInlined)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn strictGSCheck( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .strictGSCheck)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCxxReturnUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isCxxReturnUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isConstructorVirtualBase( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isConstructorVirtualBase)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn RValueReference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .RValueReference)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unmodifiedType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .unmodifiedType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn framePointerPresent( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .framePointerPresent)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSafeBuffers( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isSafeBuffers)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn intrinsic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .intrinsic)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sealed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .sealed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hfaFloat( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hfaFloat)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hfaDouble( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hfaDouble)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn liveRangeStartAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeStartAddressSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeStartAddressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeStartRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn countLiveRanges(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .countLiveRanges)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn liveRangeLength(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeLength)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn offsetInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .offsetInUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn paramBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .paramBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn localBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .localBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isLocationControlFlowDependent( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isLocationControlFlowDependent)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn stride(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .stride)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn numberOfRows(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfRows)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn numberOfColumns(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfColumns)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isMatrixRowMajor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isMatrixRowMajor)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn get_numericProperties( - &self, - pcnt: *mut u32, - pproperties: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_numericProperties)( - ::windows_core::Interface::as_raw(self), - pproperties.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(pproperties.as_ptr()), - ) - .ok() - } - pub unsafe fn get_modifierValues( - &self, - pcnt: *mut u32, - pmodifiers: &mut [u16], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_modifierValues)( - ::windows_core::Interface::as_raw(self), - pmodifiers.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(pmodifiers.as_ptr()), - ) - .ok() - } - pub unsafe fn isReturnValue( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isReturnValue)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isOptimizedAway( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isOptimizedAway)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn builtInKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .builtInKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn registerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .registerType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn baseDataSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseDataSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn baseDataOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseDataOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn textureSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .textureSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn samplerSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .samplerSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn uavSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .uavSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sizeInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .sizeInUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn memorySpaceKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .memorySpaceKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unmodifiedTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .unmodifiedTypeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn subTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .subTypeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn subType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .subType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn numberOfModifiers(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfModifiers)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn numberOfRegisterIndices(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfRegisterIndices)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isHLSLData( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isHLSLData)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isPointerToDataMember( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isPointerToDataMember)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isPointerToMemberFunction( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isPointerToMemberFunction)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSingleInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isSingleInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isMultipleInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isMultipleInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isVirtualInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isVirtualInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn restrictedType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .restrictedType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isPointerBasedOnSymbolValue( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isPointerBasedOnSymbolValue)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn baseSymbol(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseSymbol)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn baseSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseSymbolId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn objectFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .objectFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn isAcceleratorGroupSharedLocal( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isAcceleratorGroupSharedLocal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAcceleratorPointerTagLiveRange( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isAcceleratorPointerTagLiveRange)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAcceleratorStubFunction( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isAcceleratorStubFunction)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn numberOfAcceleratorPointerTags(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfAcceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isSdl(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isSdl)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isWinRTPointer( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isWinRTPointer)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isRefUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isRefUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isValueUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isValueUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isInterfaceUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isInterfaceUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn findInlineFramesByAddr( - &self, - isect: u32, - offset: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineFramesByRVA( - &self, - rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByRVA)( - ::windows_core::Interface::as_raw(self), rva, &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineFramesByVA( - &self, - va: u64, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByVA)( - ::windows_core::Interface::as_raw(self), va, &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLines(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLines)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByAddr( - &self, - isect: u32, - offset: u32, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByRVA( - &self, - rva: u32, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByRVA)( - ::windows_core::Interface::as_raw(self), - rva, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByVA( - &self, - va: u64, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByVA)( - ::windows_core::Interface::as_raw(self), - va, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findSymbolsForAcceleratorPointerTag( - &self, - tagvalue: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findSymbolsForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - tagvalue, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findSymbolsByRVAForAcceleratorPointerTag( - &self, - tagvalue: u32, - rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findSymbolsByRVAForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - tagvalue, - rva, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn get_acceleratorPointerTags( - &self, - pcnt: *mut u32, - ppointertags: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_acceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), - ppointertags.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(ppointertags.as_ptr()), - ) - .ok() - } - pub unsafe fn getSrcLineOnTypeDefn(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .getSrcLineOnTypeDefn)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn isPGO(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isPGO)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasValidPGOCounts( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasValidPGOCounts)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isOptimizedForSpeed( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isOptimizedForSpeed)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn PGOEntryCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .PGOEntryCount)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn PGOEdgeCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .PGOEdgeCount)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn PGODynamicInstructionCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .PGODynamicInstructionCount)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn staticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .staticSize)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn finalLiveStaticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .finalLiveStaticSize)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn phaseName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .phaseName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasControlFlowCheck( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasControlFlowCheck)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn constantExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .constantExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn dataExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .dataExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn privateExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .privateExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noNameExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noNameExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn exportHasExplicitlyAssignedOrdinal( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exportHasExplicitlyAssignedOrdinal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exportIsForwarder( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exportIsForwarder)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn ordinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .ordinal)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frameSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frameSize)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn exceptionHandlerAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerAddressSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerAddressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn findInputAssemblyFile( - &self, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInputAssemblyFile)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn characteristics(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .characteristics)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn coffGroup(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .coffGroup)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn bindID(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .bindID)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bindSpace(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .bindSpace)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bindSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .bindSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isObjCClass)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCCategory( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isObjCCategory)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCProtocol( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isObjCProtocol)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn inlinee(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .inlinee)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn inlineeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .inlineeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noexcept( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noexcept)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasAbsoluteAddress( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasAbsoluteAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isStaticMemberFunc( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isStaticMemberFunc)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSignRet( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isSignRet)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn coroutineKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .coroutineKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn associatedSymbolKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .associatedSymbolKind)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn associatedSymbolSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .associatedSymbolSection)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn associatedSymbolOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .associatedSymbolOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn associatedSymbolRva(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .associatedSymbolRva)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn associatedSymbolAddr(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .associatedSymbolAddr)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn framePadSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .framePadSize)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn framePadOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .framePadOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isRTCs(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.isRTCs)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn get_sourceLink( - &self, - pcb: *mut u32, - pb: ::core::option::Option<&mut [u8]>, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .get_sourceLink)( - ::windows_core::Interface::as_raw(self), - pb.as_deref() - .map_or(0, |slice| slice.len().try_into().unwrap()), - pcb, - ::core::mem::transmute( - pb.as_deref() - .map_or(::core::ptr::null(), |slice| slice.as_ptr()), - ), - ) - .ok() - } - pub unsafe fn get_discriminatedUnionTag( - &self, - pptagtype: *mut ::core::option::Option, - ptagoffset: *mut u32, - ptagmask: *mut DiaTagValue, - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).get_discriminatedUnionTag)( - ::windows_core::Interface::as_raw(self), - ::core::mem::transmute(pptagtype), - ptagoffset, - ptagmask, - ) - .ok() - } - pub unsafe fn get_tagRanges( - &self, - pcrangevalues: *mut u32, - rangevalues: &mut [DiaTagValue], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).get_tagRanges)( - ::windows_core::Interface::as_raw(self), - rangevalues.len().try_into().unwrap(), - pcrangevalues, - ::core::mem::transmute(rangevalues.as_ptr()), - ) - .ok() - } - } - #[repr(C)] - pub struct IDiaSymbol11_Vtbl { - pub base__: IDiaSymbol10_Vtbl, - pub get_discriminatedUnionTag: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - *mut u32, - *mut DiaTagValue, - ) - -> ::windows_core::HRESULT, - pub get_tagRanges: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - u32, - *mut u32, - *mut DiaTagValue, - ) -> ::windows_core::HRESULT, - } - ::windows_core::imp::com_interface!( - IDiaSymbol2, - IDiaSymbol2_Vtbl, - 0x611e86cd_b7d1_4546_8a15_070e2b07a427 - ); - ::windows_core::imp::interface_hierarchy!(IDiaSymbol2, ::windows_core::IUnknown, IDiaSymbol); - impl IDiaSymbol2 { - pub unsafe fn symIndexId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.symIndexId)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn symTag(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.symTag)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn name(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.name)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lexicalParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.lexicalParent)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn classParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.classParent)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn r#type(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.r#type)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn dataKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.dataKind)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn locationType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.locationType)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn addressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .addressSection)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn addressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.addressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn relativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .relativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .virtualAddress)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn registerId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.registerId)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn offset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.offset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn length(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.length)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn slot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.slot)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn volatileType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.volatileType)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn constType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.constType)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn unalignedType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.unalignedType)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn access(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.access)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn libraryName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.libraryName)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn platform(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.platform)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn language(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.language)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn editAndContinueEnabled( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .editAndContinueEnabled)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn frontEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.frontEndMajor)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn frontEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.frontEndMinor)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn frontEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.frontEndBuild)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn backEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.backEndMajor)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn backEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.backEndMinor)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn backEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.backEndBuild)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn sourceFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .sourceFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn unused(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.unused)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn thunkOrdinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.thunkOrdinal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn thisAdjust(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.thisAdjust)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn virtualBaseOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .virtualBaseOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn r#virtual( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.r#virtual)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn intro(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.intro)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn pure(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.pure)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn callingConvention(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .callingConvention)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn value(&self) -> ::windows_core::Result<::windows_core::VARIANT> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.value)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn baseType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.baseType)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn token(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.token)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn timeStamp(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.timeStamp)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn guid(&self) -> ::windows_core::Result<::windows_core::GUID> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.guid)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn symbolsFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .symbolsFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn reference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.reference)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.count)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn bitPosition(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.bitPosition)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn arrayIndexType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .arrayIndexType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn packed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.packed)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn constructor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.constructor)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn overloadedOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .overloadedOperator)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn nested(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.nested)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn hasNestedTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .hasNestedTypes)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasAssignmentOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .hasAssignmentOperator)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn hasCastOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .hasCastOperator)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn scoped(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.scoped)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn virtualBaseClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .virtualBaseClass)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn indirectVirtualBaseClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .indirectVirtualBaseClass)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualBasePointerOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .virtualBasePointerOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualTableShape(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .virtualTableShape)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lexicalParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .lexicalParentId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn classParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.classParentId)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn typeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.typeId)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn arrayIndexTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .arrayIndexTypeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualTableShapeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .virtualTableShapeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn code(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.code)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn function( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.function)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn managed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.managed)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn msil(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.msil)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn virtualBaseDispIndex(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .virtualBaseDispIndex)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn undecoratedName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .undecoratedName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn age(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.age)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn signature(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.signature)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn compilerGenerated( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .compilerGenerated)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn addressTaken( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.addressTaken)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn rank(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.rank)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn lowerBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.lowerBound)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn upperBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.upperBound)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lowerBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.lowerBoundId)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn upperBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.upperBoundId)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn get_dataBytes( - &self, - pcbdata: *mut u32, - pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.get_dataBytes)( - ::windows_core::Interface::as_raw(self), - pbdata.len().try_into().unwrap(), - pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), - ) - .ok() - } - pub unsafe fn findChildren( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.findChildren)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenEx( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .findChildrenEx)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByAddr( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - isect: u32, - offset: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .findChildrenExByAddr)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByVA( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - va: u64, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .findChildrenExByVA)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - va, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByRVA( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - rva: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .findChildrenExByRVA)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - rva, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn targetSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.targetSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn targetOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.targetOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn targetRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .targetRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn targetVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .targetVirtualAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn machineType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.machineType)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn oemId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.oemId)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn oemSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.oemSymbolId)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn get_types( - &self, - pctypes: *mut u32, - ptypes: &mut [::core::option::Option], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.get_types)( - ::windows_core::Interface::as_raw(self), - ptypes.len().try_into().unwrap(), - pctypes, - ::core::mem::transmute(ptypes.as_ptr()), - ) - .ok() - } - pub unsafe fn get_typeIds( - &self, - pctypeids: *mut u32, - pdwtypeids: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.get_typeIds)( - ::windows_core::Interface::as_raw(self), - pdwtypeids.len().try_into().unwrap(), - pctypeids, - ::core::mem::transmute(pdwtypeids.as_ptr()), - ) - .ok() - } - pub unsafe fn objectPointerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .objectPointerType)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn udtKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.udtKind)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn get_undecoratedNameEx( - &self, - undecorateoptions: u32, - ) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .get_undecoratedNameEx)( - ::windows_core::Interface::as_raw(self), - undecorateoptions, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn noReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.noReturn)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn customCallingConvention( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .customCallingConvention)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn noInline( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.noInline)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn optimizedCodeDebugInfo( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .optimizedCodeDebugInfo)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn notReached( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.notReached)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn interruptReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .interruptReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn farReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.farReturn)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isStatic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.isStatic)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn hasDebugInfo( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.hasDebugInfo)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isLTCG(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.isLTCG)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isDataAligned( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.isDataAligned)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn hasSecurityChecks( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .hasSecurityChecks)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn compilerName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.compilerName)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasAlloca( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.hasAlloca)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn hasSetJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.hasSetJump)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn hasLongJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.hasLongJump)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn hasInlAsm( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.hasInlAsm)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn hasEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.hasEH)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn hasSEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.hasSEH)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn hasEHa(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.hasEHa)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isNaked(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.isNaked)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAggregated( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.isAggregated)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isSplitted( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.isSplitted)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn container(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.container)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn inlSpec(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.inlSpec)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn noStackOrdering( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .noStackOrdering)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseTableType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .virtualBaseTableType)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasManagedCode( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .hasManagedCode)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isHotpatchable( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isHotpatchable)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCVTCIL( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.isCVTCIL)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isMSILNetmodule( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isMSILNetmodule)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.isCTypes)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isStripped( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.isStripped)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn frontEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.frontEndQFE)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn backEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.backEndQFE)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn wasInlined( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.wasInlined)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn strictGSCheck( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.strictGSCheck)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isCxxReturnUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isCxxReturnUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isConstructorVirtualBase( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isConstructorVirtualBase)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn RValueReference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .RValueReference)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unmodifiedType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .unmodifiedType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn framePointerPresent( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .framePointerPresent)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSafeBuffers( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.isSafeBuffers)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn intrinsic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.intrinsic)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn sealed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.sealed)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn hfaFloat( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.hfaFloat)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn hfaDouble( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.hfaDouble)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .liveRangeStartAddressSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .liveRangeStartAddressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .liveRangeStartRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn countLiveRanges(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .countLiveRanges)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn liveRangeLength(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .liveRangeLength)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn offsetInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.offsetInUdt)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn paramBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .paramBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn localBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .localBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isLocationControlFlowDependent( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isLocationControlFlowDependent)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn stride(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.stride)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn numberOfRows(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.numberOfRows)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn numberOfColumns(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .numberOfColumns)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isMatrixRowMajor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isMatrixRowMajor)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn get_numericProperties( - &self, - pcnt: *mut u32, - pproperties: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .get_numericProperties)( - ::windows_core::Interface::as_raw(self), - pproperties.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(pproperties.as_ptr()), - ) - .ok() - } - pub unsafe fn get_modifierValues( - &self, - pcnt: *mut u32, - pmodifiers: &mut [u16], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .get_modifierValues)( - ::windows_core::Interface::as_raw(self), - pmodifiers.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(pmodifiers.as_ptr()), - ) - .ok() - } - pub unsafe fn isReturnValue( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.isReturnValue)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isOptimizedAway( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isOptimizedAway)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn builtInKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.builtInKind)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn registerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.registerType)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn baseDataSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.baseDataSlot)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn baseDataOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .baseDataOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn textureSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.textureSlot)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn samplerSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.samplerSlot)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn uavSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.uavSlot)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn sizeInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.sizeInUdt)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn memorySpaceKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .memorySpaceKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unmodifiedTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .unmodifiedTypeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn subTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.subTypeId)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn subType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.subType)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn numberOfModifiers(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .numberOfModifiers)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn numberOfRegisterIndices(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .numberOfRegisterIndices)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isHLSLData( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.isHLSLData)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isPointerToDataMember( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isPointerToDataMember)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isPointerToMemberFunction( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isPointerToMemberFunction)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSingleInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isSingleInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isMultipleInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isMultipleInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isVirtualInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isVirtualInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn restrictedType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .restrictedType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isPointerBasedOnSymbolValue( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isPointerBasedOnSymbolValue)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn baseSymbol(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.baseSymbol)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn baseSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.baseSymbolId)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn objectFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .objectFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn isAcceleratorGroupSharedLocal( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isAcceleratorGroupSharedLocal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAcceleratorPointerTagLiveRange( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isAcceleratorPointerTagLiveRange)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAcceleratorStubFunction( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isAcceleratorStubFunction)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn numberOfAcceleratorPointerTags(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .numberOfAcceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isSdl(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.isSdl)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isWinRTPointer( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isWinRTPointer)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isRefUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.isRefUdt)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isValueUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.isValueUdt)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isInterfaceUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isInterfaceUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn findInlineFramesByAddr( - &self, - isect: u32, - offset: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .findInlineFramesByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineFramesByRVA( - &self, - rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .findInlineFramesByRVA)( - ::windows_core::Interface::as_raw(self), rva, &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineFramesByVA( - &self, - va: u64, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .findInlineFramesByVA)( - ::windows_core::Interface::as_raw(self), va, &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLines(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .findInlineeLines)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByAddr( - &self, - isect: u32, - offset: u32, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .findInlineeLinesByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByRVA( - &self, - rva: u32, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .findInlineeLinesByRVA)( - ::windows_core::Interface::as_raw(self), - rva, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByVA( - &self, - va: u64, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .findInlineeLinesByVA)( - ::windows_core::Interface::as_raw(self), - va, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findSymbolsForAcceleratorPointerTag( - &self, - tagvalue: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .findSymbolsForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - tagvalue, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findSymbolsByRVAForAcceleratorPointerTag( - &self, - tagvalue: u32, - rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .findSymbolsByRVAForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - tagvalue, - rva, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn get_acceleratorPointerTags( - &self, - pcnt: *mut u32, - ppointertags: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .get_acceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), - ppointertags.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(ppointertags.as_ptr()), - ) - .ok() - } - pub unsafe fn getSrcLineOnTypeDefn(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .getSrcLineOnTypeDefn)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn isPGO(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.isPGO)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn hasValidPGOCounts( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .hasValidPGOCounts)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isOptimizedForSpeed( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isOptimizedForSpeed)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn PGOEntryCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.PGOEntryCount)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn PGOEdgeCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.PGOEdgeCount)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn PGODynamicInstructionCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .PGODynamicInstructionCount)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn staticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.staticSize)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn finalLiveStaticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .finalLiveStaticSize)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn phaseName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.phaseName)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasControlFlowCheck( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .hasControlFlowCheck)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn constantExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .constantExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn dataExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.dataExport)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn privateExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.privateExport)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn noNameExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.noNameExport)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exportHasExplicitlyAssignedOrdinal( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .exportHasExplicitlyAssignedOrdinal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exportIsForwarder( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .exportIsForwarder)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn ordinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.ordinal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn frameSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.frameSize)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .exceptionHandlerAddressSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .exceptionHandlerAddressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .exceptionHandlerRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .exceptionHandlerVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn findInputAssemblyFile( - &self, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .findInputAssemblyFile)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn characteristics(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .characteristics)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn coffGroup(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.coffGroup)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn bindID(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.bindID)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn bindSpace(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.bindSpace)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn bindSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.bindSlot)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isObjCClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isObjCClass)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isObjCCategory( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isObjCCategory)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isObjCProtocol( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isObjCProtocol)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - } - #[repr(C)] - pub struct IDiaSymbol2_Vtbl { - pub base__: IDiaSymbol_Vtbl, - pub isObjCClass: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub isObjCCategory: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - pub isObjCProtocol: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - } - ::windows_core::imp::com_interface!( - IDiaSymbol3, - IDiaSymbol3_Vtbl, - 0x99b665f7_c1b2_49d3_89b2_a384361acab5 - ); - ::windows_core::imp::interface_hierarchy!( - IDiaSymbol3, - ::windows_core::IUnknown, - IDiaSymbol, - IDiaSymbol2 - ); - impl IDiaSymbol3 { - pub unsafe fn symIndexId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .symIndexId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn symTag(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.symTag)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn name(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.name)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lexicalParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .lexicalParent)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn classParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .classParent)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn r#type(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.r#type)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn dataKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .dataKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn locationType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .locationType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn addressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .addressSection)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn addressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .addressOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn relativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .relativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .virtualAddress)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn registerId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .registerId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn offset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.offset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn length(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.length)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn slot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.slot)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn volatileType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .volatileType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn constType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .constType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unalignedType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .unalignedType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn access(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.access)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn libraryName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .libraryName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn platform(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .platform)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn language(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .language)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn editAndContinueEnabled( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .editAndContinueEnabled)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn frontEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .frontEndMajor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .frontEndMinor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .frontEndBuild)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .backEndMajor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .backEndMinor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .backEndBuild)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sourceFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .sourceFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn unused(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.unused)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn thunkOrdinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .thunkOrdinal)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn thisAdjust(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .thisAdjust)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .virtualBaseOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn r#virtual( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .r#virtual)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn intro(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.intro)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn pure(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.pure)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn callingConvention(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .callingConvention)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn value(&self) -> ::windows_core::Result<::windows_core::VARIANT> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.value)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn baseType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .baseType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn token(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.token)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn timeStamp(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .timeStamp)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn guid(&self) -> ::windows_core::Result<::windows_core::GUID> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.guid)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn symbolsFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .symbolsFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn reference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .reference)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.count)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn bitPosition(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .bitPosition)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn arrayIndexType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .arrayIndexType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn packed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.packed)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn constructor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .constructor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn overloadedOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .overloadedOperator)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn nested(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.nested)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn hasNestedTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .hasNestedTypes)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasAssignmentOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .hasAssignmentOperator)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn hasCastOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .hasCastOperator)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn scoped(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.scoped)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn virtualBaseClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .virtualBaseClass)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn indirectVirtualBaseClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .indirectVirtualBaseClass)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualBasePointerOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .virtualBasePointerOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualTableShape(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .virtualTableShape)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lexicalParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .lexicalParentId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn classParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .classParentId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn typeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.typeId)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn arrayIndexTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .arrayIndexTypeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualTableShapeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .virtualTableShapeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn code(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.code)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn function( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .function)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn managed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .managed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn msil(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.msil)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn virtualBaseDispIndex(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .virtualBaseDispIndex)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn undecoratedName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .undecoratedName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn age(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.age)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn signature(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .signature)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn compilerGenerated( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .compilerGenerated)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn addressTaken( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .addressTaken)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn rank(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.rank)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn lowerBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .lowerBound)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn upperBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .upperBound)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lowerBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .lowerBoundId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn upperBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .upperBoundId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_dataBytes( - &self, - pcbdata: *mut u32, - pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .get_dataBytes)( - ::windows_core::Interface::as_raw(self), - pbdata.len().try_into().unwrap(), - pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), - ) - .ok() - } - pub unsafe fn findChildren( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .findChildren)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenEx( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .findChildrenEx)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByAddr( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - isect: u32, - offset: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .findChildrenExByAddr)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByVA( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - va: u64, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .findChildrenExByVA)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - va, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByRVA( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - rva: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .findChildrenExByRVA)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - rva, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn targetSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .targetSection)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn targetOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .targetOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn targetRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .targetRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn targetVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .targetVirtualAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn machineType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .machineType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn oemId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.oemId)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn oemSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .oemSymbolId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_types( - &self, - pctypes: *mut u32, - ptypes: &mut [::core::option::Option], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .get_types)( - ::windows_core::Interface::as_raw(self), - ptypes.len().try_into().unwrap(), - pctypes, - ::core::mem::transmute(ptypes.as_ptr()), - ) - .ok() - } - pub unsafe fn get_typeIds( - &self, - pctypeids: *mut u32, - pdwtypeids: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .get_typeIds)( - ::windows_core::Interface::as_raw(self), - pdwtypeids.len().try_into().unwrap(), - pctypeids, - ::core::mem::transmute(pdwtypeids.as_ptr()), - ) - .ok() - } - pub unsafe fn objectPointerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .objectPointerType)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn udtKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .udtKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_undecoratedNameEx( - &self, - undecorateoptions: u32, - ) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .get_undecoratedNameEx)( - ::windows_core::Interface::as_raw(self), - undecorateoptions, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn noReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .noReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn customCallingConvention( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .customCallingConvention)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn noInline( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .noInline)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn optimizedCodeDebugInfo( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .optimizedCodeDebugInfo)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn notReached( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .notReached)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn interruptReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .interruptReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn farReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .farReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isStatic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isStatic)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasDebugInfo( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .hasDebugInfo)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isLTCG(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.isLTCG)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isDataAligned( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isDataAligned)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSecurityChecks( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .hasSecurityChecks)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn compilerName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .compilerName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasAlloca( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .hasAlloca)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSetJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .hasSetJump)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasLongJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .hasLongJump)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasInlAsm( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .hasInlAsm)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.hasEH)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn hasSEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.hasSEH)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn hasEHa(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.hasEHa)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isNaked(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isNaked)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isAggregated( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isAggregated)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isSplitted( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isSplitted)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn container(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .container)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn inlSpec(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .inlSpec)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noStackOrdering( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .noStackOrdering)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseTableType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .virtualBaseTableType)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasManagedCode( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .hasManagedCode)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isHotpatchable( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isHotpatchable)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCVTCIL( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isCVTCIL)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isMSILNetmodule( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isMSILNetmodule)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isCTypes)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isStripped( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isStripped)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .frontEndQFE)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .backEndQFE)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn wasInlined( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .wasInlined)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn strictGSCheck( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .strictGSCheck)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCxxReturnUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isCxxReturnUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isConstructorVirtualBase( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isConstructorVirtualBase)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn RValueReference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .RValueReference)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unmodifiedType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .unmodifiedType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn framePointerPresent( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .framePointerPresent)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSafeBuffers( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isSafeBuffers)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn intrinsic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .intrinsic)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sealed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.sealed)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn hfaFloat( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .hfaFloat)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hfaDouble( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .hfaDouble)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn liveRangeStartAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .liveRangeStartAddressSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .liveRangeStartAddressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .liveRangeStartRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn countLiveRanges(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .countLiveRanges)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn liveRangeLength(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .liveRangeLength)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn offsetInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .offsetInUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn paramBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .paramBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn localBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .localBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isLocationControlFlowDependent( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isLocationControlFlowDependent)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn stride(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.stride)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn numberOfRows(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .numberOfRows)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn numberOfColumns(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .numberOfColumns)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isMatrixRowMajor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isMatrixRowMajor)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn get_numericProperties( - &self, - pcnt: *mut u32, - pproperties: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .get_numericProperties)( - ::windows_core::Interface::as_raw(self), - pproperties.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(pproperties.as_ptr()), - ) - .ok() - } - pub unsafe fn get_modifierValues( - &self, - pcnt: *mut u32, - pmodifiers: &mut [u16], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .get_modifierValues)( - ::windows_core::Interface::as_raw(self), - pmodifiers.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(pmodifiers.as_ptr()), - ) - .ok() - } - pub unsafe fn isReturnValue( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isReturnValue)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isOptimizedAway( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isOptimizedAway)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn builtInKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .builtInKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn registerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .registerType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn baseDataSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .baseDataSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn baseDataOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .baseDataOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn textureSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .textureSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn samplerSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .samplerSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn uavSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .uavSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sizeInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .sizeInUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn memorySpaceKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .memorySpaceKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unmodifiedTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .unmodifiedTypeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn subTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .subTypeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn subType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .subType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn numberOfModifiers(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .numberOfModifiers)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn numberOfRegisterIndices(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .numberOfRegisterIndices)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isHLSLData( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isHLSLData)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isPointerToDataMember( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isPointerToDataMember)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isPointerToMemberFunction( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isPointerToMemberFunction)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSingleInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isSingleInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isMultipleInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isMultipleInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isVirtualInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isVirtualInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn restrictedType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .restrictedType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isPointerBasedOnSymbolValue( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isPointerBasedOnSymbolValue)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn baseSymbol(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .baseSymbol)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn baseSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .baseSymbolId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn objectFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .objectFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn isAcceleratorGroupSharedLocal( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isAcceleratorGroupSharedLocal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAcceleratorPointerTagLiveRange( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isAcceleratorPointerTagLiveRange)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAcceleratorStubFunction( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isAcceleratorStubFunction)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn numberOfAcceleratorPointerTags(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .numberOfAcceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isSdl(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.isSdl)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isWinRTPointer( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isWinRTPointer)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isRefUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isRefUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isValueUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isValueUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isInterfaceUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isInterfaceUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn findInlineFramesByAddr( - &self, - isect: u32, - offset: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .findInlineFramesByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineFramesByRVA( - &self, - rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .findInlineFramesByRVA)( - ::windows_core::Interface::as_raw(self), rva, &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineFramesByVA( - &self, - va: u64, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .findInlineFramesByVA)( - ::windows_core::Interface::as_raw(self), va, &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLines(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .findInlineeLines)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByAddr( - &self, - isect: u32, - offset: u32, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .findInlineeLinesByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByRVA( - &self, - rva: u32, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .findInlineeLinesByRVA)( - ::windows_core::Interface::as_raw(self), - rva, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByVA( - &self, - va: u64, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .findInlineeLinesByVA)( - ::windows_core::Interface::as_raw(self), - va, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findSymbolsForAcceleratorPointerTag( - &self, - tagvalue: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .findSymbolsForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - tagvalue, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findSymbolsByRVAForAcceleratorPointerTag( - &self, - tagvalue: u32, - rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .findSymbolsByRVAForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - tagvalue, - rva, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn get_acceleratorPointerTags( - &self, - pcnt: *mut u32, - ppointertags: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .get_acceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), - ppointertags.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(ppointertags.as_ptr()), - ) - .ok() - } - pub unsafe fn getSrcLineOnTypeDefn(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .getSrcLineOnTypeDefn)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn isPGO(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.isPGO)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn hasValidPGOCounts( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .hasValidPGOCounts)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isOptimizedForSpeed( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isOptimizedForSpeed)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn PGOEntryCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .PGOEntryCount)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn PGOEdgeCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .PGOEdgeCount)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn PGODynamicInstructionCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .PGODynamicInstructionCount)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn staticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .staticSize)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn finalLiveStaticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .finalLiveStaticSize)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn phaseName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .phaseName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasControlFlowCheck( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .hasControlFlowCheck)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn constantExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .constantExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn dataExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .dataExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn privateExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .privateExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noNameExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .noNameExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn exportHasExplicitlyAssignedOrdinal( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .exportHasExplicitlyAssignedOrdinal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exportIsForwarder( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .exportIsForwarder)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn ordinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .ordinal)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frameSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .frameSize)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn exceptionHandlerAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .exceptionHandlerAddressSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .exceptionHandlerAddressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .exceptionHandlerRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .exceptionHandlerVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn findInputAssemblyFile( - &self, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .findInputAssemblyFile)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn characteristics(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .characteristics)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn coffGroup(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .coffGroup)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn bindID(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.base__.bindID)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn bindSpace(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .bindSpace)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bindSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .bindSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.isObjCClass)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isObjCCategory( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isObjCCategory)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCProtocol( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isObjCProtocol)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn inlinee(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).inlinee)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn inlineeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).inlineeId)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - } - #[repr(C)] - pub struct IDiaSymbol3_Vtbl { - pub base__: IDiaSymbol2_Vtbl, - pub inlinee: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, - pub inlineeId: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - } - ::windows_core::imp::com_interface!( - IDiaSymbol4, - IDiaSymbol4_Vtbl, - 0xbf6c88a7_e9d6_4346_99a1_d053de5a7808 - ); - ::windows_core::imp::interface_hierarchy!( - IDiaSymbol4, - ::windows_core::IUnknown, - IDiaSymbol, - IDiaSymbol2, - IDiaSymbol3 - ); - impl IDiaSymbol4 { - pub unsafe fn symIndexId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .symIndexId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn symTag(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .symTag)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn name(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .name)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lexicalParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .lexicalParent)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn classParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .classParent)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn r#type(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .r#type)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn dataKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .dataKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn locationType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .locationType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn addressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .addressSection)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn addressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .addressOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn relativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .relativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .virtualAddress)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn registerId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .registerId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn offset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .offset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn length(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .length)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn slot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .slot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn volatileType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .volatileType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn constType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .constType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unalignedType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .unalignedType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn access(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .access)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn libraryName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .libraryName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn platform(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .platform)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn language(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .language)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn editAndContinueEnabled( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .editAndContinueEnabled)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn frontEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .frontEndMajor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .frontEndMinor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .frontEndBuild)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .backEndMajor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .backEndMinor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .backEndBuild)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sourceFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .sourceFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn unused(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .unused)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn thunkOrdinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .thunkOrdinal)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn thisAdjust(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .thisAdjust)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .virtualBaseOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn r#virtual( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .r#virtual)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn intro(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .intro)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn pure(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .pure)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn callingConvention(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .callingConvention)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn value(&self) -> ::windows_core::Result<::windows_core::VARIANT> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .value)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn baseType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .baseType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn token(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .token)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn timeStamp(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .timeStamp)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn guid(&self) -> ::windows_core::Result<::windows_core::GUID> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .guid)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn symbolsFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .symbolsFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn reference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .reference)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .count)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bitPosition(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .bitPosition)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn arrayIndexType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .arrayIndexType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn packed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .packed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn constructor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .constructor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn overloadedOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .overloadedOperator)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn nested(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .nested)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasNestedTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .hasNestedTypes)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasAssignmentOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .hasAssignmentOperator)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn hasCastOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .hasCastOperator)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn scoped(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .scoped)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .virtualBaseClass)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn indirectVirtualBaseClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .indirectVirtualBaseClass)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualBasePointerOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .virtualBasePointerOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualTableShape(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .virtualTableShape)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lexicalParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .lexicalParentId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn classParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .classParentId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn typeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .typeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn arrayIndexTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .arrayIndexTypeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualTableShapeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .virtualTableShapeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn code(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .code)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn function( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .function)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn managed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .managed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn msil(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .msil)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseDispIndex(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .virtualBaseDispIndex)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn undecoratedName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .undecoratedName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn age(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .age)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn signature(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .signature)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn compilerGenerated( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .compilerGenerated)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn addressTaken( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .addressTaken)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn rank(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .rank)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn lowerBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .lowerBound)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn upperBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .upperBound)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lowerBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .lowerBoundId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn upperBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .upperBoundId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_dataBytes( - &self, - pcbdata: *mut u32, - pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .get_dataBytes)( - ::windows_core::Interface::as_raw(self), - pbdata.len().try_into().unwrap(), - pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), - ) - .ok() - } - pub unsafe fn findChildren( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .findChildren)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenEx( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .findChildrenEx)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByAddr( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - isect: u32, - offset: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .findChildrenExByAddr)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByVA( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - va: u64, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .findChildrenExByVA)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - va, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByRVA( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - rva: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .findChildrenExByRVA)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - rva, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn targetSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .targetSection)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn targetOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .targetOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn targetRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .targetRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn targetVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .targetVirtualAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn machineType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .machineType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn oemId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .oemId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn oemSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .oemSymbolId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_types( - &self, - pctypes: *mut u32, - ptypes: &mut [::core::option::Option], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .get_types)( - ::windows_core::Interface::as_raw(self), - ptypes.len().try_into().unwrap(), - pctypes, - ::core::mem::transmute(ptypes.as_ptr()), - ) - .ok() - } - pub unsafe fn get_typeIds( - &self, - pctypeids: *mut u32, - pdwtypeids: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .get_typeIds)( - ::windows_core::Interface::as_raw(self), - pdwtypeids.len().try_into().unwrap(), - pctypeids, - ::core::mem::transmute(pdwtypeids.as_ptr()), - ) - .ok() - } - pub unsafe fn objectPointerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .objectPointerType)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn udtKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .udtKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_undecoratedNameEx( - &self, - undecorateoptions: u32, - ) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .get_undecoratedNameEx)( - ::windows_core::Interface::as_raw(self), - undecorateoptions, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn noReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .noReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn customCallingConvention( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .customCallingConvention)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn noInline( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .noInline)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn optimizedCodeDebugInfo( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .optimizedCodeDebugInfo)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn notReached( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .notReached)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn interruptReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .interruptReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn farReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .farReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isStatic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isStatic)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasDebugInfo( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .hasDebugInfo)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isLTCG(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isLTCG)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isDataAligned( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isDataAligned)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSecurityChecks( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .hasSecurityChecks)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn compilerName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .compilerName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasAlloca( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .hasAlloca)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSetJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .hasSetJump)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasLongJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .hasLongJump)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasInlAsm( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .hasInlAsm)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .hasEH)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .hasSEH)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasEHa(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .hasEHa)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isNaked(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isNaked)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isAggregated( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isAggregated)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isSplitted( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isSplitted)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn container(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .container)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn inlSpec(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .inlSpec)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noStackOrdering( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .noStackOrdering)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseTableType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .virtualBaseTableType)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasManagedCode( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .hasManagedCode)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isHotpatchable( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isHotpatchable)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCVTCIL( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isCVTCIL)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isMSILNetmodule( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isMSILNetmodule)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isCTypes)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isStripped( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isStripped)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .frontEndQFE)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .backEndQFE)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn wasInlined( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .wasInlined)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn strictGSCheck( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .strictGSCheck)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCxxReturnUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isCxxReturnUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isConstructorVirtualBase( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isConstructorVirtualBase)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn RValueReference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .RValueReference)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unmodifiedType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .unmodifiedType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn framePointerPresent( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .framePointerPresent)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSafeBuffers( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isSafeBuffers)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn intrinsic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .intrinsic)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sealed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .sealed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hfaFloat( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .hfaFloat)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hfaDouble( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .hfaDouble)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn liveRangeStartAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .liveRangeStartAddressSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .liveRangeStartAddressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .liveRangeStartRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn countLiveRanges(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .countLiveRanges)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn liveRangeLength(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .liveRangeLength)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn offsetInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .offsetInUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn paramBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .paramBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn localBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .localBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isLocationControlFlowDependent( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isLocationControlFlowDependent)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn stride(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .stride)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn numberOfRows(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .numberOfRows)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn numberOfColumns(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .numberOfColumns)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isMatrixRowMajor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isMatrixRowMajor)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn get_numericProperties( - &self, - pcnt: *mut u32, - pproperties: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .get_numericProperties)( - ::windows_core::Interface::as_raw(self), - pproperties.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(pproperties.as_ptr()), - ) - .ok() - } - pub unsafe fn get_modifierValues( - &self, - pcnt: *mut u32, - pmodifiers: &mut [u16], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .get_modifierValues)( - ::windows_core::Interface::as_raw(self), - pmodifiers.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(pmodifiers.as_ptr()), - ) - .ok() - } - pub unsafe fn isReturnValue( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isReturnValue)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isOptimizedAway( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isOptimizedAway)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn builtInKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .builtInKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn registerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .registerType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn baseDataSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .baseDataSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn baseDataOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .baseDataOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn textureSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .textureSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn samplerSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .samplerSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn uavSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .uavSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sizeInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .sizeInUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn memorySpaceKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .memorySpaceKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unmodifiedTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .unmodifiedTypeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn subTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .subTypeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn subType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .subType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn numberOfModifiers(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .numberOfModifiers)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn numberOfRegisterIndices(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .numberOfRegisterIndices)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isHLSLData( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isHLSLData)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isPointerToDataMember( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isPointerToDataMember)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isPointerToMemberFunction( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isPointerToMemberFunction)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSingleInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isSingleInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isMultipleInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isMultipleInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isVirtualInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isVirtualInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn restrictedType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .restrictedType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isPointerBasedOnSymbolValue( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isPointerBasedOnSymbolValue)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn baseSymbol(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .baseSymbol)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn baseSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .baseSymbolId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn objectFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .objectFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn isAcceleratorGroupSharedLocal( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isAcceleratorGroupSharedLocal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAcceleratorPointerTagLiveRange( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isAcceleratorPointerTagLiveRange)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAcceleratorStubFunction( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isAcceleratorStubFunction)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn numberOfAcceleratorPointerTags(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .numberOfAcceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isSdl(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isSdl)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isWinRTPointer( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isWinRTPointer)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isRefUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isRefUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isValueUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isValueUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isInterfaceUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isInterfaceUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn findInlineFramesByAddr( - &self, - isect: u32, - offset: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .findInlineFramesByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineFramesByRVA( - &self, - rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .findInlineFramesByRVA)( - ::windows_core::Interface::as_raw(self), rva, &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineFramesByVA( - &self, - va: u64, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .findInlineFramesByVA)( - ::windows_core::Interface::as_raw(self), va, &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLines(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .findInlineeLines)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByAddr( - &self, - isect: u32, - offset: u32, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .findInlineeLinesByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByRVA( - &self, - rva: u32, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .findInlineeLinesByRVA)( - ::windows_core::Interface::as_raw(self), - rva, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByVA( - &self, - va: u64, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .findInlineeLinesByVA)( - ::windows_core::Interface::as_raw(self), - va, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findSymbolsForAcceleratorPointerTag( - &self, - tagvalue: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .findSymbolsForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - tagvalue, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findSymbolsByRVAForAcceleratorPointerTag( - &self, - tagvalue: u32, - rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .findSymbolsByRVAForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - tagvalue, - rva, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn get_acceleratorPointerTags( - &self, - pcnt: *mut u32, - ppointertags: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .get_acceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), - ppointertags.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(ppointertags.as_ptr()), - ) - .ok() - } - pub unsafe fn getSrcLineOnTypeDefn(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .getSrcLineOnTypeDefn)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn isPGO(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isPGO)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasValidPGOCounts( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .hasValidPGOCounts)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isOptimizedForSpeed( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isOptimizedForSpeed)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn PGOEntryCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .PGOEntryCount)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn PGOEdgeCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .PGOEdgeCount)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn PGODynamicInstructionCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .PGODynamicInstructionCount)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn staticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .staticSize)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn finalLiveStaticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .finalLiveStaticSize)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn phaseName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .phaseName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasControlFlowCheck( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .hasControlFlowCheck)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn constantExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .constantExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn dataExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .dataExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn privateExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .privateExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noNameExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .noNameExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn exportHasExplicitlyAssignedOrdinal( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .exportHasExplicitlyAssignedOrdinal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exportIsForwarder( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .exportIsForwarder)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn ordinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .ordinal)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frameSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .frameSize)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn exceptionHandlerAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .exceptionHandlerAddressSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .exceptionHandlerAddressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .exceptionHandlerRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .exceptionHandlerVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn findInputAssemblyFile( - &self, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .findInputAssemblyFile)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn characteristics(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .characteristics)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn coffGroup(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .coffGroup)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn bindID(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .bindID)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bindSpace(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .bindSpace)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bindSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .bindSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isObjCClass)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCCategory( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isObjCCategory)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCProtocol( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isObjCProtocol)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn inlinee(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.inlinee)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn inlineeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.inlineeId)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn noexcept( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).noexcept)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - } - #[repr(C)] - pub struct IDiaSymbol4_Vtbl { - pub base__: IDiaSymbol3_Vtbl, - pub noexcept: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - } - ::windows_core::imp::com_interface!( - IDiaSymbol5, - IDiaSymbol5_Vtbl, - 0xabe2de00_dc2d_4793_af9a_ef1d90832644 - ); - ::windows_core::imp::interface_hierarchy!( - IDiaSymbol5, - ::windows_core::IUnknown, - IDiaSymbol, - IDiaSymbol2, - IDiaSymbol3, - IDiaSymbol4 - ); - impl IDiaSymbol5 { - pub unsafe fn symIndexId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .symIndexId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn symTag(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .symTag)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn name(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .name)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lexicalParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .lexicalParent)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn classParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .classParent)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn r#type(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .r#type)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn dataKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .dataKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn locationType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .locationType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn addressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .addressSection)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn addressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .addressOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn relativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .relativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .virtualAddress)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn registerId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .registerId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn offset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .offset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn length(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .length)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn slot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .slot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn volatileType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .volatileType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn constType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .constType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unalignedType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .unalignedType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn access(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .access)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn libraryName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .libraryName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn platform(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .platform)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn language(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .language)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn editAndContinueEnabled( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .editAndContinueEnabled)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn frontEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .frontEndMajor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .frontEndMinor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .frontEndBuild)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .backEndMajor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .backEndMinor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .backEndBuild)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sourceFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .sourceFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn unused(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .unused)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn thunkOrdinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .thunkOrdinal)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn thisAdjust(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .thisAdjust)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .virtualBaseOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn r#virtual( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .r#virtual)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn intro(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .intro)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn pure(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .pure)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn callingConvention(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .callingConvention)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn value(&self) -> ::windows_core::Result<::windows_core::VARIANT> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .value)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn baseType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .baseType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn token(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .token)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn timeStamp(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .timeStamp)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn guid(&self) -> ::windows_core::Result<::windows_core::GUID> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .guid)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn symbolsFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .symbolsFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn reference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .reference)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .count)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bitPosition(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .bitPosition)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn arrayIndexType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .arrayIndexType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn packed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .packed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn constructor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .constructor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn overloadedOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .overloadedOperator)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn nested(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .nested)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasNestedTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .hasNestedTypes)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasAssignmentOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .hasAssignmentOperator)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn hasCastOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .hasCastOperator)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn scoped(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .scoped)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .virtualBaseClass)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn indirectVirtualBaseClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .indirectVirtualBaseClass)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualBasePointerOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .virtualBasePointerOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualTableShape(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .virtualTableShape)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lexicalParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .lexicalParentId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn classParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .classParentId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn typeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .typeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn arrayIndexTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .arrayIndexTypeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualTableShapeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .virtualTableShapeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn code(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .code)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn function( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .function)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn managed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .managed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn msil(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .msil)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseDispIndex(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .virtualBaseDispIndex)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn undecoratedName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .undecoratedName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn age(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .age)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn signature(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .signature)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn compilerGenerated( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .compilerGenerated)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn addressTaken( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .addressTaken)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn rank(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .rank)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn lowerBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .lowerBound)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn upperBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .upperBound)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lowerBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .lowerBoundId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn upperBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .upperBoundId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_dataBytes( - &self, - pcbdata: *mut u32, - pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .get_dataBytes)( - ::windows_core::Interface::as_raw(self), - pbdata.len().try_into().unwrap(), - pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), - ) - .ok() - } - pub unsafe fn findChildren( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .findChildren)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenEx( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .findChildrenEx)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByAddr( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - isect: u32, - offset: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .findChildrenExByAddr)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByVA( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - va: u64, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .findChildrenExByVA)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - va, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByRVA( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - rva: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .findChildrenExByRVA)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - rva, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn targetSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .targetSection)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn targetOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .targetOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn targetRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .targetRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn targetVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .targetVirtualAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn machineType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .machineType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn oemId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .oemId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn oemSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .oemSymbolId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_types( - &self, - pctypes: *mut u32, - ptypes: &mut [::core::option::Option], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .get_types)( - ::windows_core::Interface::as_raw(self), - ptypes.len().try_into().unwrap(), - pctypes, - ::core::mem::transmute(ptypes.as_ptr()), - ) - .ok() - } - pub unsafe fn get_typeIds( - &self, - pctypeids: *mut u32, - pdwtypeids: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .get_typeIds)( - ::windows_core::Interface::as_raw(self), - pdwtypeids.len().try_into().unwrap(), - pctypeids, - ::core::mem::transmute(pdwtypeids.as_ptr()), - ) - .ok() - } - pub unsafe fn objectPointerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .objectPointerType)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn udtKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .udtKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_undecoratedNameEx( - &self, - undecorateoptions: u32, - ) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .get_undecoratedNameEx)( - ::windows_core::Interface::as_raw(self), - undecorateoptions, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn noReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .noReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn customCallingConvention( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .customCallingConvention)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn noInline( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .noInline)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn optimizedCodeDebugInfo( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .optimizedCodeDebugInfo)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn notReached( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .notReached)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn interruptReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .interruptReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn farReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .farReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isStatic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isStatic)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasDebugInfo( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .hasDebugInfo)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isLTCG(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isLTCG)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isDataAligned( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isDataAligned)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSecurityChecks( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .hasSecurityChecks)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn compilerName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .compilerName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasAlloca( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .hasAlloca)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSetJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .hasSetJump)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasLongJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .hasLongJump)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasInlAsm( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .hasInlAsm)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .hasEH)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .hasSEH)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasEHa(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .hasEHa)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isNaked(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isNaked)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isAggregated( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isAggregated)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isSplitted( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isSplitted)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn container(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .container)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn inlSpec(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .inlSpec)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noStackOrdering( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .noStackOrdering)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseTableType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .virtualBaseTableType)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasManagedCode( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .hasManagedCode)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isHotpatchable( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isHotpatchable)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCVTCIL( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isCVTCIL)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isMSILNetmodule( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isMSILNetmodule)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isCTypes)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isStripped( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isStripped)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .frontEndQFE)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .backEndQFE)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn wasInlined( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .wasInlined)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn strictGSCheck( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .strictGSCheck)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCxxReturnUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isCxxReturnUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isConstructorVirtualBase( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isConstructorVirtualBase)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn RValueReference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .RValueReference)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unmodifiedType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .unmodifiedType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn framePointerPresent( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .framePointerPresent)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSafeBuffers( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isSafeBuffers)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn intrinsic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .intrinsic)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sealed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .sealed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hfaFloat( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .hfaFloat)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hfaDouble( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .hfaDouble)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn liveRangeStartAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .liveRangeStartAddressSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .liveRangeStartAddressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .liveRangeStartRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn countLiveRanges(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .countLiveRanges)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn liveRangeLength(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .liveRangeLength)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn offsetInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .offsetInUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn paramBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .paramBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn localBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .localBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isLocationControlFlowDependent( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isLocationControlFlowDependent)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn stride(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .stride)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn numberOfRows(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .numberOfRows)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn numberOfColumns(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .numberOfColumns)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isMatrixRowMajor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isMatrixRowMajor)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn get_numericProperties( - &self, - pcnt: *mut u32, - pproperties: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .get_numericProperties)( - ::windows_core::Interface::as_raw(self), - pproperties.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(pproperties.as_ptr()), - ) - .ok() - } - pub unsafe fn get_modifierValues( - &self, - pcnt: *mut u32, - pmodifiers: &mut [u16], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .get_modifierValues)( - ::windows_core::Interface::as_raw(self), - pmodifiers.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(pmodifiers.as_ptr()), - ) - .ok() - } - pub unsafe fn isReturnValue( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isReturnValue)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isOptimizedAway( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isOptimizedAway)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn builtInKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .builtInKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn registerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .registerType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn baseDataSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .baseDataSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn baseDataOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .baseDataOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn textureSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .textureSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn samplerSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .samplerSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn uavSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .uavSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sizeInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .sizeInUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn memorySpaceKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .memorySpaceKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unmodifiedTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .unmodifiedTypeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn subTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .subTypeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn subType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .subType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn numberOfModifiers(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .numberOfModifiers)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn numberOfRegisterIndices(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .numberOfRegisterIndices)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isHLSLData( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isHLSLData)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isPointerToDataMember( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isPointerToDataMember)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isPointerToMemberFunction( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isPointerToMemberFunction)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSingleInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isSingleInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isMultipleInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isMultipleInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isVirtualInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isVirtualInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn restrictedType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .restrictedType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isPointerBasedOnSymbolValue( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isPointerBasedOnSymbolValue)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn baseSymbol(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .baseSymbol)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn baseSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .baseSymbolId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn objectFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .objectFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn isAcceleratorGroupSharedLocal( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isAcceleratorGroupSharedLocal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAcceleratorPointerTagLiveRange( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isAcceleratorPointerTagLiveRange)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAcceleratorStubFunction( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isAcceleratorStubFunction)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn numberOfAcceleratorPointerTags(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .numberOfAcceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isSdl(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isSdl)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isWinRTPointer( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isWinRTPointer)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isRefUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isRefUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isValueUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isValueUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isInterfaceUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isInterfaceUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn findInlineFramesByAddr( - &self, - isect: u32, - offset: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineFramesByRVA( - &self, - rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByRVA)( - ::windows_core::Interface::as_raw(self), rva, &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineFramesByVA( - &self, - va: u64, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByVA)( - ::windows_core::Interface::as_raw(self), va, &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLines(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .findInlineeLines)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByAddr( - &self, - isect: u32, - offset: u32, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByRVA( - &self, - rva: u32, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByRVA)( - ::windows_core::Interface::as_raw(self), - rva, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByVA( - &self, - va: u64, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByVA)( - ::windows_core::Interface::as_raw(self), - va, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findSymbolsForAcceleratorPointerTag( - &self, - tagvalue: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .findSymbolsForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - tagvalue, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findSymbolsByRVAForAcceleratorPointerTag( - &self, - tagvalue: u32, - rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .findSymbolsByRVAForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - tagvalue, - rva, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn get_acceleratorPointerTags( - &self, - pcnt: *mut u32, - ppointertags: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .get_acceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), - ppointertags.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(ppointertags.as_ptr()), - ) - .ok() - } - pub unsafe fn getSrcLineOnTypeDefn(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .getSrcLineOnTypeDefn)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn isPGO(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isPGO)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasValidPGOCounts( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .hasValidPGOCounts)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isOptimizedForSpeed( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isOptimizedForSpeed)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn PGOEntryCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .PGOEntryCount)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn PGOEdgeCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .PGOEdgeCount)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn PGODynamicInstructionCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .PGODynamicInstructionCount)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn staticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .staticSize)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn finalLiveStaticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .finalLiveStaticSize)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn phaseName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .phaseName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasControlFlowCheck( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .hasControlFlowCheck)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn constantExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .constantExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn dataExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .dataExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn privateExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .privateExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noNameExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .noNameExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn exportHasExplicitlyAssignedOrdinal( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .exportHasExplicitlyAssignedOrdinal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exportIsForwarder( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .exportIsForwarder)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn ordinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .ordinal)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frameSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .frameSize)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn exceptionHandlerAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerAddressSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerAddressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn findInputAssemblyFile( - &self, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .findInputAssemblyFile)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn characteristics(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .characteristics)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn coffGroup(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .coffGroup)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn bindID(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .bindID)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bindSpace(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .bindSpace)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bindSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .bindSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isObjCClass)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCCategory( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isObjCCategory)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCProtocol( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isObjCProtocol)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn inlinee(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .inlinee)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn inlineeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .inlineeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noexcept( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.noexcept)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn hasAbsoluteAddress( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).hasAbsoluteAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - } - #[repr(C)] - pub struct IDiaSymbol5_Vtbl { - pub base__: IDiaSymbol4_Vtbl, - pub hasAbsoluteAddress: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - } - ::windows_core::imp::com_interface!( - IDiaSymbol6, - IDiaSymbol6_Vtbl, - 0x8133dad3_75fe_4234_ac7e_f8e7a1d3cbb3 - ); - ::windows_core::imp::interface_hierarchy!( - IDiaSymbol6, - ::windows_core::IUnknown, - IDiaSymbol, - IDiaSymbol2, - IDiaSymbol3, - IDiaSymbol4, - IDiaSymbol5 - ); - impl IDiaSymbol6 { - pub unsafe fn symIndexId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .symIndexId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn symTag(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .symTag)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn name(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .name)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lexicalParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .lexicalParent)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn classParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .classParent)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn r#type(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .r#type)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn dataKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .dataKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn locationType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .locationType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn addressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .addressSection)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn addressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .addressOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn relativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .relativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualAddress)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn registerId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .registerId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn offset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .offset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn length(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .length)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn slot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .slot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn volatileType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .volatileType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn constType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .constType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unalignedType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .unalignedType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn access(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .access)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn libraryName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .libraryName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn platform(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .platform)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn language(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .language)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn editAndContinueEnabled( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .editAndContinueEnabled)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn frontEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndMajor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndMinor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndBuild)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndMajor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndMinor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndBuild)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sourceFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .sourceFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn unused(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .unused)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn thunkOrdinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .thunkOrdinal)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn thisAdjust(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .thisAdjust)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn r#virtual( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .r#virtual)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn intro(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .intro)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn pure(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .pure)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn callingConvention(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .callingConvention)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn value(&self) -> ::windows_core::Result<::windows_core::VARIANT> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .value)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn baseType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .baseType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn token(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .token)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn timeStamp(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .timeStamp)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn guid(&self) -> ::windows_core::Result<::windows_core::GUID> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .guid)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn symbolsFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .symbolsFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn reference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .reference)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .count)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bitPosition(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .bitPosition)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn arrayIndexType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .arrayIndexType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn packed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .packed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn constructor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .constructor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn overloadedOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .overloadedOperator)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn nested(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .nested)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasNestedTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .hasNestedTypes)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasAssignmentOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .hasAssignmentOperator)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn hasCastOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .hasCastOperator)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn scoped(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .scoped)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseClass)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn indirectVirtualBaseClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .indirectVirtualBaseClass)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualBasePointerOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBasePointerOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualTableShape(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualTableShape)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lexicalParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .lexicalParentId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn classParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .classParentId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn typeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .typeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn arrayIndexTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .arrayIndexTypeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualTableShapeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualTableShapeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn code(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .code)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn function( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .function)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn managed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .managed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn msil(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .msil)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseDispIndex(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseDispIndex)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn undecoratedName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .undecoratedName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn age(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .age)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn signature(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .signature)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn compilerGenerated( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .compilerGenerated)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn addressTaken( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .addressTaken)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn rank(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .rank)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn lowerBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .lowerBound)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn upperBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .upperBound)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lowerBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .lowerBoundId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn upperBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .upperBoundId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_dataBytes( - &self, - pcbdata: *mut u32, - pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .get_dataBytes)( - ::windows_core::Interface::as_raw(self), - pbdata.len().try_into().unwrap(), - pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), - ) - .ok() - } - pub unsafe fn findChildren( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildren)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenEx( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenEx)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByAddr( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - isect: u32, - offset: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenExByAddr)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByVA( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - va: u64, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenExByVA)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - va, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByRVA( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - rva: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenExByRVA)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - rva, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn targetSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .targetSection)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn targetOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .targetOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn targetRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .targetRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn targetVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .targetVirtualAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn machineType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .machineType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn oemId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .oemId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn oemSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .oemSymbolId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_types( - &self, - pctypes: *mut u32, - ptypes: &mut [::core::option::Option], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .get_types)( - ::windows_core::Interface::as_raw(self), - ptypes.len().try_into().unwrap(), - pctypes, - ::core::mem::transmute(ptypes.as_ptr()), - ) - .ok() - } - pub unsafe fn get_typeIds( - &self, - pctypeids: *mut u32, - pdwtypeids: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .get_typeIds)( - ::windows_core::Interface::as_raw(self), - pdwtypeids.len().try_into().unwrap(), - pctypeids, - ::core::mem::transmute(pdwtypeids.as_ptr()), - ) - .ok() - } - pub unsafe fn objectPointerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .objectPointerType)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn udtKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .udtKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_undecoratedNameEx( - &self, - undecorateoptions: u32, - ) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .get_undecoratedNameEx)( - ::windows_core::Interface::as_raw(self), - undecorateoptions, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn noReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .noReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn customCallingConvention( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .customCallingConvention)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn noInline( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .noInline)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn optimizedCodeDebugInfo( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .optimizedCodeDebugInfo)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn notReached( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .notReached)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn interruptReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .interruptReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn farReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .farReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isStatic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isStatic)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasDebugInfo( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .hasDebugInfo)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isLTCG(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isLTCG)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isDataAligned( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isDataAligned)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSecurityChecks( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .hasSecurityChecks)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn compilerName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .compilerName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasAlloca( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .hasAlloca)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSetJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .hasSetJump)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasLongJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .hasLongJump)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasInlAsm( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .hasInlAsm)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .hasEH)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .hasSEH)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasEHa(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .hasEHa)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isNaked(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isNaked)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isAggregated( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isAggregated)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isSplitted( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isSplitted)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn container(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .container)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn inlSpec(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .inlSpec)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noStackOrdering( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .noStackOrdering)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseTableType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseTableType)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasManagedCode( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .hasManagedCode)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isHotpatchable( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isHotpatchable)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCVTCIL( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isCVTCIL)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isMSILNetmodule( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isMSILNetmodule)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isCTypes)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isStripped( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isStripped)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndQFE)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndQFE)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn wasInlined( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .wasInlined)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn strictGSCheck( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .strictGSCheck)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCxxReturnUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isCxxReturnUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isConstructorVirtualBase( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isConstructorVirtualBase)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn RValueReference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .RValueReference)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unmodifiedType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .unmodifiedType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn framePointerPresent( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .framePointerPresent)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSafeBuffers( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isSafeBuffers)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn intrinsic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .intrinsic)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sealed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .sealed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hfaFloat( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .hfaFloat)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hfaDouble( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .hfaDouble)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn liveRangeStartAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeStartAddressSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeStartAddressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeStartRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn countLiveRanges(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .countLiveRanges)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn liveRangeLength(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeLength)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn offsetInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .offsetInUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn paramBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .paramBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn localBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .localBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isLocationControlFlowDependent( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isLocationControlFlowDependent)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn stride(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .stride)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn numberOfRows(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfRows)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn numberOfColumns(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfColumns)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isMatrixRowMajor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isMatrixRowMajor)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn get_numericProperties( - &self, - pcnt: *mut u32, - pproperties: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .get_numericProperties)( - ::windows_core::Interface::as_raw(self), - pproperties.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(pproperties.as_ptr()), - ) - .ok() - } - pub unsafe fn get_modifierValues( - &self, - pcnt: *mut u32, - pmodifiers: &mut [u16], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .get_modifierValues)( - ::windows_core::Interface::as_raw(self), - pmodifiers.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(pmodifiers.as_ptr()), - ) - .ok() - } - pub unsafe fn isReturnValue( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isReturnValue)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isOptimizedAway( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isOptimizedAway)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn builtInKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .builtInKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn registerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .registerType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn baseDataSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .baseDataSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn baseDataOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .baseDataOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn textureSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .textureSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn samplerSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .samplerSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn uavSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .uavSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sizeInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .sizeInUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn memorySpaceKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .memorySpaceKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unmodifiedTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .unmodifiedTypeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn subTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .subTypeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn subType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .subType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn numberOfModifiers(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfModifiers)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn numberOfRegisterIndices(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfRegisterIndices)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isHLSLData( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isHLSLData)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isPointerToDataMember( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isPointerToDataMember)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isPointerToMemberFunction( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isPointerToMemberFunction)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSingleInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isSingleInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isMultipleInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isMultipleInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isVirtualInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isVirtualInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn restrictedType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .restrictedType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isPointerBasedOnSymbolValue( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isPointerBasedOnSymbolValue)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn baseSymbol(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .baseSymbol)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn baseSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .baseSymbolId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn objectFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .objectFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn isAcceleratorGroupSharedLocal( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isAcceleratorGroupSharedLocal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAcceleratorPointerTagLiveRange( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isAcceleratorPointerTagLiveRange)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAcceleratorStubFunction( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isAcceleratorStubFunction)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn numberOfAcceleratorPointerTags(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfAcceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isSdl(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isSdl)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isWinRTPointer( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isWinRTPointer)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isRefUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isRefUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isValueUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isValueUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isInterfaceUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isInterfaceUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn findInlineFramesByAddr( - &self, - isect: u32, - offset: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineFramesByRVA( - &self, - rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByRVA)( - ::windows_core::Interface::as_raw(self), rva, &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineFramesByVA( - &self, - va: u64, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByVA)( - ::windows_core::Interface::as_raw(self), va, &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLines(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLines)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByAddr( - &self, - isect: u32, - offset: u32, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByRVA( - &self, - rva: u32, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByRVA)( - ::windows_core::Interface::as_raw(self), - rva, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByVA( - &self, - va: u64, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByVA)( - ::windows_core::Interface::as_raw(self), - va, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findSymbolsForAcceleratorPointerTag( - &self, - tagvalue: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .findSymbolsForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - tagvalue, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findSymbolsByRVAForAcceleratorPointerTag( - &self, - tagvalue: u32, - rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .findSymbolsByRVAForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - tagvalue, - rva, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn get_acceleratorPointerTags( - &self, - pcnt: *mut u32, - ppointertags: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .get_acceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), - ppointertags.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(ppointertags.as_ptr()), - ) - .ok() - } - pub unsafe fn getSrcLineOnTypeDefn(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .getSrcLineOnTypeDefn)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn isPGO(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isPGO)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasValidPGOCounts( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .hasValidPGOCounts)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isOptimizedForSpeed( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isOptimizedForSpeed)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn PGOEntryCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .PGOEntryCount)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn PGOEdgeCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .PGOEdgeCount)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn PGODynamicInstructionCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .PGODynamicInstructionCount)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn staticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .staticSize)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn finalLiveStaticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .finalLiveStaticSize)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn phaseName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .phaseName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasControlFlowCheck( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .hasControlFlowCheck)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn constantExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .constantExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn dataExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .dataExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn privateExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .privateExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noNameExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .noNameExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn exportHasExplicitlyAssignedOrdinal( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .exportHasExplicitlyAssignedOrdinal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exportIsForwarder( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .exportIsForwarder)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn ordinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .ordinal)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frameSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .frameSize)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn exceptionHandlerAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerAddressSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerAddressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn findInputAssemblyFile( - &self, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .findInputAssemblyFile)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn characteristics(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .characteristics)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn coffGroup(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .coffGroup)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn bindID(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .bindID)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bindSpace(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .bindSpace)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bindSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .bindSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isObjCClass)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCCategory( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isObjCCategory)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCProtocol( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .isObjCProtocol)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn inlinee(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .inlinee)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn inlineeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .inlineeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noexcept( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .noexcept)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasAbsoluteAddress( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .hasAbsoluteAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isStaticMemberFunc( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isStaticMemberFunc)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - } - #[repr(C)] - pub struct IDiaSymbol6_Vtbl { - pub base__: IDiaSymbol5_Vtbl, - pub isStaticMemberFunc: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - } - ::windows_core::imp::com_interface!( - IDiaSymbol7, - IDiaSymbol7_Vtbl, - 0x64ce6cd5_7315_4328_86d6_10e303e010b4 - ); - ::windows_core::imp::interface_hierarchy!( - IDiaSymbol7, - ::windows_core::IUnknown, - IDiaSymbol, - IDiaSymbol2, - IDiaSymbol3, - IDiaSymbol4, - IDiaSymbol5, - IDiaSymbol6 - ); - impl IDiaSymbol7 { - pub unsafe fn symIndexId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .symIndexId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn symTag(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .symTag)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn name(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .name)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lexicalParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .lexicalParent)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn classParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .classParent)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn r#type(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .r#type)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn dataKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .dataKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn locationType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .locationType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn addressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .addressSection)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn addressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .addressOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn relativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .relativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualAddress)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn registerId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .registerId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn offset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .offset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn length(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .length)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn slot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .slot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn volatileType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .volatileType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn constType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .constType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unalignedType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .unalignedType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn access(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .access)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn libraryName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .libraryName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn platform(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .platform)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn language(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .language)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn editAndContinueEnabled( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .editAndContinueEnabled)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn frontEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndMajor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndMinor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndBuild)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndMajor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndMinor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndBuild)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sourceFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .sourceFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn unused(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .unused)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn thunkOrdinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .thunkOrdinal)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn thisAdjust(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .thisAdjust)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn r#virtual( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .r#virtual)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn intro(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .intro)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn pure(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .pure)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn callingConvention(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .callingConvention)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn value(&self) -> ::windows_core::Result<::windows_core::VARIANT> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .value)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn baseType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn token(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .token)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn timeStamp(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .timeStamp)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn guid(&self) -> ::windows_core::Result<::windows_core::GUID> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .guid)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn symbolsFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .symbolsFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn reference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .reference)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .count)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bitPosition(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .bitPosition)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn arrayIndexType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .arrayIndexType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn packed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .packed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn constructor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .constructor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn overloadedOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .overloadedOperator)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn nested(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .nested)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasNestedTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasNestedTypes)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasAssignmentOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasAssignmentOperator)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn hasCastOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasCastOperator)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn scoped(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .scoped)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseClass)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn indirectVirtualBaseClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .indirectVirtualBaseClass)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualBasePointerOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBasePointerOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualTableShape(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualTableShape)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lexicalParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .lexicalParentId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn classParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .classParentId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn typeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .typeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn arrayIndexTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .arrayIndexTypeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualTableShapeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualTableShapeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn code(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .code)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn function( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .function)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn managed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .managed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn msil(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .msil)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseDispIndex(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseDispIndex)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn undecoratedName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .undecoratedName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn age(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .age)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn signature(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .signature)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn compilerGenerated( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .compilerGenerated)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn addressTaken( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .addressTaken)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn rank(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .rank)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn lowerBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .lowerBound)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn upperBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .upperBound)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lowerBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .lowerBoundId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn upperBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .upperBoundId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_dataBytes( - &self, - pcbdata: *mut u32, - pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_dataBytes)( - ::windows_core::Interface::as_raw(self), - pbdata.len().try_into().unwrap(), - pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), - ) - .ok() - } - pub unsafe fn findChildren( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildren)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenEx( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenEx)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByAddr( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - isect: u32, - offset: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenExByAddr)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByVA( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - va: u64, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenExByVA)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - va, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByRVA( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - rva: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenExByRVA)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - rva, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn targetSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .targetSection)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn targetOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .targetOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn targetRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .targetRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn targetVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .targetVirtualAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn machineType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .machineType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn oemId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .oemId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn oemSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .oemSymbolId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_types( - &self, - pctypes: *mut u32, - ptypes: &mut [::core::option::Option], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_types)( - ::windows_core::Interface::as_raw(self), - ptypes.len().try_into().unwrap(), - pctypes, - ::core::mem::transmute(ptypes.as_ptr()), - ) - .ok() - } - pub unsafe fn get_typeIds( - &self, - pctypeids: *mut u32, - pdwtypeids: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_typeIds)( - ::windows_core::Interface::as_raw(self), - pdwtypeids.len().try_into().unwrap(), - pctypeids, - ::core::mem::transmute(pdwtypeids.as_ptr()), - ) - .ok() - } - pub unsafe fn objectPointerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .objectPointerType)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn udtKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .udtKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_undecoratedNameEx( - &self, - undecorateoptions: u32, - ) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_undecoratedNameEx)( - ::windows_core::Interface::as_raw(self), - undecorateoptions, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn noReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn customCallingConvention( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .customCallingConvention)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn noInline( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noInline)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn optimizedCodeDebugInfo( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .optimizedCodeDebugInfo)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn notReached( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .notReached)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn interruptReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .interruptReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn farReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .farReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isStatic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isStatic)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasDebugInfo( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasDebugInfo)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isLTCG(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isLTCG)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isDataAligned( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isDataAligned)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSecurityChecks( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasSecurityChecks)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn compilerName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .compilerName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasAlloca( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasAlloca)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSetJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasSetJump)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasLongJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasLongJump)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasInlAsm( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasInlAsm)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasEH)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasSEH)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasEHa(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasEHa)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isNaked(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isNaked)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isAggregated( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isAggregated)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isSplitted( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isSplitted)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn container(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .container)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn inlSpec(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .inlSpec)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noStackOrdering( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noStackOrdering)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseTableType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseTableType)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasManagedCode( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasManagedCode)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isHotpatchable( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isHotpatchable)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCVTCIL( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isCVTCIL)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isMSILNetmodule( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isMSILNetmodule)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isCTypes)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isStripped( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isStripped)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndQFE)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndQFE)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn wasInlined( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .wasInlined)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn strictGSCheck( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .strictGSCheck)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCxxReturnUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isCxxReturnUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isConstructorVirtualBase( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isConstructorVirtualBase)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn RValueReference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .RValueReference)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unmodifiedType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .unmodifiedType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn framePointerPresent( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .framePointerPresent)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSafeBuffers( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isSafeBuffers)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn intrinsic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .intrinsic)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sealed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .sealed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hfaFloat( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hfaFloat)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hfaDouble( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hfaDouble)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn liveRangeStartAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeStartAddressSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeStartAddressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeStartRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn countLiveRanges(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .countLiveRanges)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn liveRangeLength(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeLength)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn offsetInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .offsetInUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn paramBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .paramBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn localBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .localBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isLocationControlFlowDependent( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isLocationControlFlowDependent)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn stride(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .stride)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn numberOfRows(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfRows)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn numberOfColumns(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfColumns)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isMatrixRowMajor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isMatrixRowMajor)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn get_numericProperties( - &self, - pcnt: *mut u32, - pproperties: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_numericProperties)( - ::windows_core::Interface::as_raw(self), - pproperties.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(pproperties.as_ptr()), - ) - .ok() - } - pub unsafe fn get_modifierValues( - &self, - pcnt: *mut u32, - pmodifiers: &mut [u16], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_modifierValues)( - ::windows_core::Interface::as_raw(self), - pmodifiers.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(pmodifiers.as_ptr()), - ) - .ok() - } - pub unsafe fn isReturnValue( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isReturnValue)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isOptimizedAway( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isOptimizedAway)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn builtInKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .builtInKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn registerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .registerType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn baseDataSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseDataSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn baseDataOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseDataOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn textureSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .textureSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn samplerSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .samplerSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn uavSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .uavSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sizeInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .sizeInUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn memorySpaceKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .memorySpaceKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unmodifiedTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .unmodifiedTypeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn subTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .subTypeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn subType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .subType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn numberOfModifiers(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfModifiers)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn numberOfRegisterIndices(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfRegisterIndices)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isHLSLData( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isHLSLData)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isPointerToDataMember( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isPointerToDataMember)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isPointerToMemberFunction( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isPointerToMemberFunction)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSingleInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isSingleInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isMultipleInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isMultipleInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isVirtualInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isVirtualInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn restrictedType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .restrictedType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isPointerBasedOnSymbolValue( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isPointerBasedOnSymbolValue)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn baseSymbol(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseSymbol)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn baseSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseSymbolId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn objectFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .objectFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn isAcceleratorGroupSharedLocal( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isAcceleratorGroupSharedLocal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAcceleratorPointerTagLiveRange( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isAcceleratorPointerTagLiveRange)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAcceleratorStubFunction( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isAcceleratorStubFunction)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn numberOfAcceleratorPointerTags(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfAcceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isSdl(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isSdl)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isWinRTPointer( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isWinRTPointer)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isRefUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isRefUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isValueUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isValueUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isInterfaceUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isInterfaceUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn findInlineFramesByAddr( - &self, - isect: u32, - offset: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineFramesByRVA( - &self, - rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByRVA)( - ::windows_core::Interface::as_raw(self), rva, &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineFramesByVA( - &self, - va: u64, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByVA)( - ::windows_core::Interface::as_raw(self), va, &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLines(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLines)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByAddr( - &self, - isect: u32, - offset: u32, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByRVA( - &self, - rva: u32, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByRVA)( - ::windows_core::Interface::as_raw(self), - rva, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByVA( - &self, - va: u64, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByVA)( - ::windows_core::Interface::as_raw(self), - va, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findSymbolsForAcceleratorPointerTag( - &self, - tagvalue: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findSymbolsForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - tagvalue, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findSymbolsByRVAForAcceleratorPointerTag( - &self, - tagvalue: u32, - rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findSymbolsByRVAForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - tagvalue, - rva, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn get_acceleratorPointerTags( - &self, - pcnt: *mut u32, - ppointertags: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_acceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), - ppointertags.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(ppointertags.as_ptr()), - ) - .ok() - } - pub unsafe fn getSrcLineOnTypeDefn(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .getSrcLineOnTypeDefn)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn isPGO(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isPGO)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasValidPGOCounts( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasValidPGOCounts)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isOptimizedForSpeed( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isOptimizedForSpeed)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn PGOEntryCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .PGOEntryCount)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn PGOEdgeCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .PGOEdgeCount)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn PGODynamicInstructionCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .PGODynamicInstructionCount)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn staticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .staticSize)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn finalLiveStaticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .finalLiveStaticSize)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn phaseName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .phaseName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasControlFlowCheck( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasControlFlowCheck)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn constantExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .constantExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn dataExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .dataExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn privateExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .privateExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noNameExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noNameExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn exportHasExplicitlyAssignedOrdinal( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exportHasExplicitlyAssignedOrdinal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exportIsForwarder( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exportIsForwarder)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn ordinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .ordinal)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frameSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frameSize)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn exceptionHandlerAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerAddressSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerAddressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn findInputAssemblyFile( - &self, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInputAssemblyFile)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn characteristics(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .characteristics)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn coffGroup(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .coffGroup)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn bindID(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .bindID)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bindSpace(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .bindSpace)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bindSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .bindSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isObjCClass)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCCategory( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isObjCCategory)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCProtocol( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .isObjCProtocol)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn inlinee(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .inlinee)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn inlineeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .inlineeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noexcept( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .noexcept)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasAbsoluteAddress( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .hasAbsoluteAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isStaticMemberFunc( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .isStaticMemberFunc)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSignRet( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isSignRet)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - } - #[repr(C)] - pub struct IDiaSymbol7_Vtbl { - pub base__: IDiaSymbol6_Vtbl, - pub isSignRet: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, - } - ::windows_core::imp::com_interface!( - IDiaSymbol8, - IDiaSymbol8_Vtbl, - 0x7f2e041f_1294_41bd_b83a_e715972d2ce3 - ); - ::windows_core::imp::interface_hierarchy!( - IDiaSymbol8, - ::windows_core::IUnknown, - IDiaSymbol, - IDiaSymbol2, - IDiaSymbol3, - IDiaSymbol4, - IDiaSymbol5, - IDiaSymbol6, - IDiaSymbol7 - ); - impl IDiaSymbol8 { - pub unsafe fn symIndexId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .symIndexId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn symTag(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .symTag)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn name(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .name)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lexicalParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .lexicalParent)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn classParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .classParent)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn r#type(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .r#type)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn dataKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .dataKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn locationType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .locationType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn addressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .addressSection)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn addressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .addressOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn relativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .relativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualAddress)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn registerId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .registerId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn offset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .offset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn length(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .length)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn slot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .slot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn volatileType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .volatileType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn constType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .constType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unalignedType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .unalignedType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn access(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .access)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn libraryName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .libraryName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn platform(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .platform)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn language(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .language)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn editAndContinueEnabled( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .editAndContinueEnabled)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn frontEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndMajor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndMinor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndBuild)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndMajor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndMinor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndBuild)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sourceFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .sourceFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn unused(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .unused)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn thunkOrdinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .thunkOrdinal)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn thisAdjust(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .thisAdjust)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn r#virtual( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .r#virtual)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn intro(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .intro)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn pure(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .pure)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn callingConvention(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .callingConvention)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn value(&self) -> ::windows_core::Result<::windows_core::VARIANT> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .value)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn baseType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn token(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .token)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn timeStamp(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .timeStamp)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn guid(&self) -> ::windows_core::Result<::windows_core::GUID> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .guid)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn symbolsFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .symbolsFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn reference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .reference)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .count)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bitPosition(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .bitPosition)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn arrayIndexType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .arrayIndexType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn packed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .packed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn constructor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .constructor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn overloadedOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .overloadedOperator)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn nested(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .nested)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasNestedTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasNestedTypes)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasAssignmentOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasAssignmentOperator)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn hasCastOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasCastOperator)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn scoped(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .scoped)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseClass)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn indirectVirtualBaseClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .indirectVirtualBaseClass)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualBasePointerOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBasePointerOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualTableShape(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualTableShape)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lexicalParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .lexicalParentId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn classParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .classParentId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn typeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .typeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn arrayIndexTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .arrayIndexTypeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualTableShapeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualTableShapeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn code(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .code)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn function( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .function)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn managed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .managed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn msil(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .msil)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseDispIndex(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseDispIndex)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn undecoratedName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .undecoratedName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn age(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .age)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn signature(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .signature)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn compilerGenerated( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .compilerGenerated)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn addressTaken( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .addressTaken)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn rank(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .rank)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn lowerBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .lowerBound)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn upperBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .upperBound)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lowerBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .lowerBoundId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn upperBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .upperBoundId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_dataBytes( - &self, - pcbdata: *mut u32, - pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_dataBytes)( - ::windows_core::Interface::as_raw(self), - pbdata.len().try_into().unwrap(), - pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), - ) - .ok() - } - pub unsafe fn findChildren( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildren)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenEx( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenEx)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByAddr( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - isect: u32, - offset: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenExByAddr)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByVA( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - va: u64, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenExByVA)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - va, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByRVA( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - rva: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenExByRVA)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - rva, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn targetSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .targetSection)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn targetOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .targetOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn targetRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .targetRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn targetVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .targetVirtualAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn machineType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .machineType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn oemId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .oemId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn oemSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .oemSymbolId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_types( - &self, - pctypes: *mut u32, - ptypes: &mut [::core::option::Option], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_types)( - ::windows_core::Interface::as_raw(self), - ptypes.len().try_into().unwrap(), - pctypes, - ::core::mem::transmute(ptypes.as_ptr()), - ) - .ok() - } - pub unsafe fn get_typeIds( - &self, - pctypeids: *mut u32, - pdwtypeids: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_typeIds)( - ::windows_core::Interface::as_raw(self), - pdwtypeids.len().try_into().unwrap(), - pctypeids, - ::core::mem::transmute(pdwtypeids.as_ptr()), - ) - .ok() - } - pub unsafe fn objectPointerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .objectPointerType)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn udtKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .udtKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_undecoratedNameEx( - &self, - undecorateoptions: u32, - ) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_undecoratedNameEx)( - ::windows_core::Interface::as_raw(self), - undecorateoptions, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn noReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn customCallingConvention( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .customCallingConvention)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn noInline( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noInline)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn optimizedCodeDebugInfo( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .optimizedCodeDebugInfo)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn notReached( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .notReached)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn interruptReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .interruptReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn farReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .farReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isStatic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isStatic)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasDebugInfo( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasDebugInfo)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isLTCG(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isLTCG)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isDataAligned( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isDataAligned)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSecurityChecks( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasSecurityChecks)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn compilerName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .compilerName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasAlloca( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasAlloca)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSetJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasSetJump)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasLongJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasLongJump)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasInlAsm( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasInlAsm)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasEH)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasSEH)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasEHa(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasEHa)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isNaked(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isNaked)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isAggregated( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isAggregated)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isSplitted( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isSplitted)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn container(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .container)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn inlSpec(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .inlSpec)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noStackOrdering( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noStackOrdering)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseTableType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseTableType)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasManagedCode( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasManagedCode)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isHotpatchable( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isHotpatchable)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCVTCIL( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isCVTCIL)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isMSILNetmodule( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isMSILNetmodule)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isCTypes)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isStripped( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isStripped)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndQFE)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndQFE)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn wasInlined( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .wasInlined)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn strictGSCheck( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .strictGSCheck)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCxxReturnUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isCxxReturnUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isConstructorVirtualBase( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isConstructorVirtualBase)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn RValueReference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .RValueReference)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unmodifiedType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .unmodifiedType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn framePointerPresent( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .framePointerPresent)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSafeBuffers( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isSafeBuffers)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn intrinsic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .intrinsic)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sealed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .sealed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hfaFloat( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hfaFloat)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hfaDouble( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hfaDouble)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn liveRangeStartAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeStartAddressSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeStartAddressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeStartRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn countLiveRanges(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .countLiveRanges)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn liveRangeLength(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeLength)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn offsetInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .offsetInUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn paramBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .paramBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn localBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .localBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isLocationControlFlowDependent( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isLocationControlFlowDependent)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn stride(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .stride)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn numberOfRows(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfRows)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn numberOfColumns(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfColumns)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isMatrixRowMajor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isMatrixRowMajor)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn get_numericProperties( - &self, - pcnt: *mut u32, - pproperties: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_numericProperties)( - ::windows_core::Interface::as_raw(self), - pproperties.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(pproperties.as_ptr()), - ) - .ok() - } - pub unsafe fn get_modifierValues( - &self, - pcnt: *mut u32, - pmodifiers: &mut [u16], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_modifierValues)( - ::windows_core::Interface::as_raw(self), - pmodifiers.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(pmodifiers.as_ptr()), - ) - .ok() - } - pub unsafe fn isReturnValue( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isReturnValue)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isOptimizedAway( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isOptimizedAway)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn builtInKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .builtInKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn registerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .registerType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn baseDataSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseDataSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn baseDataOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseDataOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn textureSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .textureSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn samplerSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .samplerSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn uavSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .uavSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sizeInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .sizeInUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn memorySpaceKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .memorySpaceKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unmodifiedTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .unmodifiedTypeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn subTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .subTypeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn subType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .subType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn numberOfModifiers(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfModifiers)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn numberOfRegisterIndices(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfRegisterIndices)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isHLSLData( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isHLSLData)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isPointerToDataMember( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isPointerToDataMember)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isPointerToMemberFunction( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isPointerToMemberFunction)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSingleInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isSingleInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isMultipleInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isMultipleInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isVirtualInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isVirtualInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn restrictedType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .restrictedType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isPointerBasedOnSymbolValue( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isPointerBasedOnSymbolValue)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn baseSymbol(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseSymbol)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn baseSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseSymbolId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn objectFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .objectFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn isAcceleratorGroupSharedLocal( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isAcceleratorGroupSharedLocal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAcceleratorPointerTagLiveRange( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isAcceleratorPointerTagLiveRange)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAcceleratorStubFunction( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isAcceleratorStubFunction)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn numberOfAcceleratorPointerTags(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfAcceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isSdl(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isSdl)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isWinRTPointer( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isWinRTPointer)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isRefUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isRefUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isValueUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isValueUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isInterfaceUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isInterfaceUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn findInlineFramesByAddr( - &self, - isect: u32, - offset: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineFramesByRVA( - &self, - rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByRVA)( - ::windows_core::Interface::as_raw(self), rva, &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineFramesByVA( - &self, - va: u64, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByVA)( - ::windows_core::Interface::as_raw(self), va, &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLines(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLines)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByAddr( - &self, - isect: u32, - offset: u32, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByRVA( - &self, - rva: u32, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByRVA)( - ::windows_core::Interface::as_raw(self), - rva, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByVA( - &self, - va: u64, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByVA)( - ::windows_core::Interface::as_raw(self), - va, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findSymbolsForAcceleratorPointerTag( - &self, - tagvalue: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findSymbolsForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - tagvalue, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findSymbolsByRVAForAcceleratorPointerTag( - &self, - tagvalue: u32, - rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findSymbolsByRVAForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - tagvalue, - rva, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn get_acceleratorPointerTags( - &self, - pcnt: *mut u32, - ppointertags: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_acceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), - ppointertags.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(ppointertags.as_ptr()), - ) - .ok() - } - pub unsafe fn getSrcLineOnTypeDefn(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .getSrcLineOnTypeDefn)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn isPGO(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isPGO)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasValidPGOCounts( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasValidPGOCounts)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isOptimizedForSpeed( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isOptimizedForSpeed)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn PGOEntryCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .PGOEntryCount)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn PGOEdgeCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .PGOEdgeCount)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn PGODynamicInstructionCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .PGODynamicInstructionCount)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn staticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .staticSize)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn finalLiveStaticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .finalLiveStaticSize)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn phaseName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .phaseName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasControlFlowCheck( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasControlFlowCheck)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn constantExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .constantExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn dataExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .dataExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn privateExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .privateExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noNameExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noNameExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn exportHasExplicitlyAssignedOrdinal( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exportHasExplicitlyAssignedOrdinal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exportIsForwarder( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exportIsForwarder)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn ordinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .ordinal)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frameSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frameSize)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn exceptionHandlerAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerAddressSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerAddressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn findInputAssemblyFile( - &self, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInputAssemblyFile)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn characteristics(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .characteristics)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn coffGroup(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .coffGroup)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn bindID(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .bindID)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bindSpace(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .bindSpace)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bindSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .bindSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isObjCClass)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCCategory( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isObjCCategory)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCProtocol( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isObjCProtocol)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn inlinee(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .inlinee)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn inlineeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .inlineeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noexcept( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .noexcept)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasAbsoluteAddress( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .hasAbsoluteAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isStaticMemberFunc( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isStaticMemberFunc)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSignRet( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.isSignRet)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn coroutineKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).coroutineKind)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn associatedSymbolKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).associatedSymbolKind)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn associatedSymbolSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).associatedSymbolSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn associatedSymbolOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).associatedSymbolOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn associatedSymbolRva(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).associatedSymbolRva)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn associatedSymbolAddr(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).associatedSymbolAddr)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - } - #[repr(C)] - pub struct IDiaSymbol8_Vtbl { - pub base__: IDiaSymbol7_Vtbl, - pub coroutineKind: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub associatedSymbolKind: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub associatedSymbolSection: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub associatedSymbolOffset: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub associatedSymbolRva: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub associatedSymbolAddr: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u64, - ) -> ::windows_core::HRESULT, - } - ::windows_core::imp::com_interface!( - IDiaSymbol9, - IDiaSymbol9_Vtbl, - 0xa89e5969_92a1_4f8a_b704_00121c37abbb - ); - ::windows_core::imp::interface_hierarchy!( - IDiaSymbol9, - ::windows_core::IUnknown, - IDiaSymbol, - IDiaSymbol2, - IDiaSymbol3, - IDiaSymbol4, - IDiaSymbol5, - IDiaSymbol6, - IDiaSymbol7, - IDiaSymbol8 - ); - impl IDiaSymbol9 { - pub unsafe fn symIndexId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .symIndexId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn symTag(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .symTag)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn name(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .name)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lexicalParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .lexicalParent)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn classParent(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .classParent)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn r#type(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .r#type)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn dataKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .dataKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn locationType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .locationType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn addressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .addressSection)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn addressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .addressOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn relativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .relativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualAddress)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn registerId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .registerId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn offset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .offset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn length(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .length)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn slot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .slot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn volatileType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .volatileType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn constType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .constType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unalignedType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .unalignedType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn access(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .access)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn libraryName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .libraryName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn platform(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .platform)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn language(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .language)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn editAndContinueEnabled( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .editAndContinueEnabled)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn frontEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndMajor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndMinor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndBuild)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndMajor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndMajor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndMinor(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndMinor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndBuild(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndBuild)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sourceFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .sourceFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn unused(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .unused)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn thunkOrdinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .thunkOrdinal)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn thisAdjust(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .thisAdjust)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn r#virtual( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .r#virtual)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn intro(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .intro)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn pure(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .pure)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn callingConvention(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .callingConvention)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn value(&self) -> ::windows_core::Result<::windows_core::VARIANT> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .value)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn baseType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn token(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .token)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn timeStamp(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .timeStamp)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn guid(&self) -> ::windows_core::Result<::windows_core::GUID> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .guid)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn symbolsFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .symbolsFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn reference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .reference)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .count)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bitPosition(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .bitPosition)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn arrayIndexType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .arrayIndexType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn packed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .packed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn constructor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .constructor)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn overloadedOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .overloadedOperator)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn nested(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .nested)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasNestedTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasNestedTypes)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasAssignmentOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasAssignmentOperator)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn hasCastOperator( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasCastOperator)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn scoped(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .scoped)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseClass)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn indirectVirtualBaseClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .indirectVirtualBaseClass)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualBasePointerOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBasePointerOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualTableShape(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualTableShape)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lexicalParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .lexicalParentId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn classParentId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .classParentId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn typeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .typeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn arrayIndexTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .arrayIndexTypeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn virtualTableShapeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualTableShapeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn code(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .code)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn function( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .function)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn managed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .managed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn msil(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .msil)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseDispIndex(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseDispIndex)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn undecoratedName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .undecoratedName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn age(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .age)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn signature(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .signature)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn compilerGenerated( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .compilerGenerated)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn addressTaken( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .addressTaken)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn rank(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .rank)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn lowerBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .lowerBound)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn upperBound(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .upperBound)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn lowerBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .lowerBoundId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn upperBoundId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .upperBoundId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_dataBytes( - &self, - pcbdata: *mut u32, - pbdata: &mut [u8], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_dataBytes)( - ::windows_core::Interface::as_raw(self), - pbdata.len().try_into().unwrap(), - pcbdata, - ::core::mem::transmute(pbdata.as_ptr()), - ) - .ok() - } - pub unsafe fn findChildren( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildren)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenEx( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenEx)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByAddr( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - isect: u32, - offset: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenExByAddr)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByVA( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - va: u64, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenExByVA)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - va, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findChildrenExByRVA( - &self, - symtag: SymTag, - name: P0, - compareflags: u32, - rva: u32, - ) -> ::windows_core::Result - where - P0: ::windows_core::IntoParam<::windows_core::PCWSTR>, - { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findChildrenExByRVA)( - ::windows_core::Interface::as_raw(self), - symtag, - name.into_param().abi(), - compareflags, - rva, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn targetSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .targetSection)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn targetOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .targetOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn targetRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .targetRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn targetVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .targetVirtualAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn machineType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .machineType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn oemId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .oemId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn oemSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .oemSymbolId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_types( - &self, - pctypes: *mut u32, - ptypes: &mut [::core::option::Option], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_types)( - ::windows_core::Interface::as_raw(self), - ptypes.len().try_into().unwrap(), - pctypes, - ::core::mem::transmute(ptypes.as_ptr()), - ) - .ok() - } - pub unsafe fn get_typeIds( - &self, - pctypeids: *mut u32, - pdwtypeids: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_typeIds)( - ::windows_core::Interface::as_raw(self), - pdwtypeids.len().try_into().unwrap(), - pctypeids, - ::core::mem::transmute(pdwtypeids.as_ptr()), - ) - .ok() - } - pub unsafe fn objectPointerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .objectPointerType)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn udtKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .udtKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn get_undecoratedNameEx( - &self, - undecorateoptions: u32, - ) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_undecoratedNameEx)( - ::windows_core::Interface::as_raw(self), - undecorateoptions, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn noReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn customCallingConvention( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .customCallingConvention)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn noInline( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noInline)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn optimizedCodeDebugInfo( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .optimizedCodeDebugInfo)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn notReached( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .notReached)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn interruptReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .interruptReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn farReturn( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .farReturn)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isStatic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isStatic)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasDebugInfo( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasDebugInfo)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isLTCG(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isLTCG)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isDataAligned( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isDataAligned)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSecurityChecks( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasSecurityChecks)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn compilerName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .compilerName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasAlloca( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasAlloca)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSetJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasSetJump)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasLongJump( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasLongJump)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasInlAsm( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasInlAsm)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasEH)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasSEH(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasSEH)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasEHa(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasEHa)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isNaked(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isNaked)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isAggregated( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isAggregated)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isSplitted( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isSplitted)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn container(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .container)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn inlSpec(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .inlSpec)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noStackOrdering( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noStackOrdering)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn virtualBaseTableType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .virtualBaseTableType)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn hasManagedCode( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasManagedCode)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isHotpatchable( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isHotpatchable)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCVTCIL( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isCVTCIL)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isMSILNetmodule( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isMSILNetmodule)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCTypes( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isCTypes)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isStripped( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isStripped)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frontEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frontEndQFE)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn backEndQFE(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .backEndQFE)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn wasInlined( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .wasInlined)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn strictGSCheck( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .strictGSCheck)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isCxxReturnUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isCxxReturnUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isConstructorVirtualBase( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isConstructorVirtualBase)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn RValueReference( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .RValueReference)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unmodifiedType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .unmodifiedType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn framePointerPresent( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .framePointerPresent)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSafeBuffers( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isSafeBuffers)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn intrinsic( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .intrinsic)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sealed(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .sealed)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hfaFloat( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hfaFloat)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hfaDouble( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hfaDouble)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn liveRangeStartAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeStartAddressSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeStartAddressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn liveRangeStartRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeStartRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn countLiveRanges(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .countLiveRanges)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn liveRangeLength(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .liveRangeLength)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn offsetInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .offsetInUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn paramBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .paramBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn localBasePointerRegisterId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .localBasePointerRegisterId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isLocationControlFlowDependent( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isLocationControlFlowDependent)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn stride(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .stride)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn numberOfRows(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfRows)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn numberOfColumns(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfColumns)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isMatrixRowMajor( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isMatrixRowMajor)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn get_numericProperties( - &self, - pcnt: *mut u32, - pproperties: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_numericProperties)( - ::windows_core::Interface::as_raw(self), - pproperties.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(pproperties.as_ptr()), - ) - .ok() - } - pub unsafe fn get_modifierValues( - &self, - pcnt: *mut u32, - pmodifiers: &mut [u16], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_modifierValues)( - ::windows_core::Interface::as_raw(self), - pmodifiers.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(pmodifiers.as_ptr()), - ) - .ok() - } - pub unsafe fn isReturnValue( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isReturnValue)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isOptimizedAway( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isOptimizedAway)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn builtInKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .builtInKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn registerType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .registerType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn baseDataSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseDataSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn baseDataOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseDataOffset)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn textureSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .textureSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn samplerSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .samplerSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn uavSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .uavSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn sizeInUdt(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .sizeInUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn memorySpaceKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .memorySpaceKind)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn unmodifiedTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .unmodifiedTypeId)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn subTypeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .subTypeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn subType(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .subType)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn numberOfModifiers(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfModifiers)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn numberOfRegisterIndices(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfRegisterIndices)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isHLSLData( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isHLSLData)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isPointerToDataMember( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isPointerToDataMember)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isPointerToMemberFunction( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isPointerToMemberFunction)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isSingleInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isSingleInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isMultipleInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isMultipleInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn isVirtualInheritance( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isVirtualInheritance)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn restrictedType( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .restrictedType)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isPointerBasedOnSymbolValue( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isPointerBasedOnSymbolValue)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn baseSymbol(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseSymbol)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn baseSymbolId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .baseSymbolId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn objectFileName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .objectFileName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn isAcceleratorGroupSharedLocal( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isAcceleratorGroupSharedLocal)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAcceleratorPointerTagLiveRange( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isAcceleratorPointerTagLiveRange)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isAcceleratorStubFunction( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isAcceleratorStubFunction)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn numberOfAcceleratorPointerTags(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .numberOfAcceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn isSdl(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isSdl)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isWinRTPointer( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isWinRTPointer)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isRefUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isRefUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isValueUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isValueUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isInterfaceUdt( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isInterfaceUdt)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn findInlineFramesByAddr( - &self, - isect: u32, - offset: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineFramesByRVA( - &self, - rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByRVA)( - ::windows_core::Interface::as_raw(self), rva, &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineFramesByVA( - &self, - va: u64, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineFramesByVA)( - ::windows_core::Interface::as_raw(self), va, &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLines(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLines)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByAddr( - &self, - isect: u32, - offset: u32, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByAddr)( - ::windows_core::Interface::as_raw(self), - isect, - offset, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByRVA( - &self, - rva: u32, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByRVA)( - ::windows_core::Interface::as_raw(self), - rva, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findInlineeLinesByVA( - &self, - va: u64, - length: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInlineeLinesByVA)( - ::windows_core::Interface::as_raw(self), - va, - length, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findSymbolsForAcceleratorPointerTag( - &self, - tagvalue: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findSymbolsForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - tagvalue, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn findSymbolsByRVAForAcceleratorPointerTag( - &self, - tagvalue: u32, - rva: u32, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findSymbolsByRVAForAcceleratorPointerTag)( - ::windows_core::Interface::as_raw(self), - tagvalue, - rva, - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn get_acceleratorPointerTags( - &self, - pcnt: *mut u32, - ppointertags: &mut [u32], - ) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .get_acceleratorPointerTags)( - ::windows_core::Interface::as_raw(self), - ppointertags.len().try_into().unwrap(), - pcnt, - ::core::mem::transmute(ppointertags.as_ptr()), + pptagtype: *mut Option, + ptagoffset: *mut u32, + ptagmask: *mut DiaTagValue, + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).get_discriminatedUnionTag)( + windows_core::Interface::as_raw(self), + core::mem::transmute(pptagtype), + ptagoffset, + ptagmask, ) .ok() } - pub unsafe fn getSrcLineOnTypeDefn(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .getSrcLineOnTypeDefn)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn isPGO(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isPGO)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn hasValidPGOCounts( + pub unsafe fn get_tagRanges( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasValidPGOCounts)( - ::windows_core::Interface::as_raw(self), &mut result__ + pcrangevalues: *mut u32, + rangevalues: &mut [DiaTagValue], + ) -> windows_core::Result<()> { + (windows_core::Interface::vtable(self).get_tagRanges)( + windows_core::Interface::as_raw(self), + rangevalues.len().try_into().unwrap(), + pcrangevalues, + core::mem::transmute(rangevalues.as_ptr()), ) - .map(|| result__) + .ok() } - pub unsafe fn isOptimizedForSpeed( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isOptimizedForSpeed)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn PGOEntryCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .PGOEntryCount)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn PGOEdgeCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .PGOEdgeCount)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn PGODynamicInstructionCount(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .PGODynamicInstructionCount)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn staticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .staticSize)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn finalLiveStaticSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .finalLiveStaticSize)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn phaseName(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .phaseName)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) + } + #[repr(C)] + pub struct IDiaSymbol11_Vtbl { + pub base__: IDiaSymbol10_Vtbl, + pub get_discriminatedUnionTag: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + *mut u32, + *mut DiaTagValue, + ) -> windows_core::HRESULT, + pub get_tagRanges: unsafe extern "system" fn( + *mut core::ffi::c_void, + u32, + *mut u32, + *mut DiaTagValue, + ) -> windows_core::HRESULT, + } + windows_core::imp::define_interface!( + IDiaSymbol2, + IDiaSymbol2_Vtbl, + 0x611e86cd_b7d1_4546_8a15_070e2b07a427 + ); + impl core::ops::Deref for IDiaSymbol2 { + type Target = IDiaSymbol; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } } - pub unsafe fn hasControlFlowCheck( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .hasControlFlowCheck)( - ::windows_core::Interface::as_raw(self), &mut result__ + } + windows_core::imp::interface_hierarchy!(IDiaSymbol2, windows_core::IUnknown, IDiaSymbol); + impl IDiaSymbol2 { + pub unsafe fn isObjCClass(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isObjCClass)( + windows_core::Interface::as_raw(self), + &mut result__, ) .map(|| result__) } - pub unsafe fn constantExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .constantExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn dataExport( + pub unsafe fn isObjCCategory( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .dataExport)(::windows_core::Interface::as_raw(self), &mut result__) + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isObjCCategory)( + windows_core::Interface::as_raw(self), + &mut result__, + ) .map(|| result__) } - pub unsafe fn privateExport( + pub unsafe fn isObjCProtocol( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .privateExport)(::windows_core::Interface::as_raw(self), &mut result__) + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isObjCProtocol)( + windows_core::Interface::as_raw(self), + &mut result__, + ) .map(|| result__) } - pub unsafe fn noNameExport( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .noNameExport)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) + } + #[repr(C)] + pub struct IDiaSymbol2_Vtbl { + pub base__: IDiaSymbol_Vtbl, + pub isObjCClass: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub isObjCCategory: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + pub isObjCProtocol: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + } + windows_core::imp::define_interface!( + IDiaSymbol3, + IDiaSymbol3_Vtbl, + 0x99b665f7_c1b2_49d3_89b2_a384361acab5 + ); + impl core::ops::Deref for IDiaSymbol3 { + type Target = IDiaSymbol2; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } } - pub unsafe fn exportHasExplicitlyAssignedOrdinal( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exportHasExplicitlyAssignedOrdinal)( - ::windows_core::Interface::as_raw(self), + } + windows_core::imp::interface_hierarchy!( + IDiaSymbol3, + windows_core::IUnknown, + IDiaSymbol, + IDiaSymbol2 + ); + impl IDiaSymbol3 { + pub unsafe fn inlinee(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).inlinee)( + windows_core::Interface::as_raw(self), &mut result__, ) - .map(|| result__) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn exportIsForwarder( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exportIsForwarder)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .map(|| result__) - } - pub unsafe fn ordinal(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .ordinal)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn frameSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .frameSize)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn exceptionHandlerAddressSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerAddressSection)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerAddressOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerAddressOffset)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerRelativeVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerRelativeVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn exceptionHandlerVirtualAddress(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .exceptionHandlerVirtualAddress)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .map(|| result__) - } - pub unsafe fn findInputAssemblyFile( - &self, - ) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .findInputAssemblyFile)( - ::windows_core::Interface::as_raw(self), &mut result__ - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn characteristics(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .characteristics)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn coffGroup(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .coffGroup)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn bindID(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .bindID)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bindSpace(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .bindSpace)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn bindSlot(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .bindSlot)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn isObjCClass( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isObjCClass)(::windows_core::Interface::as_raw(self), &mut result__) + pub unsafe fn inlineeId(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).inlineeId)( + windows_core::Interface::as_raw(self), + &mut result__, + ) .map(|| result__) } - pub unsafe fn isObjCCategory( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isObjCCategory)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) + } + #[repr(C)] + pub struct IDiaSymbol3_Vtbl { + pub base__: IDiaSymbol2_Vtbl, + pub inlinee: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, + pub inlineeId: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + } + windows_core::imp::define_interface!( + IDiaSymbol4, + IDiaSymbol4_Vtbl, + 0xbf6c88a7_e9d6_4346_99a1_d053de5a7808 + ); + impl core::ops::Deref for IDiaSymbol4 { + type Target = IDiaSymbol3; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } } - pub unsafe fn isObjCProtocol( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .isObjCProtocol)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn inlinee(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .inlinee)(::windows_core::Interface::as_raw(self), &mut result__) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn inlineeId(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .base__ - .inlineeId)(::windows_core::Interface::as_raw(self), &mut result__) - .map(|| result__) - } - pub unsafe fn noexcept( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .base__ - .noexcept)(::windows_core::Interface::as_raw(self), &mut result__) + } + windows_core::imp::interface_hierarchy!( + IDiaSymbol4, + windows_core::IUnknown, + IDiaSymbol, + IDiaSymbol2, + IDiaSymbol3 + ); + impl IDiaSymbol4 { + pub unsafe fn noexcept(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).noexcept)( + windows_core::Interface::as_raw(self), + &mut result__, + ) .map(|| result__) } + } + #[repr(C)] + pub struct IDiaSymbol4_Vtbl { + pub base__: IDiaSymbol3_Vtbl, + pub noexcept: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + } + windows_core::imp::define_interface!( + IDiaSymbol5, + IDiaSymbol5_Vtbl, + 0xabe2de00_dc2d_4793_af9a_ef1d90832644 + ); + impl core::ops::Deref for IDiaSymbol5 { + type Target = IDiaSymbol4; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!( + IDiaSymbol5, + windows_core::IUnknown, + IDiaSymbol, + IDiaSymbol2, + IDiaSymbol3, + IDiaSymbol4 + ); + impl IDiaSymbol5 { pub unsafe fn hasAbsoluteAddress( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .base__ - .hasAbsoluteAddress)( - ::windows_core::Interface::as_raw(self), &mut result__ + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).hasAbsoluteAddress)( + windows_core::Interface::as_raw(self), + &mut result__, ) .map(|| result__) } + } + #[repr(C)] + pub struct IDiaSymbol5_Vtbl { + pub base__: IDiaSymbol4_Vtbl, + pub hasAbsoluteAddress: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + } + windows_core::imp::define_interface!( + IDiaSymbol6, + IDiaSymbol6_Vtbl, + 0x8133dad3_75fe_4234_ac7e_f8e7a1d3cbb3 + ); + impl core::ops::Deref for IDiaSymbol6 { + type Target = IDiaSymbol5; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!( + IDiaSymbol6, + windows_core::IUnknown, + IDiaSymbol, + IDiaSymbol2, + IDiaSymbol3, + IDiaSymbol4, + IDiaSymbol5 + ); + impl IDiaSymbol6 { pub unsafe fn isStaticMemberFunc( &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .base__ - .isStaticMemberFunc)( - ::windows_core::Interface::as_raw(self), &mut result__ + ) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isStaticMemberFunc)( + windows_core::Interface::as_raw(self), + &mut result__, ) .map(|| result__) } - pub unsafe fn isSignRet( - &self, - ) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .base__ - .isSignRet)(::windows_core::Interface::as_raw(self), &mut result__) + } + #[repr(C)] + pub struct IDiaSymbol6_Vtbl { + pub base__: IDiaSymbol5_Vtbl, + pub isStaticMemberFunc: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + } + windows_core::imp::define_interface!( + IDiaSymbol7, + IDiaSymbol7_Vtbl, + 0x64ce6cd5_7315_4328_86d6_10e303e010b4 + ); + impl core::ops::Deref for IDiaSymbol7 { + type Target = IDiaSymbol6; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!( + IDiaSymbol7, + windows_core::IUnknown, + IDiaSymbol, + IDiaSymbol2, + IDiaSymbol3, + IDiaSymbol4, + IDiaSymbol5, + IDiaSymbol6 + ); + impl IDiaSymbol7 { + pub unsafe fn isSignRet(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isSignRet)( + windows_core::Interface::as_raw(self), + &mut result__, + ) .map(|| result__) } - pub unsafe fn coroutineKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.coroutineKind)( - ::windows_core::Interface::as_raw(self), + } + #[repr(C)] + pub struct IDiaSymbol7_Vtbl { + pub base__: IDiaSymbol6_Vtbl, + pub isSignRet: unsafe extern "system" fn( + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, + } + windows_core::imp::define_interface!( + IDiaSymbol8, + IDiaSymbol8_Vtbl, + 0x7f2e041f_1294_41bd_b83a_e715972d2ce3 + ); + impl core::ops::Deref for IDiaSymbol8 { + type Target = IDiaSymbol7; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!( + IDiaSymbol8, + windows_core::IUnknown, + IDiaSymbol, + IDiaSymbol2, + IDiaSymbol3, + IDiaSymbol4, + IDiaSymbol5, + IDiaSymbol6, + IDiaSymbol7 + ); + impl IDiaSymbol8 { + pub unsafe fn coroutineKind(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).coroutineKind)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn associatedSymbolKind(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .associatedSymbolKind)( - ::windows_core::Interface::as_raw(self), &mut result__ + pub unsafe fn associatedSymbolKind(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).associatedSymbolKind)( + windows_core::Interface::as_raw(self), + &mut result__, ) .map(|| result__) } - pub unsafe fn associatedSymbolSection(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .associatedSymbolSection)( - ::windows_core::Interface::as_raw(self), &mut result__ + pub unsafe fn associatedSymbolSection(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).associatedSymbolSection)( + windows_core::Interface::as_raw(self), + &mut result__, ) .map(|| result__) } - pub unsafe fn associatedSymbolOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .associatedSymbolOffset)( - ::windows_core::Interface::as_raw(self), &mut result__ + pub unsafe fn associatedSymbolOffset(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).associatedSymbolOffset)( + windows_core::Interface::as_raw(self), + &mut result__, ) .map(|| result__) } - pub unsafe fn associatedSymbolRva(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .associatedSymbolRva)( - ::windows_core::Interface::as_raw(self), &mut result__ + pub unsafe fn associatedSymbolRva(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).associatedSymbolRva)( + windows_core::Interface::as_raw(self), + &mut result__, ) .map(|| result__) } - pub unsafe fn associatedSymbolAddr(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self) - .base__ - .associatedSymbolAddr)( - ::windows_core::Interface::as_raw(self), &mut result__ + pub unsafe fn associatedSymbolAddr(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).associatedSymbolAddr)( + windows_core::Interface::as_raw(self), + &mut result__, ) .map(|| result__) } - pub unsafe fn framePadSize(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).framePadSize)( - ::windows_core::Interface::as_raw(self), + } + #[repr(C)] + pub struct IDiaSymbol8_Vtbl { + pub base__: IDiaSymbol7_Vtbl, + pub coroutineKind: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub associatedSymbolKind: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub associatedSymbolSection: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub associatedSymbolOffset: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub associatedSymbolRva: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub associatedSymbolAddr: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, + } + windows_core::imp::define_interface!( + IDiaSymbol9, + IDiaSymbol9_Vtbl, + 0xa89e5969_92a1_4f8a_b704_00121c37abbb + ); + impl core::ops::Deref for IDiaSymbol9 { + type Target = IDiaSymbol8; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!( + IDiaSymbol9, + windows_core::IUnknown, + IDiaSymbol, + IDiaSymbol2, + IDiaSymbol3, + IDiaSymbol4, + IDiaSymbol5, + IDiaSymbol6, + IDiaSymbol7, + IDiaSymbol8 + ); + impl IDiaSymbol9 { + pub unsafe fn framePadSize(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).framePadSize)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn framePadOffset(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).framePadOffset)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn framePadOffset(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).framePadOffset)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn isRTCs(&self) -> ::windows_core::Result<::windows::Win32::Foundation::BOOL> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).isRTCs)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn isRTCs(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).isRTCs)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) @@ -42329,119 +9097,84 @@ pub mod Dia { #[repr(C)] pub struct IDiaSymbol9_Vtbl { pub base__: IDiaSymbol8_Vtbl, - pub framePadSize: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, - pub framePadOffset: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut u32, - ) -> ::windows_core::HRESULT, + pub framePadSize: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, + pub framePadOffset: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub isRTCs: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::windows::Win32::Foundation::BOOL, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut windows::Win32::Foundation::BOOL, + ) -> windows_core::HRESULT, } - ::windows_core::imp::com_interface!( + windows_core::imp::define_interface!( IDiaTable, IDiaTable_Vtbl, 0x4a59fb77_abac_469b_a30b_9ecc85bfef14 ); - ::windows_core::imp::interface_hierarchy!( + impl core::ops::Deref for IDiaTable { + type Target = windows::Win32::System::Com::IEnumUnknown; + fn deref(&self) -> &Self::Target { + unsafe { core::mem::transmute(self) } + } + } + windows_core::imp::interface_hierarchy!( IDiaTable, - ::windows_core::IUnknown, - ::windows::Win32::System::Com::IEnumUnknown + windows_core::IUnknown, + windows::Win32::System::Com::IEnumUnknown ); impl IDiaTable { - pub unsafe fn Next( - &self, - rgelt: &mut [::core::option::Option<::windows_core::IUnknown>], - pceltfetched: ::core::option::Option<*mut u32>, - ) -> ::windows_core::HRESULT { - (::windows_core::Interface::vtable(self).base__.Next)( - ::windows_core::Interface::as_raw(self), - rgelt.len().try_into().unwrap(), - ::core::mem::transmute(rgelt.as_ptr()), - ::core::mem::transmute(pceltfetched.unwrap_or(::std::ptr::null_mut())), - ) - } - pub unsafe fn Skip(&self, celt: u32) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.Skip)( - ::windows_core::Interface::as_raw(self), - celt, - ) - .ok() - } - pub unsafe fn Reset(&self) -> ::windows_core::Result<()> { - (::windows_core::Interface::vtable(self).base__.Reset)( - ::windows_core::Interface::as_raw(self), - ) - .ok() - } - pub unsafe fn Clone( - &self, - ) -> ::windows_core::Result<::windows::Win32::System::Com::IEnumUnknown> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).base__.Clone)( - ::windows_core::Interface::as_raw(self), - &mut result__, - ) - .and_then(|| ::windows_core::Type::from_abi(result__)) - } - pub unsafe fn _NewEnum(&self) -> ::windows_core::Result<::windows_core::IUnknown> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self)._NewEnum)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn _NewEnum(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self)._NewEnum)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn name(&self) -> ::windows_core::Result<::windows_core::BSTR> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).name)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn name(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).name)( + windows_core::Interface::as_raw(self), &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } - pub unsafe fn Count(&self) -> ::windows_core::Result { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Count)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Count(&self) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Count)( + windows_core::Interface::as_raw(self), &mut result__, ) .map(|| result__) } - pub unsafe fn Item(&self, index: u32) -> ::windows_core::Result<::windows_core::IUnknown> { - let mut result__ = ::std::mem::zeroed(); - (::windows_core::Interface::vtable(self).Item)( - ::windows_core::Interface::as_raw(self), + pub unsafe fn Item(&self, index: u32) -> windows_core::Result { + let mut result__ = core::mem::zeroed(); + (windows_core::Interface::vtable(self).Item)( + windows_core::Interface::as_raw(self), index, &mut result__, ) - .and_then(|| ::windows_core::Type::from_abi(result__)) + .and_then(|| windows_core::Type::from_abi(result__)) } } #[repr(C)] pub struct IDiaTable_Vtbl { - pub base__: ::windows::Win32::System::Com::IEnumUnknown_Vtbl, + pub base__: windows::Win32::System::Com::IEnumUnknown_Vtbl, pub _NewEnum: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, pub name: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut ::std::mem::MaybeUninit<::windows_core::BSTR>, - ) -> ::windows_core::HRESULT, - pub Count: unsafe extern "system" fn( - *mut ::core::ffi::c_void, - *mut i32, - ) -> ::windows_core::HRESULT, + *mut core::ffi::c_void, + *mut core::mem::MaybeUninit, + ) -> windows_core::HRESULT, + pub Count: + unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Item: unsafe extern "system" fn( - *mut ::core::ffi::c_void, + *mut core::ffi::c_void, u32, - *mut *mut ::core::ffi::c_void, - ) -> ::windows_core::HRESULT, + *mut *mut core::ffi::c_void, + ) -> windows_core::HRESULT, } pub const CHKSUM_TYPE_MD5: CV_SourceChksum_t = CV_SourceChksum_t(1i32); pub const CHKSUM_TYPE_NONE: CV_SourceChksum_t = CV_SourceChksum_t(0i32); @@ -43475,6 +10208,22 @@ pub mod Dia { pub const CV_ARM64_LR: CV_HREG_e = CV_HREG_e(80i32); pub const CV_ARM64_NOREG: CV_HREG_e = CV_HREG_e(0i32); pub const CV_ARM64_NZCV: CV_HREG_e = CV_HREG_e(90i32); + pub const CV_ARM64_P0: CV_HREG_e = CV_HREG_e(414i32); + pub const CV_ARM64_P1: CV_HREG_e = CV_HREG_e(415i32); + pub const CV_ARM64_P10: CV_HREG_e = CV_HREG_e(424i32); + pub const CV_ARM64_P11: CV_HREG_e = CV_HREG_e(425i32); + pub const CV_ARM64_P12: CV_HREG_e = CV_HREG_e(426i32); + pub const CV_ARM64_P13: CV_HREG_e = CV_HREG_e(427i32); + pub const CV_ARM64_P14: CV_HREG_e = CV_HREG_e(428i32); + pub const CV_ARM64_P15: CV_HREG_e = CV_HREG_e(429i32); + pub const CV_ARM64_P2: CV_HREG_e = CV_HREG_e(416i32); + pub const CV_ARM64_P3: CV_HREG_e = CV_HREG_e(417i32); + pub const CV_ARM64_P4: CV_HREG_e = CV_HREG_e(418i32); + pub const CV_ARM64_P5: CV_HREG_e = CV_HREG_e(419i32); + pub const CV_ARM64_P6: CV_HREG_e = CV_HREG_e(420i32); + pub const CV_ARM64_P7: CV_HREG_e = CV_HREG_e(421i32); + pub const CV_ARM64_P8: CV_HREG_e = CV_HREG_e(422i32); + pub const CV_ARM64_P9: CV_HREG_e = CV_HREG_e(423i32); pub const CV_ARM64_PC: CV_HREG_e = CV_HREG_e(83i32); pub const CV_ARM64_Q0: CV_HREG_e = CV_HREG_e(180i32); pub const CV_ARM64_Q0H: CV_HREG_e = CV_HREG_e(350i32); @@ -43664,6 +10413,38 @@ pub mod Dia { pub const CV_ARM64_X7: CV_HREG_e = CV_HREG_e(57i32); pub const CV_ARM64_X8: CV_HREG_e = CV_HREG_e(58i32); pub const CV_ARM64_X9: CV_HREG_e = CV_HREG_e(59i32); + pub const CV_ARM64_Z0: CV_HREG_e = CV_HREG_e(382i32); + pub const CV_ARM64_Z1: CV_HREG_e = CV_HREG_e(383i32); + pub const CV_ARM64_Z10: CV_HREG_e = CV_HREG_e(392i32); + pub const CV_ARM64_Z11: CV_HREG_e = CV_HREG_e(393i32); + pub const CV_ARM64_Z12: CV_HREG_e = CV_HREG_e(394i32); + pub const CV_ARM64_Z13: CV_HREG_e = CV_HREG_e(395i32); + pub const CV_ARM64_Z14: CV_HREG_e = CV_HREG_e(396i32); + pub const CV_ARM64_Z15: CV_HREG_e = CV_HREG_e(397i32); + pub const CV_ARM64_Z16: CV_HREG_e = CV_HREG_e(398i32); + pub const CV_ARM64_Z17: CV_HREG_e = CV_HREG_e(399i32); + pub const CV_ARM64_Z18: CV_HREG_e = CV_HREG_e(400i32); + pub const CV_ARM64_Z19: CV_HREG_e = CV_HREG_e(401i32); + pub const CV_ARM64_Z2: CV_HREG_e = CV_HREG_e(384i32); + pub const CV_ARM64_Z20: CV_HREG_e = CV_HREG_e(402i32); + pub const CV_ARM64_Z21: CV_HREG_e = CV_HREG_e(403i32); + pub const CV_ARM64_Z22: CV_HREG_e = CV_HREG_e(404i32); + pub const CV_ARM64_Z23: CV_HREG_e = CV_HREG_e(405i32); + pub const CV_ARM64_Z24: CV_HREG_e = CV_HREG_e(406i32); + pub const CV_ARM64_Z25: CV_HREG_e = CV_HREG_e(407i32); + pub const CV_ARM64_Z26: CV_HREG_e = CV_HREG_e(408i32); + pub const CV_ARM64_Z27: CV_HREG_e = CV_HREG_e(409i32); + pub const CV_ARM64_Z28: CV_HREG_e = CV_HREG_e(410i32); + pub const CV_ARM64_Z29: CV_HREG_e = CV_HREG_e(411i32); + pub const CV_ARM64_Z3: CV_HREG_e = CV_HREG_e(385i32); + pub const CV_ARM64_Z30: CV_HREG_e = CV_HREG_e(412i32); + pub const CV_ARM64_Z31: CV_HREG_e = CV_HREG_e(413i32); + pub const CV_ARM64_Z4: CV_HREG_e = CV_HREG_e(386i32); + pub const CV_ARM64_Z5: CV_HREG_e = CV_HREG_e(387i32); + pub const CV_ARM64_Z6: CV_HREG_e = CV_HREG_e(388i32); + pub const CV_ARM64_Z7: CV_HREG_e = CV_HREG_e(389i32); + pub const CV_ARM64_Z8: CV_HREG_e = CV_HREG_e(390i32); + pub const CV_ARM64_Z9: CV_HREG_e = CV_HREG_e(391i32); pub const CV_ARM64_ZR: CV_HREG_e = CV_HREG_e(82i32); pub const CV_ARM_ACC0: CV_HREG_e = CV_HREG_e(27i32); pub const CV_ARM_CPSR: CV_HREG_e = CV_HREG_e(26i32); @@ -45908,65 +12689,50 @@ pub mod Dia { pub const DataIsStaticLocal: DataKind = DataKind(2i32); pub const DataIsStaticMember: DataKind = DataKind(8i32); pub const DataIsUnknown: DataKind = DataKind(0i32); - pub const DiaSource: ::windows_core::GUID = - ::windows_core::GUID::from_u128(0xe6756135_1e65_4d17_8576_610761398c3c); - pub const DiaSourceAlt: ::windows_core::GUID = - ::windows_core::GUID::from_u128(0x91904831_49ca_4766_b95c_25397e2dd6dc); - pub const DiaStackWalker: ::windows_core::GUID = - ::windows_core::GUID::from_u128(0xce4a85db_5768_475b_a4e1_c0bca2112a6b); - pub const E_DIA_FRAME_ACCESS: __MIDL___MIDL_itf_dia2_0000_0036_0001 = - __MIDL___MIDL_itf_dia2_0000_0036_0001(-2140340122i32); - pub const E_DIA_INPROLOG: __MIDL___MIDL_itf_dia2_0000_0036_0001 = - __MIDL___MIDL_itf_dia2_0000_0036_0001(-2140340124i32); - pub const E_DIA_SYNTAX: __MIDL___MIDL_itf_dia2_0000_0036_0001 = - __MIDL___MIDL_itf_dia2_0000_0036_0001(-2140340123i32); - pub const E_DIA_VALUE: __MIDL___MIDL_itf_dia2_0000_0036_0001 = - __MIDL___MIDL_itf_dia2_0000_0036_0001(-2140340121i32); - pub const E_PDB_ACCESS_DENIED: ::windows_core::HRESULT = - ::windows_core::HRESULT(0x806D0010_u32 as _); - pub const E_PDB_CORRUPT: ::windows_core::HRESULT = ::windows_core::HRESULT(0x806D000E_u32 as _); - pub const E_PDB_DBG_NOT_FOUND: ::windows_core::HRESULT = - ::windows_core::HRESULT(0x806D0013_u32 as _); - pub const E_PDB_DEBUG_INFO_NOT_IN_PDB: ::windows_core::HRESULT = - ::windows_core::HRESULT(0x806D0017_u32 as _); - pub const E_PDB_FILE_SYSTEM: ::windows_core::HRESULT = - ::windows_core::HRESULT(0x806D0004_u32 as _); - pub const E_PDB_FORMAT: ::windows_core::HRESULT = ::windows_core::HRESULT(0x806D000C_u32 as _); - pub const E_PDB_ILLEGAL_TYPE_EDIT: ::windows_core::HRESULT = - ::windows_core::HRESULT(0x806D0011_u32 as _); - pub const E_PDB_INVALID_AGE: ::windows_core::HRESULT = - ::windows_core::HRESULT(0x806D0007_u32 as _); - pub const E_PDB_INVALID_EXECUTABLE: ::windows_core::HRESULT = - ::windows_core::HRESULT(0x806D0012_u32 as _); - pub const E_PDB_INVALID_EXE_TIMESTAMP: ::windows_core::HRESULT = - ::windows_core::HRESULT(0x806D0015_u32 as _); - pub const E_PDB_INVALID_SIG: ::windows_core::HRESULT = - ::windows_core::HRESULT(0x806D0006_u32 as _); - pub const E_PDB_LIMIT: ::windows_core::HRESULT = ::windows_core::HRESULT(0x806D000D_u32 as _); - pub const E_PDB_NOT_FOUND: ::windows_core::HRESULT = - ::windows_core::HRESULT(0x806D0005_u32 as _); - pub const E_PDB_NOT_IMPLEMENTED: ::windows_core::HRESULT = - ::windows_core::HRESULT(0x806D000A_u32 as _); - pub const E_PDB_NO_DEBUG_INFO: ::windows_core::HRESULT = - ::windows_core::HRESULT(0x806D0014_u32 as _); - pub const E_PDB_OBJECT_DISPOSED: ::windows_core::HRESULT = - ::windows_core::HRESULT(0x806D001A_u32 as _); - pub const E_PDB_OK: ::windows_core::HRESULT = ::windows_core::HRESULT(0x806D0001_u32 as _); - pub const E_PDB_OUT_OF_MEMORY: ::windows_core::HRESULT = - ::windows_core::HRESULT(0x806D0003_u32 as _); - pub const E_PDB_OUT_OF_TI: ::windows_core::HRESULT = - ::windows_core::HRESULT(0x806D0009_u32 as _); - pub const E_PDB_PRECOMP_REQUIRED: ::windows_core::HRESULT = - ::windows_core::HRESULT(0x806D0008_u32 as _); - pub const E_PDB_RESERVED: ::windows_core::HRESULT = - ::windows_core::HRESULT(0x806D0016_u32 as _); - pub const E_PDB_SYMSRV_BAD_CACHE_PATH: ::windows_core::HRESULT = - ::windows_core::HRESULT(0x806D0018_u32 as _); - pub const E_PDB_SYMSRV_CACHE_FULL: ::windows_core::HRESULT = - ::windows_core::HRESULT(0x806D0019_u32 as _); - pub const E_PDB_TI16: ::windows_core::HRESULT = ::windows_core::HRESULT(0x806D000F_u32 as _); - pub const E_PDB_USAGE: ::windows_core::HRESULT = ::windows_core::HRESULT(0x806D0002_u32 as _); - pub const E_PDB_V1_PDB: ::windows_core::HRESULT = ::windows_core::HRESULT(0x806D000B_u32 as _); + pub const E_DIA_FRAME_ACCESS: windows_core::HRESULT = + windows_core::HRESULT(0x806D0066_u32 as _); + pub const E_DIA_INPROLOG: windows_core::HRESULT = windows_core::HRESULT(0x806D0064_u32 as _); + pub const E_DIA_SYNTAX: windows_core::HRESULT = windows_core::HRESULT(0x806D0065_u32 as _); + pub const E_DIA_VALUE: windows_core::HRESULT = windows_core::HRESULT(0x806D0067_u32 as _); + pub const E_PDB_ACCESS_DENIED: windows_core::HRESULT = + windows_core::HRESULT(0x806D0010_u32 as _); + pub const E_PDB_CORRUPT: windows_core::HRESULT = windows_core::HRESULT(0x806D000E_u32 as _); + pub const E_PDB_DBG_NOT_FOUND: windows_core::HRESULT = + windows_core::HRESULT(0x806D0013_u32 as _); + pub const E_PDB_DEBUG_INFO_NOT_IN_PDB: windows_core::HRESULT = + windows_core::HRESULT(0x806D0017_u32 as _); + pub const E_PDB_FILE_SYSTEM: windows_core::HRESULT = windows_core::HRESULT(0x806D0004_u32 as _); + pub const E_PDB_FORMAT: windows_core::HRESULT = windows_core::HRESULT(0x806D000C_u32 as _); + pub const E_PDB_ILLEGAL_TYPE_EDIT: windows_core::HRESULT = + windows_core::HRESULT(0x806D0011_u32 as _); + pub const E_PDB_INVALID_AGE: windows_core::HRESULT = windows_core::HRESULT(0x806D0007_u32 as _); + pub const E_PDB_INVALID_EXECUTABLE: windows_core::HRESULT = + windows_core::HRESULT(0x806D0012_u32 as _); + pub const E_PDB_INVALID_EXE_TIMESTAMP: windows_core::HRESULT = + windows_core::HRESULT(0x806D0015_u32 as _); + pub const E_PDB_INVALID_SIG: windows_core::HRESULT = windows_core::HRESULT(0x806D0006_u32 as _); + pub const E_PDB_LIMIT: windows_core::HRESULT = windows_core::HRESULT(0x806D000D_u32 as _); + pub const E_PDB_NOT_FOUND: windows_core::HRESULT = windows_core::HRESULT(0x806D0005_u32 as _); + pub const E_PDB_NOT_IMPLEMENTED: windows_core::HRESULT = + windows_core::HRESULT(0x806D000A_u32 as _); + pub const E_PDB_NO_DEBUG_INFO: windows_core::HRESULT = + windows_core::HRESULT(0x806D0014_u32 as _); + pub const E_PDB_OBJECT_DISPOSED: windows_core::HRESULT = + windows_core::HRESULT(0x806D001A_u32 as _); + pub const E_PDB_OK: windows_core::HRESULT = windows_core::HRESULT(0x806D0001_u32 as _); + pub const E_PDB_OUT_OF_MEMORY: windows_core::HRESULT = + windows_core::HRESULT(0x806D0003_u32 as _); + pub const E_PDB_OUT_OF_TI: windows_core::HRESULT = windows_core::HRESULT(0x806D0009_u32 as _); + pub const E_PDB_PRECOMP_REQUIRED: windows_core::HRESULT = + windows_core::HRESULT(0x806D0008_u32 as _); + pub const E_PDB_RESERVED: windows_core::HRESULT = windows_core::HRESULT(0x806D0016_u32 as _); + pub const E_PDB_SYMSRV_BAD_CACHE_PATH: windows_core::HRESULT = + windows_core::HRESULT(0x806D0018_u32 as _); + pub const E_PDB_SYMSRV_CACHE_FULL: windows_core::HRESULT = + windows_core::HRESULT(0x806D0019_u32 as _); + pub const E_PDB_TI16: windows_core::HRESULT = windows_core::HRESULT(0x806D000F_u32 as _); + pub const E_PDB_USAGE: windows_core::HRESULT = windows_core::HRESULT(0x806D0002_u32 as _); + pub const E_PDB_V1_PDB: windows_core::HRESULT = windows_core::HRESULT(0x806D000B_u32 as _); pub const FrameTypeFPO: StackFrameTypeEnum = StackFrameTypeEnum(0i32); pub const FrameTypeFrameData: StackFrameTypeEnum = StackFrameTypeEnum(4i32); pub const FrameTypeStandard: StackFrameTypeEnum = StackFrameTypeEnum(3i32); @@ -46091,492 +12857,297 @@ pub mod Dia { pub const nsfRegularExpression: NameSearchOptions = NameSearchOptions(8i32); pub const nsfUndecoratedName: NameSearchOptions = NameSearchOptions(16i32); #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct BasicType(pub i32); - impl ::windows_core::TypeKind for BasicType { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for BasicType { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for BasicType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for BasicType { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("BasicType").field(&self.0).finish() } } #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct CV_AssociationKind_e(pub i32); - impl ::windows_core::TypeKind for CV_AssociationKind_e { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for CV_AssociationKind_e { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for CV_AssociationKind_e { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for CV_AssociationKind_e { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("CV_AssociationKind_e") .field(&self.0) .finish() } } #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct CV_CFL_LANG(pub i32); - impl ::windows_core::TypeKind for CV_CFL_LANG { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for CV_CFL_LANG { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for CV_CFL_LANG { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for CV_CFL_LANG { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("CV_CFL_LANG").field(&self.0).finish() } } #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct CV_CPU_TYPE_e(pub i32); - impl ::windows_core::TypeKind for CV_CPU_TYPE_e { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for CV_CPU_TYPE_e { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for CV_CPU_TYPE_e { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for CV_CPU_TYPE_e { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("CV_CPU_TYPE_e").field(&self.0).finish() } } #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct CV_CoroutineKind_e(pub i32); - impl ::windows_core::TypeKind for CV_CoroutineKind_e { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for CV_CoroutineKind_e { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for CV_CoroutineKind_e { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for CV_CoroutineKind_e { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("CV_CoroutineKind_e").field(&self.0).finish() } } #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct CV_HLSLMemorySpace_e(pub i32); - impl ::windows_core::TypeKind for CV_HLSLMemorySpace_e { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for CV_HLSLMemorySpace_e { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for CV_HLSLMemorySpace_e { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for CV_HLSLMemorySpace_e { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("CV_HLSLMemorySpace_e") .field(&self.0) .finish() } } #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct CV_HLSLREG_e(pub i32); - impl ::windows_core::TypeKind for CV_HLSLREG_e { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for CV_HLSLREG_e { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for CV_HLSLREG_e { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for CV_HLSLREG_e { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("CV_HLSLREG_e").field(&self.0).finish() } } #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct CV_HREG_e(pub i32); - impl ::windows_core::TypeKind for CV_HREG_e { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for CV_HREG_e { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for CV_HREG_e { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for CV_HREG_e { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("CV_HREG_e").field(&self.0).finish() } } #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct CV_SourceChksum_t(pub i32); - impl ::windows_core::TypeKind for CV_SourceChksum_t { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for CV_SourceChksum_t { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for CV_SourceChksum_t { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for CV_SourceChksum_t { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("CV_SourceChksum_t").field(&self.0).finish() } } #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct CV_access_e(pub i32); - impl ::windows_core::TypeKind for CV_access_e { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for CV_access_e { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for CV_access_e { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for CV_access_e { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("CV_access_e").field(&self.0).finish() } } #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct CV_builtin_e(pub i32); - impl ::windows_core::TypeKind for CV_builtin_e { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for CV_builtin_e { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for CV_builtin_e { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for CV_builtin_e { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("CV_builtin_e").field(&self.0).finish() } } #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct CV_call_e(pub i32); - impl ::windows_core::TypeKind for CV_call_e { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for CV_call_e { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for CV_call_e { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for CV_call_e { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("CV_call_e").field(&self.0).finish() } } #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct CV_modifier_e(pub i32); - impl ::windows_core::TypeKind for CV_modifier_e { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for CV_modifier_e { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for CV_modifier_e { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for CV_modifier_e { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("CV_modifier_e").field(&self.0).finish() } } #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct DataKind(pub i32); - impl ::windows_core::TypeKind for DataKind { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for DataKind { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for DataKind { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for DataKind { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("DataKind").field(&self.0).finish() } } #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct LocationType(pub i32); - impl ::windows_core::TypeKind for LocationType { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for LocationType { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for LocationType { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for LocationType { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("LocationType").field(&self.0).finish() } } #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct MemoryTypeEnum(pub i32); - impl ::windows_core::TypeKind for MemoryTypeEnum { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for MemoryTypeEnum { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for MemoryTypeEnum { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for MemoryTypeEnum { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("MemoryTypeEnum").field(&self.0).finish() } } #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct NameSearchOptions(pub i32); - impl ::windows_core::TypeKind for NameSearchOptions { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for NameSearchOptions { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for NameSearchOptions { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for NameSearchOptions { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("NameSearchOptions").field(&self.0).finish() } } #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct StackFrameTypeEnum(pub i32); - impl ::windows_core::TypeKind for StackFrameTypeEnum { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for StackFrameTypeEnum { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for StackFrameTypeEnum { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for StackFrameTypeEnum { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("StackFrameTypeEnum").field(&self.0).finish() } } #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct SymTag(pub i32); - impl ::windows_core::TypeKind for SymTag { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for SymTag { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for SymTag { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for SymTag { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("SymTag").field(&self.0).finish() } } #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct THUNK_ORDINAL(pub i32); - impl ::windows_core::TypeKind for THUNK_ORDINAL { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for THUNK_ORDINAL { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for THUNK_ORDINAL { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for THUNK_ORDINAL { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("THUNK_ORDINAL").field(&self.0).finish() } } #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] + #[derive(PartialEq, Eq, Copy, Clone, Default)] pub struct UdtKind(pub i32); - impl ::windows_core::TypeKind for UdtKind { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for UdtKind { + type TypeKind = windows_core::CopyType; } - impl ::core::fmt::Debug for UdtKind { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { + impl core::fmt::Debug for UdtKind { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_tuple("UdtKind").field(&self.0).finish() } } - #[repr(transparent)] - #[derive( - ::core::cmp::PartialEq, - ::core::cmp::Eq, - ::core::marker::Copy, - ::core::clone::Clone, - ::core::default::Default, - )] - pub struct __MIDL___MIDL_itf_dia2_0000_0036_0001(pub i32); - impl ::windows_core::TypeKind for __MIDL___MIDL_itf_dia2_0000_0036_0001 { - type TypeKind = ::windows_core::CopyType; - } - impl ::core::fmt::Debug for __MIDL___MIDL_itf_dia2_0000_0036_0001 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_tuple("__MIDL___MIDL_itf_dia2_0000_0036_0001") - .field(&self.0) - .finish() - } - } #[repr(C)] + #[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DiaAddressMapEntry { pub rva: u32, pub rvaTo: u32, } - impl ::core::marker::Copy for DiaAddressMapEntry {} - impl ::core::clone::Clone for DiaAddressMapEntry { - fn clone(&self) -> Self { - *self - } - } - impl ::core::fmt::Debug for DiaAddressMapEntry { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("DiaAddressMapEntry") - .field("rva", &self.rva) - .field("rvaTo", &self.rvaTo) - .finish() - } - } - impl ::windows_core::TypeKind for DiaAddressMapEntry { - type TypeKind = ::windows_core::CopyType; + impl windows_core::TypeKind for DiaAddressMapEntry { + type TypeKind = windows_core::CopyType; } - impl ::core::cmp::PartialEq for DiaAddressMapEntry { - fn eq(&self, other: &Self) -> bool { - self.rva == other.rva && self.rvaTo == other.rvaTo - } - } - impl ::core::cmp::Eq for DiaAddressMapEntry {} - impl ::core::default::Default for DiaAddressMapEntry { + impl Default for DiaAddressMapEntry { fn default() -> Self { - unsafe { ::core::mem::zeroed() } + unsafe { core::mem::zeroed() } } } + pub const DiaSource: windows_core::GUID = + windows_core::GUID::from_u128(0xe6756135_1e65_4d17_8576_610761398c3c); + pub const DiaSourceAlt: windows_core::GUID = + windows_core::GUID::from_u128(0x91904831_49ca_4766_b95c_25397e2dd6dc); + pub const DiaStackWalker: windows_core::GUID = + windows_core::GUID::from_u128(0xce4a85db_5768_475b_a4e1_c0bca2112a6b); #[repr(C)] + #[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DiaTagValue { pub value: [u8; 16], pub valueSizeBytes: u8, } - impl ::core::marker::Copy for DiaTagValue {} - impl ::core::clone::Clone for DiaTagValue { - fn clone(&self) -> Self { - *self - } - } - impl ::core::fmt::Debug for DiaTagValue { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("DiaTagValue") - .field("value", &self.value) - .field("valueSizeBytes", &self.valueSizeBytes) - .finish() - } - } - impl ::windows_core::TypeKind for DiaTagValue { - type TypeKind = ::windows_core::CopyType; - } - impl ::core::cmp::PartialEq for DiaTagValue { - fn eq(&self, other: &Self) -> bool { - self.value == other.value && self.valueSizeBytes == other.valueSizeBytes - } + impl windows_core::TypeKind for DiaTagValue { + type TypeKind = windows_core::CopyType; } - impl ::core::cmp::Eq for DiaTagValue {} - impl ::core::default::Default for DiaTagValue { + impl Default for DiaTagValue { fn default() -> Self { - unsafe { ::core::mem::zeroed() } + unsafe { core::mem::zeroed() } } } #[repr(C)] - pub struct __MIDL___MIDL_itf_dia2_0000_0045_0001 { + #[derive(Clone, Copy, Debug, Eq, PartialEq)] + pub struct __MIDL___MIDL_itf_dia2_0000_0049_0001 { pub ulOffStart: u32, pub cbProcSize: u32, pub cdwLocals: u32, pub cdwParams: u16, pub cdwFlags: u16, } - impl ::core::marker::Copy for __MIDL___MIDL_itf_dia2_0000_0045_0001 {} - impl ::core::clone::Clone for __MIDL___MIDL_itf_dia2_0000_0045_0001 { - fn clone(&self) -> Self { - *self - } - } - impl ::core::fmt::Debug for __MIDL___MIDL_itf_dia2_0000_0045_0001 { - fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { - f.debug_struct("__MIDL___MIDL_itf_dia2_0000_0045_0001") - .field("ulOffStart", &self.ulOffStart) - .field("cbProcSize", &self.cbProcSize) - .field("cdwLocals", &self.cdwLocals) - .field("cdwParams", &self.cdwParams) - .field("cdwFlags", &self.cdwFlags) - .finish() - } - } - impl ::windows_core::TypeKind for __MIDL___MIDL_itf_dia2_0000_0045_0001 { - type TypeKind = ::windows_core::CopyType; - } - impl ::core::cmp::PartialEq for __MIDL___MIDL_itf_dia2_0000_0045_0001 { - fn eq(&self, other: &Self) -> bool { - self.ulOffStart == other.ulOffStart - && self.cbProcSize == other.cbProcSize - && self.cdwLocals == other.cdwLocals - && self.cdwParams == other.cdwParams - && self.cdwFlags == other.cdwFlags - } + impl windows_core::TypeKind for __MIDL___MIDL_itf_dia2_0000_0049_0001 { + type TypeKind = windows_core::CopyType; } - impl ::core::cmp::Eq for __MIDL___MIDL_itf_dia2_0000_0045_0001 {} - impl ::core::default::Default for __MIDL___MIDL_itf_dia2_0000_0045_0001 { + impl Default for __MIDL___MIDL_itf_dia2_0000_0049_0001 { fn default() -> Self { - unsafe { ::core::mem::zeroed() } + unsafe { core::mem::zeroed() } } } + pub type PFNMINIPDBERRORCALLBACK2 = Option< + unsafe extern "system" fn( + pvcontext: *mut core::ffi::c_void, + dwerrorcode: u32, + szobjorpdb: windows_core::PCWSTR, + szlib: windows_core::PCWSTR, + ) -> windows_core::HRESULT, + >; }