Struct windows::Win32::Storage::FileServerResourceManager::IFsrmObject
pub struct IFsrmObject(/* private fields */);
Implementations§
§impl IFsrmObject
impl IFsrmObject
pub unsafe fn Id(&self) -> Result<GUID>
pub unsafe fn Description(&self) -> Result<BSTR>
pub unsafe fn SetDescription<P0>(&self, description: P0) -> Result<()>where
P0: Param<BSTR>,
pub unsafe fn Delete(&self) -> Result<()>
pub unsafe fn Commit(&self) -> Result<()>
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<IFsrmObject> for IFsrmAutoApplyQuota
impl CanInto<IFsrmObject> for IFsrmAutoApplyQuota
§impl CanInto<IFsrmObject> for IFsrmClassificationRule
impl CanInto<IFsrmObject> for IFsrmClassificationRule
§impl CanInto<IFsrmObject> for IFsrmClassifierModuleDefinition
impl CanInto<IFsrmObject> for IFsrmClassifierModuleDefinition
§impl CanInto<IFsrmObject> for IFsrmFileGroup
impl CanInto<IFsrmObject> for IFsrmFileGroup
§impl CanInto<IFsrmObject> for IFsrmFileGroupImported
impl CanInto<IFsrmObject> for IFsrmFileGroupImported
§impl CanInto<IFsrmObject> for IFsrmFileManagementJob
impl CanInto<IFsrmObject> for IFsrmFileManagementJob
§impl CanInto<IFsrmObject> for IFsrmFileScreen
impl CanInto<IFsrmObject> for IFsrmFileScreen
§impl CanInto<IFsrmObject> for IFsrmFileScreenBase
impl CanInto<IFsrmObject> for IFsrmFileScreenBase
§impl CanInto<IFsrmObject> for IFsrmFileScreenException
impl CanInto<IFsrmObject> for IFsrmFileScreenException
§impl CanInto<IFsrmObject> for IFsrmFileScreenTemplate
impl CanInto<IFsrmObject> for IFsrmFileScreenTemplate
§impl CanInto<IFsrmObject> for IFsrmFileScreenTemplateImported
impl CanInto<IFsrmObject> for IFsrmFileScreenTemplateImported
§impl CanInto<IFsrmObject> for IFsrmPipelineModuleDefinition
impl CanInto<IFsrmObject> for IFsrmPipelineModuleDefinition
§impl CanInto<IFsrmObject> for IFsrmPropertyDefinition
impl CanInto<IFsrmObject> for IFsrmPropertyDefinition
§impl CanInto<IFsrmObject> for IFsrmPropertyDefinition2
impl CanInto<IFsrmObject> for IFsrmPropertyDefinition2
§impl CanInto<IFsrmObject> for IFsrmQuota
impl CanInto<IFsrmObject> for IFsrmQuota
§impl CanInto<IFsrmObject> for IFsrmQuotaBase
impl CanInto<IFsrmObject> for IFsrmQuotaBase
§impl CanInto<IFsrmObject> for IFsrmQuotaObject
impl CanInto<IFsrmObject> for IFsrmQuotaObject
§impl CanInto<IFsrmObject> for IFsrmQuotaTemplate
impl CanInto<IFsrmObject> for IFsrmQuotaTemplate
§impl CanInto<IFsrmObject> for IFsrmQuotaTemplateImported
impl CanInto<IFsrmObject> for IFsrmQuotaTemplateImported
§impl CanInto<IFsrmObject> for IFsrmReportJob
impl CanInto<IFsrmObject> for IFsrmReportJob
§impl CanInto<IFsrmObject> for IFsrmStorageModuleDefinition
impl CanInto<IFsrmObject> for IFsrmStorageModuleDefinition
§impl CanInto<IUnknown> for IFsrmObject
impl CanInto<IUnknown> for IFsrmObject
§impl Clone for IFsrmObject
impl Clone for IFsrmObject
§fn clone(&self) -> IFsrmObject
fn clone(&self) -> IFsrmObject
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 IFsrmObject
impl Debug for IFsrmObject
§impl Deref for IFsrmObject
impl Deref for IFsrmObject
§impl From<&IFsrmAutoApplyQuota> for &IFsrmObject
impl From<&IFsrmAutoApplyQuota> for &IFsrmObject
§fn from(value: &IFsrmAutoApplyQuota) -> Self
fn from(value: &IFsrmAutoApplyQuota) -> Self
Converts to this type from the input type.
§impl From<&IFsrmClassificationRule> for &IFsrmObject
impl From<&IFsrmClassificationRule> for &IFsrmObject
§fn from(value: &IFsrmClassificationRule) -> Self
fn from(value: &IFsrmClassificationRule) -> Self
Converts to this type from the input type.
§impl From<&IFsrmClassifierModuleDefinition> for &IFsrmObject
impl From<&IFsrmClassifierModuleDefinition> for &IFsrmObject
§fn from(value: &IFsrmClassifierModuleDefinition) -> Self
fn from(value: &IFsrmClassifierModuleDefinition) -> Self
Converts to this type from the input type.
§impl From<&IFsrmFileGroup> for &IFsrmObject
impl From<&IFsrmFileGroup> for &IFsrmObject
§fn from(value: &IFsrmFileGroup) -> Self
fn from(value: &IFsrmFileGroup) -> Self
Converts to this type from the input type.
§impl From<&IFsrmFileGroupImported> for &IFsrmObject
impl From<&IFsrmFileGroupImported> for &IFsrmObject
§fn from(value: &IFsrmFileGroupImported) -> Self
fn from(value: &IFsrmFileGroupImported) -> Self
Converts to this type from the input type.
§impl From<&IFsrmFileManagementJob> for &IFsrmObject
impl From<&IFsrmFileManagementJob> for &IFsrmObject
§fn from(value: &IFsrmFileManagementJob) -> Self
fn from(value: &IFsrmFileManagementJob) -> Self
Converts to this type from the input type.
§impl From<&IFsrmFileScreen> for &IFsrmObject
impl From<&IFsrmFileScreen> for &IFsrmObject
§fn from(value: &IFsrmFileScreen) -> Self
fn from(value: &IFsrmFileScreen) -> Self
Converts to this type from the input type.
§impl From<&IFsrmFileScreenBase> for &IFsrmObject
impl From<&IFsrmFileScreenBase> for &IFsrmObject
§fn from(value: &IFsrmFileScreenBase) -> Self
fn from(value: &IFsrmFileScreenBase) -> Self
Converts to this type from the input type.
§impl From<&IFsrmFileScreenException> for &IFsrmObject
impl From<&IFsrmFileScreenException> for &IFsrmObject
§fn from(value: &IFsrmFileScreenException) -> Self
fn from(value: &IFsrmFileScreenException) -> Self
Converts to this type from the input type.
§impl From<&IFsrmFileScreenTemplate> for &IFsrmObject
impl From<&IFsrmFileScreenTemplate> for &IFsrmObject
§fn from(value: &IFsrmFileScreenTemplate) -> Self
fn from(value: &IFsrmFileScreenTemplate) -> Self
Converts to this type from the input type.
§impl From<&IFsrmFileScreenTemplateImported> for &IFsrmObject
impl From<&IFsrmFileScreenTemplateImported> for &IFsrmObject
§fn from(value: &IFsrmFileScreenTemplateImported) -> Self
fn from(value: &IFsrmFileScreenTemplateImported) -> Self
Converts to this type from the input type.
§impl From<&IFsrmObject> for &IDispatch
impl From<&IFsrmObject> for &IDispatch
§fn from(value: &IFsrmObject) -> Self
fn from(value: &IFsrmObject) -> Self
Converts to this type from the input type.
§impl From<&IFsrmObject> for &IUnknown
impl From<&IFsrmObject> for &IUnknown
§fn from(value: &IFsrmObject) -> Self
fn from(value: &IFsrmObject) -> Self
Converts to this type from the input type.
§impl From<&IFsrmPipelineModuleDefinition> for &IFsrmObject
impl From<&IFsrmPipelineModuleDefinition> for &IFsrmObject
§fn from(value: &IFsrmPipelineModuleDefinition) -> Self
fn from(value: &IFsrmPipelineModuleDefinition) -> Self
Converts to this type from the input type.
§impl From<&IFsrmPropertyDefinition> for &IFsrmObject
impl From<&IFsrmPropertyDefinition> for &IFsrmObject
§fn from(value: &IFsrmPropertyDefinition) -> Self
fn from(value: &IFsrmPropertyDefinition) -> Self
Converts to this type from the input type.
§impl From<&IFsrmPropertyDefinition2> for &IFsrmObject
impl From<&IFsrmPropertyDefinition2> for &IFsrmObject
§fn from(value: &IFsrmPropertyDefinition2) -> Self
fn from(value: &IFsrmPropertyDefinition2) -> Self
Converts to this type from the input type.
§impl From<&IFsrmQuota> for &IFsrmObject
impl From<&IFsrmQuota> for &IFsrmObject
§fn from(value: &IFsrmQuota) -> Self
fn from(value: &IFsrmQuota) -> Self
Converts to this type from the input type.
§impl From<&IFsrmQuotaBase> for &IFsrmObject
impl From<&IFsrmQuotaBase> for &IFsrmObject
§fn from(value: &IFsrmQuotaBase) -> Self
fn from(value: &IFsrmQuotaBase) -> Self
Converts to this type from the input type.
§impl From<&IFsrmQuotaObject> for &IFsrmObject
impl From<&IFsrmQuotaObject> for &IFsrmObject
§fn from(value: &IFsrmQuotaObject) -> Self
fn from(value: &IFsrmQuotaObject) -> Self
Converts to this type from the input type.
§impl From<&IFsrmQuotaTemplate> for &IFsrmObject
impl From<&IFsrmQuotaTemplate> for &IFsrmObject
§fn from(value: &IFsrmQuotaTemplate) -> Self
fn from(value: &IFsrmQuotaTemplate) -> Self
Converts to this type from the input type.
§impl From<&IFsrmQuotaTemplateImported> for &IFsrmObject
impl From<&IFsrmQuotaTemplateImported> for &IFsrmObject
§fn from(value: &IFsrmQuotaTemplateImported) -> Self
fn from(value: &IFsrmQuotaTemplateImported) -> Self
Converts to this type from the input type.
§impl From<&IFsrmReportJob> for &IFsrmObject
impl From<&IFsrmReportJob> for &IFsrmObject
§fn from(value: &IFsrmReportJob) -> Self
fn from(value: &IFsrmReportJob) -> Self
Converts to this type from the input type.
§impl From<&IFsrmRule> for &IFsrmObject
impl From<&IFsrmRule> for &IFsrmObject
§impl From<&IFsrmStorageModuleDefinition> for &IFsrmObject
impl From<&IFsrmStorageModuleDefinition> for &IFsrmObject
§fn from(value: &IFsrmStorageModuleDefinition) -> Self
fn from(value: &IFsrmStorageModuleDefinition) -> Self
Converts to this type from the input type.
§impl From<IFsrmAutoApplyQuota> for IFsrmObject
impl From<IFsrmAutoApplyQuota> for IFsrmObject
§fn from(value: IFsrmAutoApplyQuota) -> Self
fn from(value: IFsrmAutoApplyQuota) -> Self
Converts to this type from the input type.
§impl From<IFsrmClassificationRule> for IFsrmObject
impl From<IFsrmClassificationRule> for IFsrmObject
§fn from(value: IFsrmClassificationRule) -> Self
fn from(value: IFsrmClassificationRule) -> Self
Converts to this type from the input type.
§impl From<IFsrmClassifierModuleDefinition> for IFsrmObject
impl From<IFsrmClassifierModuleDefinition> for IFsrmObject
§fn from(value: IFsrmClassifierModuleDefinition) -> Self
fn from(value: IFsrmClassifierModuleDefinition) -> Self
Converts to this type from the input type.
§impl From<IFsrmFileGroup> for IFsrmObject
impl From<IFsrmFileGroup> for IFsrmObject
§fn from(value: IFsrmFileGroup) -> Self
fn from(value: IFsrmFileGroup) -> Self
Converts to this type from the input type.
§impl From<IFsrmFileGroupImported> for IFsrmObject
impl From<IFsrmFileGroupImported> for IFsrmObject
§fn from(value: IFsrmFileGroupImported) -> Self
fn from(value: IFsrmFileGroupImported) -> Self
Converts to this type from the input type.
§impl From<IFsrmFileManagementJob> for IFsrmObject
impl From<IFsrmFileManagementJob> for IFsrmObject
§fn from(value: IFsrmFileManagementJob) -> Self
fn from(value: IFsrmFileManagementJob) -> Self
Converts to this type from the input type.
§impl From<IFsrmFileScreen> for IFsrmObject
impl From<IFsrmFileScreen> for IFsrmObject
§fn from(value: IFsrmFileScreen) -> Self
fn from(value: IFsrmFileScreen) -> Self
Converts to this type from the input type.
§impl From<IFsrmFileScreenBase> for IFsrmObject
impl From<IFsrmFileScreenBase> for IFsrmObject
§fn from(value: IFsrmFileScreenBase) -> Self
fn from(value: IFsrmFileScreenBase) -> Self
Converts to this type from the input type.
§impl From<IFsrmFileScreenException> for IFsrmObject
impl From<IFsrmFileScreenException> for IFsrmObject
§fn from(value: IFsrmFileScreenException) -> Self
fn from(value: IFsrmFileScreenException) -> Self
Converts to this type from the input type.
§impl From<IFsrmFileScreenTemplate> for IFsrmObject
impl From<IFsrmFileScreenTemplate> for IFsrmObject
§fn from(value: IFsrmFileScreenTemplate) -> Self
fn from(value: IFsrmFileScreenTemplate) -> Self
Converts to this type from the input type.
§impl From<IFsrmFileScreenTemplateImported> for IFsrmObject
impl From<IFsrmFileScreenTemplateImported> for IFsrmObject
§fn from(value: IFsrmFileScreenTemplateImported) -> Self
fn from(value: IFsrmFileScreenTemplateImported) -> Self
Converts to this type from the input type.
§impl From<IFsrmObject> for IDispatch
impl From<IFsrmObject> for IDispatch
§fn from(value: IFsrmObject) -> Self
fn from(value: IFsrmObject) -> Self
Converts to this type from the input type.
§impl From<IFsrmObject> for IUnknown
impl From<IFsrmObject> for IUnknown
§fn from(value: IFsrmObject) -> Self
fn from(value: IFsrmObject) -> Self
Converts to this type from the input type.
§impl From<IFsrmPipelineModuleDefinition> for IFsrmObject
impl From<IFsrmPipelineModuleDefinition> for IFsrmObject
§fn from(value: IFsrmPipelineModuleDefinition) -> Self
fn from(value: IFsrmPipelineModuleDefinition) -> Self
Converts to this type from the input type.
§impl From<IFsrmPropertyDefinition> for IFsrmObject
impl From<IFsrmPropertyDefinition> for IFsrmObject
§fn from(value: IFsrmPropertyDefinition) -> Self
fn from(value: IFsrmPropertyDefinition) -> Self
Converts to this type from the input type.
§impl From<IFsrmPropertyDefinition2> for IFsrmObject
impl From<IFsrmPropertyDefinition2> for IFsrmObject
§fn from(value: IFsrmPropertyDefinition2) -> Self
fn from(value: IFsrmPropertyDefinition2) -> Self
Converts to this type from the input type.
§impl From<IFsrmQuota> for IFsrmObject
impl From<IFsrmQuota> for IFsrmObject
§fn from(value: IFsrmQuota) -> Self
fn from(value: IFsrmQuota) -> Self
Converts to this type from the input type.
§impl From<IFsrmQuotaBase> for IFsrmObject
impl From<IFsrmQuotaBase> for IFsrmObject
§fn from(value: IFsrmQuotaBase) -> Self
fn from(value: IFsrmQuotaBase) -> Self
Converts to this type from the input type.
§impl From<IFsrmQuotaObject> for IFsrmObject
impl From<IFsrmQuotaObject> for IFsrmObject
§fn from(value: IFsrmQuotaObject) -> Self
fn from(value: IFsrmQuotaObject) -> Self
Converts to this type from the input type.
§impl From<IFsrmQuotaTemplate> for IFsrmObject
impl From<IFsrmQuotaTemplate> for IFsrmObject
§fn from(value: IFsrmQuotaTemplate) -> Self
fn from(value: IFsrmQuotaTemplate) -> Self
Converts to this type from the input type.
§impl From<IFsrmQuotaTemplateImported> for IFsrmObject
impl From<IFsrmQuotaTemplateImported> for IFsrmObject
§fn from(value: IFsrmQuotaTemplateImported) -> Self
fn from(value: IFsrmQuotaTemplateImported) -> Self
Converts to this type from the input type.
§impl From<IFsrmReportJob> for IFsrmObject
impl From<IFsrmReportJob> for IFsrmObject
§fn from(value: IFsrmReportJob) -> Self
fn from(value: IFsrmReportJob) -> Self
Converts to this type from the input type.
§impl From<IFsrmRule> for IFsrmObject
impl From<IFsrmRule> for IFsrmObject
§impl From<IFsrmStorageModuleDefinition> for IFsrmObject
impl From<IFsrmStorageModuleDefinition> for IFsrmObject
§fn from(value: IFsrmStorageModuleDefinition) -> Self
fn from(value: IFsrmStorageModuleDefinition) -> Self
Converts to this type from the input type.
§impl Interface for IFsrmObject
impl Interface for IFsrmObject
§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 IFsrmObject
impl PartialEq for IFsrmObject
§fn eq(&self, other: &IFsrmObject) -> bool
fn eq(&self, other: &IFsrmObject) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IFsrmObject
impl StructuralPartialEq for IFsrmObject
Auto Trait Implementations§
impl Freeze for IFsrmObject
impl RefUnwindSafe for IFsrmObject
impl !Send for IFsrmObject
impl !Sync for IFsrmObject
impl Unpin for IFsrmObject
impl UnwindSafe for IFsrmObject
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
)