pub struct IFsrmPropertyBag2(/* private fields */);
Implementations§
§impl IFsrmPropertyBag2
impl IFsrmPropertyBag2
pub unsafe fn Name(&self) -> Result<BSTR>
pub unsafe fn RelativePath(&self) -> Result<BSTR>
pub unsafe fn VolumeName(&self) -> Result<BSTR>
pub unsafe fn RelativeNamespaceRoot(&self) -> Result<BSTR>
pub unsafe fn VolumeIndex(&self) -> Result<u32>
pub unsafe fn FileId(&self) -> Result<VARIANT>
pub unsafe fn ParentDirectoryId(&self) -> Result<VARIANT>
pub unsafe fn Size(&self) -> Result<VARIANT>
pub unsafe fn SizeAllocated(&self) -> Result<VARIANT>
pub unsafe fn CreationTime(&self) -> Result<VARIANT>
pub unsafe fn LastAccessTime(&self) -> Result<VARIANT>
pub unsafe fn LastModificationTime(&self) -> Result<VARIANT>
pub unsafe fn Attributes(&self) -> Result<u32>
pub unsafe fn OwnerSid(&self) -> Result<BSTR>
pub unsafe fn FilePropertyNames(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn Messages(&self) -> Result<*mut SAFEARRAY>
pub unsafe fn PropertyBagFlags(&self) -> Result<u32>
pub unsafe fn GetFileProperty<P0>(&self, name: P0) -> Result<IFsrmProperty>where
P0: IntoParam<BSTR>,
pub unsafe fn SetFileProperty<P0, P1>(&self, name: P0, value: P1) -> Result<()>
pub unsafe fn AddMessage<P0>(&self, message: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn GetFileStreamInterface( &self, accessmode: FsrmFileStreamingMode, interfacetype: FsrmFileStreamingInterfaceType ) -> Result<VARIANT>
pub unsafe fn GetFieldValue( &self, field: FsrmPropertyBagField ) -> Result<VARIANT>
pub unsafe fn GetUntrustedInFileProperties(&self) -> Result<IFsrmCollection>
Trait Implementations§
§impl Clone for IFsrmPropertyBag2
impl Clone for IFsrmPropertyBag2
§fn clone(&self) -> IFsrmPropertyBag2
fn clone(&self) -> IFsrmPropertyBag2
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 IFsrmPropertyBag2
impl Debug for IFsrmPropertyBag2
§impl From<&IFsrmPropertyBag2> for &IDispatch
impl From<&IFsrmPropertyBag2> for &IDispatch
§fn from(value: &IFsrmPropertyBag2) -> Self
fn from(value: &IFsrmPropertyBag2) -> Self
Converts to this type from the input type.
§impl From<&IFsrmPropertyBag2> for &IFsrmPropertyBag
impl From<&IFsrmPropertyBag2> for &IFsrmPropertyBag
§fn from(value: &IFsrmPropertyBag2) -> Self
fn from(value: &IFsrmPropertyBag2) -> Self
Converts to this type from the input type.
§impl From<&IFsrmPropertyBag2> for &IUnknown
impl From<&IFsrmPropertyBag2> for &IUnknown
§fn from(value: &IFsrmPropertyBag2) -> Self
fn from(value: &IFsrmPropertyBag2) -> Self
Converts to this type from the input type.
§impl From<IFsrmPropertyBag2> for IDispatch
impl From<IFsrmPropertyBag2> for IDispatch
§fn from(value: IFsrmPropertyBag2) -> Self
fn from(value: IFsrmPropertyBag2) -> Self
Converts to this type from the input type.
§impl From<IFsrmPropertyBag2> for IFsrmPropertyBag
impl From<IFsrmPropertyBag2> for IFsrmPropertyBag
§fn from(value: IFsrmPropertyBag2) -> Self
fn from(value: IFsrmPropertyBag2) -> Self
Converts to this type from the input type.
§impl From<IFsrmPropertyBag2> for IUnknown
impl From<IFsrmPropertyBag2> for IUnknown
§fn from(value: IFsrmPropertyBag2) -> Self
fn from(value: IFsrmPropertyBag2) -> Self
Converts to this type from the input type.
§impl Interface for IFsrmPropertyBag2
impl Interface for IFsrmPropertyBag2
§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 IFsrmPropertyBag2
impl PartialEq for IFsrmPropertyBag2
§fn eq(&self, other: &IFsrmPropertyBag2) -> bool
fn eq(&self, other: &IFsrmPropertyBag2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IFsrmPropertyBag2
impl StructuralPartialEq for IFsrmPropertyBag2
Auto Trait Implementations§
impl RefUnwindSafe for IFsrmPropertyBag2
impl !Send for IFsrmPropertyBag2
impl !Sync for IFsrmPropertyBag2
impl Unpin for IFsrmPropertyBag2
impl UnwindSafe for IFsrmPropertyBag2
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