pub struct INetDiagHelper(/* private fields */);
Implementations§
§impl INetDiagHelper
impl INetDiagHelper
pub unsafe fn Initialize(&self, rgattributes: &[HELPER_ATTRIBUTE]) -> Result<()>
pub unsafe fn GetDiagnosticsInfo(&self) -> Result<*mut DiagnosticsInfo>
pub unsafe fn GetKeyAttributes( &self, pcelt: *mut u32, pprgattributes: *mut *mut HELPER_ATTRIBUTE ) -> Result<()>
pub unsafe fn LowHealth<P0>(
&self,
pwszinstancedescription: P0,
ppwszdescription: *mut PWSTR,
pdeferredtime: *mut i32,
pstatus: *mut DIAGNOSIS_STATUS
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn HighUtilization<P0>(
&self,
pwszinstancedescription: P0,
ppwszdescription: *mut PWSTR,
pdeferredtime: *mut i32,
pstatus: *mut DIAGNOSIS_STATUS
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn GetLowerHypotheses( &self, pcelt: *mut u32, pprghypotheses: *mut *mut HYPOTHESIS ) -> Result<()>
pub unsafe fn GetDownStreamHypotheses( &self, pcelt: *mut u32, pprghypotheses: *mut *mut HYPOTHESIS ) -> Result<()>
pub unsafe fn GetHigherHypotheses( &self, pcelt: *mut u32, pprghypotheses: *mut *mut HYPOTHESIS ) -> Result<()>
pub unsafe fn GetUpStreamHypotheses( &self, pcelt: *mut u32, pprghypotheses: *mut *mut HYPOTHESIS ) -> Result<()>
pub unsafe fn Repair( &self, pinfo: *const RepairInfo, pdeferredtime: *mut i32, pstatus: *mut REPAIR_STATUS ) -> Result<()>
pub unsafe fn Validate( &self, problem: PROBLEM_TYPE, pdeferredtime: *mut i32, pstatus: *mut REPAIR_STATUS ) -> Result<()>
pub unsafe fn GetRepairInfo( &self, problem: PROBLEM_TYPE, pcelt: *mut u32, ppinfo: *mut *mut RepairInfo ) -> Result<()>
pub unsafe fn GetLifeTime(&self) -> Result<LIFE_TIME>
pub unsafe fn SetLifeTime(&self, lifetime: LIFE_TIME) -> Result<()>
pub unsafe fn GetCacheTime(&self) -> Result<FILETIME>
pub unsafe fn GetAttributes( &self, pcelt: *mut u32, pprgattributes: *mut *mut HELPER_ATTRIBUTE ) -> Result<()>
pub unsafe fn Cancel(&self) -> Result<()>
pub unsafe fn Cleanup(&self) -> Result<()>
Trait Implementations§
§impl Clone for INetDiagHelper
impl Clone for INetDiagHelper
§fn clone(&self) -> INetDiagHelper
fn clone(&self) -> INetDiagHelper
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 INetDiagHelper
impl Debug for INetDiagHelper
§impl Deref for INetDiagHelper
impl Deref for INetDiagHelper
§impl From<&INetDiagHelper> for &IUnknown
impl From<&INetDiagHelper> for &IUnknown
§fn from(value: &INetDiagHelper) -> Self
fn from(value: &INetDiagHelper) -> Self
Converts to this type from the input type.
§impl From<INetDiagHelper> for IUnknown
impl From<INetDiagHelper> for IUnknown
§fn from(value: INetDiagHelper) -> Self
fn from(value: INetDiagHelper) -> Self
Converts to this type from the input type.
§impl Interface for INetDiagHelper
impl Interface for INetDiagHelper
§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 INetDiagHelper
impl PartialEq for INetDiagHelper
§fn eq(&self, other: &INetDiagHelper) -> bool
fn eq(&self, other: &INetDiagHelper) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for INetDiagHelper
impl StructuralPartialEq for INetDiagHelper
Auto Trait Implementations§
impl Freeze for INetDiagHelper
impl RefUnwindSafe for INetDiagHelper
impl !Send for INetDiagHelper
impl !Sync for INetDiagHelper
impl Unpin for INetDiagHelper
impl UnwindSafe for INetDiagHelper
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