Trait windows::Win32::System::Diagnostics::Debug::Extensions::IModelObject_Impl
pub trait IModelObject_Impl: Sized {
Show 33 methods
// Required methods
fn GetContext(&self) -> Result<IDebugHostContext>;
fn GetKind(&self) -> Result<ModelObjectKind>;
fn GetIntrinsicValue(&self) -> Result<VARIANT>;
fn GetIntrinsicValueAs(&self, vt: VARENUM) -> Result<VARIANT>;
fn GetKeyValue(
&self,
key: &PCWSTR,
object: *mut Option<IModelObject>,
metadata: *mut Option<IKeyStore>,
) -> Result<()>;
fn SetKeyValue(
&self,
key: &PCWSTR,
object: Option<&IModelObject>,
) -> Result<()>;
fn EnumerateKeyValues(&self) -> Result<IKeyEnumerator>;
fn GetRawValue(
&self,
kind: SymbolKind,
name: &PCWSTR,
searchflags: u32,
) -> Result<IModelObject>;
fn EnumerateRawValues(
&self,
kind: SymbolKind,
searchflags: u32,
) -> Result<IRawEnumerator>;
fn Dereference(&self) -> Result<IModelObject>;
fn TryCastToRuntimeType(&self) -> Result<IModelObject>;
fn GetConcept(
&self,
conceptid: *const GUID,
conceptinterface: *mut Option<IUnknown>,
conceptmetadata: *mut Option<IKeyStore>,
) -> Result<()>;
fn GetLocation(&self) -> Result<Location>;
fn GetTypeInfo(&self) -> Result<IDebugHostType>;
fn GetTargetInfo(
&self,
location: *mut Location,
type: *mut Option<IDebugHostType>,
) -> Result<()>;
fn GetNumberOfParentModels(&self) -> Result<u64>;
fn GetParentModel(
&self,
i: u64,
model: *mut Option<IModelObject>,
contextobject: *mut Option<IModelObject>,
) -> Result<()>;
fn AddParentModel(
&self,
model: Option<&IModelObject>,
contextobject: Option<&IModelObject>,
override: u8,
) -> Result<()>;
fn RemoveParentModel(&self, model: Option<&IModelObject>) -> Result<()>;
fn GetKey(
&self,
key: &PCWSTR,
object: *mut Option<IModelObject>,
metadata: *mut Option<IKeyStore>,
) -> Result<()>;
fn GetKeyReference(
&self,
key: &PCWSTR,
objectreference: *mut Option<IModelObject>,
metadata: *mut Option<IKeyStore>,
) -> Result<()>;
fn SetKey(
&self,
key: &PCWSTR,
object: Option<&IModelObject>,
metadata: Option<&IKeyStore>,
) -> Result<()>;
fn ClearKeys(&self) -> Result<()>;
fn EnumerateKeys(&self) -> Result<IKeyEnumerator>;
fn EnumerateKeyReferences(&self) -> Result<IKeyEnumerator>;
fn SetConcept(
&self,
conceptid: *const GUID,
conceptinterface: Option<&IUnknown>,
conceptmetadata: Option<&IKeyStore>,
) -> Result<()>;
fn ClearConcepts(&self) -> Result<()>;
fn GetRawReference(
&self,
kind: SymbolKind,
name: &PCWSTR,
searchflags: u32,
) -> Result<IModelObject>;
fn EnumerateRawReferences(
&self,
kind: SymbolKind,
searchflags: u32,
) -> Result<IRawEnumerator>;
fn SetContextForDataModel(
&self,
datamodelobject: Option<&IModelObject>,
context: Option<&IUnknown>,
) -> Result<()>;
fn GetContextForDataModel(
&self,
datamodelobject: Option<&IModelObject>,
) -> Result<IUnknown>;
fn Compare(
&self,
other: Option<&IModelObject>,
ppresult: *mut Option<IModelObject>,
) -> Result<()>;
fn IsEqualTo(&self, other: Option<&IModelObject>) -> Result<bool>;
}
Required Methods§
fn GetContext(&self) -> Result<IDebugHostContext>
fn GetKind(&self) -> Result<ModelObjectKind>
fn GetIntrinsicValue(&self) -> Result<VARIANT>
fn GetIntrinsicValueAs(&self, vt: VARENUM) -> Result<VARIANT>
fn GetKeyValue( &self, key: &PCWSTR, object: *mut Option<IModelObject>, metadata: *mut Option<IKeyStore>, ) -> Result<()>
fn SetKeyValue(&self, key: &PCWSTR, object: Option<&IModelObject>) -> Result<()>
fn EnumerateKeyValues(&self) -> Result<IKeyEnumerator>
fn GetRawValue( &self, kind: SymbolKind, name: &PCWSTR, searchflags: u32, ) -> Result<IModelObject>
fn EnumerateRawValues( &self, kind: SymbolKind, searchflags: u32, ) -> Result<IRawEnumerator>
fn Dereference(&self) -> Result<IModelObject>
fn TryCastToRuntimeType(&self) -> Result<IModelObject>
fn GetConcept( &self, conceptid: *const GUID, conceptinterface: *mut Option<IUnknown>, conceptmetadata: *mut Option<IKeyStore>, ) -> Result<()>
fn GetLocation(&self) -> Result<Location>
fn GetTypeInfo(&self) -> Result<IDebugHostType>
fn GetTargetInfo( &self, location: *mut Location, type: *mut Option<IDebugHostType>, ) -> Result<()>
fn GetNumberOfParentModels(&self) -> Result<u64>
fn GetParentModel( &self, i: u64, model: *mut Option<IModelObject>, contextobject: *mut Option<IModelObject>, ) -> Result<()>
fn AddParentModel( &self, model: Option<&IModelObject>, contextobject: Option<&IModelObject>, override: u8, ) -> Result<()>
fn RemoveParentModel(&self, model: Option<&IModelObject>) -> Result<()>
fn GetKey( &self, key: &PCWSTR, object: *mut Option<IModelObject>, metadata: *mut Option<IKeyStore>, ) -> Result<()>
fn GetKeyReference( &self, key: &PCWSTR, objectreference: *mut Option<IModelObject>, metadata: *mut Option<IKeyStore>, ) -> Result<()>
fn SetKey( &self, key: &PCWSTR, object: Option<&IModelObject>, metadata: Option<&IKeyStore>, ) -> Result<()>
fn ClearKeys(&self) -> Result<()>
fn EnumerateKeys(&self) -> Result<IKeyEnumerator>
fn EnumerateKeyReferences(&self) -> Result<IKeyEnumerator>
fn SetConcept( &self, conceptid: *const GUID, conceptinterface: Option<&IUnknown>, conceptmetadata: Option<&IKeyStore>, ) -> Result<()>
fn ClearConcepts(&self) -> Result<()>
fn GetRawReference( &self, kind: SymbolKind, name: &PCWSTR, searchflags: u32, ) -> Result<IModelObject>
fn EnumerateRawReferences( &self, kind: SymbolKind, searchflags: u32, ) -> Result<IRawEnumerator>
fn SetContextForDataModel( &self, datamodelobject: Option<&IModelObject>, context: Option<&IUnknown>, ) -> Result<()>
fn GetContextForDataModel( &self, datamodelobject: Option<&IModelObject>, ) -> Result<IUnknown>
fn Compare( &self, other: Option<&IModelObject>, ppresult: *mut Option<IModelObject>, ) -> Result<()>
fn IsEqualTo(&self, other: Option<&IModelObject>) -> Result<bool>
Object Safety§
This trait is not object safe.