Struct windows::Win32::System::Diagnostics::Debug::Extensions::IDataModelManager
pub struct IDataModelManager(/* private fields */);
Implementations§
§impl IDataModelManager
impl IDataModelManager
pub unsafe fn Close(&self) -> Result<()>
pub unsafe fn CreateNoValue(&self) -> Result<IModelObject>
pub unsafe fn CreateErrorObject<P0>(
&self,
hrerror: HRESULT,
pwszmessage: P0,
) -> Result<IModelObject>where
P0: Param<PCWSTR>,
pub unsafe fn CreateTypedObject<P0, P1>(
&self,
context: P0,
objectlocation: Location,
objecttype: P1,
) -> Result<IModelObject>where
P0: Param<IDebugHostContext>,
P1: Param<IDebugHostType>,
pub unsafe fn CreateTypedObjectReference<P0, P1>(
&self,
context: P0,
objectlocation: Location,
objecttype: P1,
) -> Result<IModelObject>where
P0: Param<IDebugHostContext>,
P1: Param<IDebugHostType>,
pub unsafe fn CreateSyntheticObject<P0>(
&self,
context: P0,
) -> Result<IModelObject>where
P0: Param<IDebugHostContext>,
pub unsafe fn CreateDataModelObject<P0>(
&self,
datamodel: P0,
) -> Result<IModelObject>where
P0: Param<IDataModelConcept>,
pub unsafe fn CreateIntrinsicObject( &self, objectkind: ModelObjectKind, intrinsicdata: *const VARIANT, ) -> Result<IModelObject>
pub unsafe fn CreateTypedIntrinsicObject<P0>(
&self,
intrinsicdata: *const VARIANT,
type: P0,
) -> Result<IModelObject>where
P0: Param<IDebugHostType>,
pub unsafe fn GetModelForTypeSignature<P0>(
&self,
typesignature: P0,
) -> Result<IModelObject>where
P0: Param<IDebugHostTypeSignature>,
pub unsafe fn GetModelForType<P0>(
&self,
type: P0,
datamodel: *mut Option<IModelObject>,
typesignature: Option<*mut Option<IDebugHostTypeSignature>>,
wildcardmatches: Option<*mut Option<IDebugHostSymbolEnumerator>>,
) -> Result<()>where
P0: Param<IDebugHostType>,
pub unsafe fn RegisterModelForTypeSignature<P0, P1>(
&self,
typesignature: P0,
datamodel: P1,
) -> Result<()>where
P0: Param<IDebugHostTypeSignature>,
P1: Param<IModelObject>,
pub unsafe fn UnregisterModelForTypeSignature<P0, P1>(
&self,
datamodel: P0,
typesignature: P1,
) -> Result<()>where
P0: Param<IModelObject>,
P1: Param<IDebugHostTypeSignature>,
pub unsafe fn RegisterExtensionForTypeSignature<P0, P1>(
&self,
typesignature: P0,
datamodel: P1,
) -> Result<()>where
P0: Param<IDebugHostTypeSignature>,
P1: Param<IModelObject>,
pub unsafe fn UnregisterExtensionForTypeSignature<P0, P1>(
&self,
datamodel: P0,
typesignature: P1,
) -> Result<()>where
P0: Param<IModelObject>,
P1: Param<IDebugHostTypeSignature>,
pub unsafe fn CreateMetadataStore<P0>(
&self,
parentstore: P0,
) -> Result<IKeyStore>where
P0: Param<IKeyStore>,
pub unsafe fn GetRootNamespace(&self) -> Result<IModelObject>
pub unsafe fn RegisterNamedModel<P0, P1>(
&self,
modelname: P0,
modeobject: P1,
) -> Result<()>where
P0: Param<PCWSTR>,
P1: Param<IModelObject>,
pub unsafe fn UnregisterNamedModel<P0>(&self, modelname: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn AcquireNamedModel<P0>(
&self,
modelname: P0,
) -> Result<IModelObject>where
P0: Param<PCWSTR>,
Trait Implementations§
§impl CanInto<IDataModelManager> for IDataModelManager2
impl CanInto<IDataModelManager> for IDataModelManager2
§impl CanInto<IUnknown> for IDataModelManager
impl CanInto<IUnknown> for IDataModelManager
§impl Clone for IDataModelManager
impl Clone for IDataModelManager
§fn clone(&self) -> IDataModelManager
fn clone(&self) -> IDataModelManager
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IDataModelManager
impl Debug for IDataModelManager
§impl Deref for IDataModelManager
impl Deref for IDataModelManager
§impl From<&IDataModelManager> for &IUnknown
impl From<&IDataModelManager> for &IUnknown
§fn from(value: &IDataModelManager) -> Self
fn from(value: &IDataModelManager) -> Self
Converts to this type from the input type.
§impl From<&IDataModelManager2> for &IDataModelManager
impl From<&IDataModelManager2> for &IDataModelManager
§fn from(value: &IDataModelManager2) -> Self
fn from(value: &IDataModelManager2) -> Self
Converts to this type from the input type.
§impl From<IDataModelManager> for IUnknown
impl From<IDataModelManager> for IUnknown
§fn from(value: IDataModelManager) -> Self
fn from(value: IDataModelManager) -> Self
Converts to this type from the input type.
§impl From<IDataModelManager2> for IDataModelManager
impl From<IDataModelManager2> for IDataModelManager
§fn from(value: IDataModelManager2) -> Self
fn from(value: IDataModelManager2) -> Self
Converts to this type from the input type.
§impl Interface for IDataModelManager
impl Interface for IDataModelManager
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IDataModelManager
impl PartialEq for IDataModelManager
§fn eq(&self, other: &IDataModelManager) -> bool
fn eq(&self, other: &IDataModelManager) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDataModelManager
impl StructuralPartialEq for IDataModelManager
Auto Trait Implementations§
impl Freeze for IDataModelManager
impl RefUnwindSafe for IDataModelManager
impl !Send for IDataModelManager
impl !Sync for IDataModelManager
impl Unpin for IDataModelManager
impl UnwindSafe for IDataModelManager
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)