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: IntoParam<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: IntoParam<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<()>
pub unsafe fn Resolve<P0>(&self, pfrom: P0) -> Result<()>where
P0: IntoParam<IDispatch>,
pub unsafe fn SetSecurity<P0>(&self, sddl: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn GetSecurity(&self, securityinfo: u32) -> Result<BSTR>
pub unsafe fn GetRegisteredProcesses(&self) -> Result<IValueMap>
Trait Implementations§
§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 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§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 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