Struct windows::Win32::System::Performance::ITraceDataProvider
pub struct ITraceDataProvider(/* private fields */);
Implementations§
§impl ITraceDataProvider
impl ITraceDataProvider
pub unsafe fn DisplayName(&self) -> Result<BSTR>
pub unsafe fn SetDisplayName<P0>(&self, name: P0) -> Result<()>where
P0: Param<BSTR>,
pub unsafe fn Guid(&self) -> Result<GUID>
pub unsafe fn SetGuid(&self, guid: GUID) -> Result<()>
pub unsafe fn Level(&self) -> Result<IValueMap>
pub unsafe fn KeywordsAny(&self) -> Result<IValueMap>
pub unsafe fn KeywordsAll(&self) -> Result<IValueMap>
pub unsafe fn Properties(&self) -> Result<IValueMap>
pub unsafe fn FilterEnabled(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetFilterEnabled<P0>(&self, filterenabled: P0) -> Result<()>where
P0: Param<VARIANT_BOOL>,
pub unsafe fn FilterType(&self) -> Result<u32>
pub unsafe fn SetFilterType(&self, ultype: u32) -> Result<()>
pub unsafe fn FilterData(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn SetFilterData(&self, pdata: *const SAFEARRAY) -> Result<()>
pub unsafe fn Query<P0, P1>(&self, bstrname: P0, bstrserver: P1) -> Result<()>where
P0: Param<BSTR>,
P1: Param<BSTR>,
pub unsafe fn Resolve<P0>(&self, pfrom: P0) -> Result<()>where
P0: Param<IDispatch>,
pub unsafe fn SetSecurity<P0>(&self, sddl: P0) -> Result<()>where
P0: Param<BSTR>,
pub unsafe fn GetSecurity(&self, securityinfo: u32) -> Result<BSTR>
pub unsafe fn GetRegisteredProcesses(&self) -> Result<IValueMap>
Methods from Deref<Target = IDispatch>§
pub unsafe fn GetTypeInfoCount(&self) -> Result<u32>
pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> Result<ITypeInfo>
pub unsafe fn GetIDsOfNames( &self, riid: *const GUID, rgsznames: *const PCWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32, ) -> Result<()>
pub unsafe fn Invoke( &self, dispidmember: i32, riid: *const GUID, lcid: u32, wflags: DISPATCH_FLAGS, pdispparams: *const DISPPARAMS, pvarresult: Option<*mut VARIANT>, pexcepinfo: Option<*mut EXCEPINFO>, puargerr: Option<*mut u32>, ) -> Result<()>
Trait Implementations§
§impl CanInto<IUnknown> for ITraceDataProvider
impl CanInto<IUnknown> for ITraceDataProvider
§impl Clone for ITraceDataProvider
impl Clone for ITraceDataProvider
§fn clone(&self) -> ITraceDataProvider
fn clone(&self) -> ITraceDataProvider
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 ITraceDataProvider
impl Debug for ITraceDataProvider
§impl Deref for ITraceDataProvider
impl Deref for ITraceDataProvider
§impl From<&ITraceDataProvider> for &IDispatch
impl From<&ITraceDataProvider> for &IDispatch
§fn from(value: &ITraceDataProvider) -> Self
fn from(value: &ITraceDataProvider) -> Self
Converts to this type from the input type.
§impl From<&ITraceDataProvider> for &IUnknown
impl From<&ITraceDataProvider> for &IUnknown
§fn from(value: &ITraceDataProvider) -> Self
fn from(value: &ITraceDataProvider) -> Self
Converts to this type from the input type.
§impl From<ITraceDataProvider> for IDispatch
impl From<ITraceDataProvider> for IDispatch
§fn from(value: ITraceDataProvider) -> Self
fn from(value: ITraceDataProvider) -> Self
Converts to this type from the input type.
§impl From<ITraceDataProvider> for IUnknown
impl From<ITraceDataProvider> for IUnknown
§fn from(value: ITraceDataProvider) -> Self
fn from(value: ITraceDataProvider) -> Self
Converts to this type from the input type.
§impl Interface for ITraceDataProvider
impl Interface for ITraceDataProvider
§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 ITraceDataProvider
impl PartialEq for ITraceDataProvider
§fn eq(&self, other: &ITraceDataProvider) -> bool
fn eq(&self, other: &ITraceDataProvider) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ITraceDataProvider
impl StructuralPartialEq for ITraceDataProvider
Auto Trait Implementations§
impl Freeze for ITraceDataProvider
impl RefUnwindSafe for ITraceDataProvider
impl !Send for ITraceDataProvider
impl !Sync for ITraceDataProvider
impl Unpin for ITraceDataProvider
impl UnwindSafe for ITraceDataProvider
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
)