pub trait IMetaDataAssemblyImport_Impl: Sized {
Show 14 methods
// Required methods
fn GetAssemblyProps(
&self,
mda: u32,
ppbpublickey: *const *const c_void,
pcbpublickey: *mut u32,
pulhashalgid: *mut u32,
szname: PWSTR,
cchname: u32,
pchname: *mut u32,
pmetadata: *mut ASSEMBLYMETADATA,
pdwassemblyflags: *mut u32,
) -> Result<()>;
fn GetAssemblyRefProps(
&self,
mdar: u32,
ppbpublickeyortoken: *const *const c_void,
pcbpublickeyortoken: *mut u32,
szname: PWSTR,
cchname: u32,
pchname: *mut u32,
pmetadata: *mut ASSEMBLYMETADATA,
ppbhashvalue: *const *const c_void,
pcbhashvalue: *mut u32,
pdwassemblyrefflags: *mut u32,
) -> Result<()>;
fn GetFileProps(
&self,
mdf: u32,
szname: PWSTR,
cchname: u32,
pchname: *mut u32,
ppbhashvalue: *const *const c_void,
pcbhashvalue: *mut u32,
pdwfileflags: *mut u32,
) -> Result<()>;
fn GetExportedTypeProps(
&self,
mdct: u32,
szname: PWSTR,
cchname: u32,
pchname: *mut u32,
ptkimplementation: *mut u32,
ptktypedef: *mut u32,
pdwexportedtypeflags: *mut u32,
) -> Result<()>;
fn GetManifestResourceProps(
&self,
mdmr: u32,
szname: PWSTR,
cchname: u32,
pchname: *mut u32,
ptkimplementation: *mut u32,
pdwoffset: *mut u32,
pdwresourceflags: *mut u32,
) -> Result<()>;
fn EnumAssemblyRefs(
&self,
phenum: *mut *mut c_void,
rassemblyrefs: *mut u32,
cmax: u32,
pctokens: *mut u32,
) -> Result<()>;
fn EnumFiles(
&self,
phenum: *mut *mut c_void,
rfiles: *mut u32,
cmax: u32,
pctokens: *mut u32,
) -> Result<()>;
fn EnumExportedTypes(
&self,
phenum: *mut *mut c_void,
rexportedtypes: *mut u32,
cmax: u32,
pctokens: *mut u32,
) -> Result<()>;
fn EnumManifestResources(
&self,
phenum: *mut *mut c_void,
rmanifestresources: *mut u32,
cmax: u32,
pctokens: *mut u32,
) -> Result<()>;
fn GetAssemblyFromScope(&self, ptkassembly: *mut u32) -> Result<()>;
fn FindExportedTypeByName(
&self,
szname: &PCWSTR,
mdtexportedtype: u32,
ptkexportedtype: *mut u32,
) -> Result<()>;
fn FindManifestResourceByName(
&self,
szname: &PCWSTR,
ptkmanifestresource: *mut u32,
) -> Result<()>;
fn CloseEnum(&self, henum: *mut c_void);
fn FindAssembliesByName(
&self,
szappbase: &PCWSTR,
szprivatebin: &PCWSTR,
szassemblyname: &PCWSTR,
ppiunk: *mut Option<IUnknown>,
cmax: u32,
pcassemblies: *mut u32,
) -> Result<()>;
}
Required Methods§
fn GetAssemblyProps( &self, mda: u32, ppbpublickey: *const *const c_void, pcbpublickey: *mut u32, pulhashalgid: *mut u32, szname: PWSTR, cchname: u32, pchname: *mut u32, pmetadata: *mut ASSEMBLYMETADATA, pdwassemblyflags: *mut u32, ) -> Result<()>
fn GetAssemblyRefProps( &self, mdar: u32, ppbpublickeyortoken: *const *const c_void, pcbpublickeyortoken: *mut u32, szname: PWSTR, cchname: u32, pchname: *mut u32, pmetadata: *mut ASSEMBLYMETADATA, ppbhashvalue: *const *const c_void, pcbhashvalue: *mut u32, pdwassemblyrefflags: *mut u32, ) -> Result<()>
fn GetFileProps( &self, mdf: u32, szname: PWSTR, cchname: u32, pchname: *mut u32, ppbhashvalue: *const *const c_void, pcbhashvalue: *mut u32, pdwfileflags: *mut u32, ) -> Result<()>
fn GetExportedTypeProps( &self, mdct: u32, szname: PWSTR, cchname: u32, pchname: *mut u32, ptkimplementation: *mut u32, ptktypedef: *mut u32, pdwexportedtypeflags: *mut u32, ) -> Result<()>
fn GetManifestResourceProps( &self, mdmr: u32, szname: PWSTR, cchname: u32, pchname: *mut u32, ptkimplementation: *mut u32, pdwoffset: *mut u32, pdwresourceflags: *mut u32, ) -> Result<()>
fn EnumAssemblyRefs( &self, phenum: *mut *mut c_void, rassemblyrefs: *mut u32, cmax: u32, pctokens: *mut u32, ) -> Result<()>
fn EnumFiles( &self, phenum: *mut *mut c_void, rfiles: *mut u32, cmax: u32, pctokens: *mut u32, ) -> Result<()>
fn EnumExportedTypes( &self, phenum: *mut *mut c_void, rexportedtypes: *mut u32, cmax: u32, pctokens: *mut u32, ) -> Result<()>
fn EnumManifestResources( &self, phenum: *mut *mut c_void, rmanifestresources: *mut u32, cmax: u32, pctokens: *mut u32, ) -> Result<()>
fn GetAssemblyFromScope(&self, ptkassembly: *mut u32) -> Result<()>
fn FindExportedTypeByName( &self, szname: &PCWSTR, mdtexportedtype: u32, ptkexportedtype: *mut u32, ) -> Result<()>
fn FindManifestResourceByName( &self, szname: &PCWSTR, ptkmanifestresource: *mut u32, ) -> Result<()>
fn CloseEnum(&self, henum: *mut c_void)
fn FindAssembliesByName( &self, szappbase: &PCWSTR, szprivatebin: &PCWSTR, szassemblyname: &PCWSTR, ppiunk: *mut Option<IUnknown>, cmax: u32, pcassemblies: *mut u32, ) -> Result<()>
Object Safety§
This trait is not object safe.