Struct windows::Win32::Media::DeviceManager::IWMDMStorageControl3
pub struct IWMDMStorageControl3(/* private fields */);
Implementations§
§impl IWMDMStorageControl3
impl IWMDMStorageControl3
pub unsafe fn Insert<P0, P1, P2>( &self, fumode: u32, pwszfile: P0, poperation: P1, pprogress: P2 ) -> Result<IWMDMStorage>
pub unsafe fn Delete<P0>(&self, fumode: u32, pprogress: P0) -> Result<()>where
P0: IntoParam<IWMDMProgress>,
pub unsafe fn Rename<P0, P1>(
&self,
fumode: u32,
pwsznewname: P0,
pprogress: P1
) -> Result<()>where
P0: IntoParam<PCWSTR>,
P1: IntoParam<IWMDMProgress>,
pub unsafe fn Read<P0, P1, P2>( &self, fumode: u32, pwszfile: P0, pprogress: P1, poperation: P2 ) -> Result<()>
pub unsafe fn Move<P0, P1>(
&self,
fumode: u32,
ptargetobject: P0,
pprogress: P1
) -> Result<()>where
P0: IntoParam<IWMDMStorage>,
P1: IntoParam<IWMDMProgress>,
pub unsafe fn Insert2<P0, P1, P2, P3, P4>(
&self,
fumode: u32,
pwszfilesource: P0,
pwszfiledest: P1,
poperation: P2,
pprogress: P3,
punknown: P4,
ppnewobject: Option<*mut Option<IWMDMStorage>>
) -> Result<()>where
P0: IntoParam<PCWSTR>,
P1: IntoParam<PCWSTR>,
P2: IntoParam<IWMDMOperation>,
P3: IntoParam<IWMDMProgress>,
P4: IntoParam<IUnknown>,
pub unsafe fn Insert3<P0, P1, P2, P3, P4, P5>(
&self,
fumode: u32,
futype: u32,
pwszfilesource: P0,
pwszfiledest: P1,
poperation: P2,
pprogress: P3,
pmetadata: P4,
punknown: P5,
ppnewobject: Option<*mut Option<IWMDMStorage>>
) -> Result<()>where
P0: IntoParam<PCWSTR>,
P1: IntoParam<PCWSTR>,
P2: IntoParam<IWMDMOperation>,
P3: IntoParam<IWMDMProgress>,
P4: IntoParam<IWMDMMetaData>,
P5: IntoParam<IUnknown>,
Trait Implementations§
§impl Clone for IWMDMStorageControl3
impl Clone for IWMDMStorageControl3
§fn clone(&self) -> IWMDMStorageControl3
fn clone(&self) -> IWMDMStorageControl3
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 IWMDMStorageControl3
impl Debug for IWMDMStorageControl3
§impl From<&IWMDMStorageControl3> for &IUnknown
impl From<&IWMDMStorageControl3> for &IUnknown
§fn from(value: &IWMDMStorageControl3) -> Self
fn from(value: &IWMDMStorageControl3) -> Self
Converts to this type from the input type.
§impl From<&IWMDMStorageControl3> for &IWMDMStorageControl
impl From<&IWMDMStorageControl3> for &IWMDMStorageControl
§fn from(value: &IWMDMStorageControl3) -> Self
fn from(value: &IWMDMStorageControl3) -> Self
Converts to this type from the input type.
§impl From<&IWMDMStorageControl3> for &IWMDMStorageControl2
impl From<&IWMDMStorageControl3> for &IWMDMStorageControl2
§fn from(value: &IWMDMStorageControl3) -> Self
fn from(value: &IWMDMStorageControl3) -> Self
Converts to this type from the input type.
§impl From<IWMDMStorageControl3> for IUnknown
impl From<IWMDMStorageControl3> for IUnknown
§fn from(value: IWMDMStorageControl3) -> Self
fn from(value: IWMDMStorageControl3) -> Self
Converts to this type from the input type.
§impl From<IWMDMStorageControl3> for IWMDMStorageControl
impl From<IWMDMStorageControl3> for IWMDMStorageControl
§fn from(value: IWMDMStorageControl3) -> Self
fn from(value: IWMDMStorageControl3) -> Self
Converts to this type from the input type.
§impl From<IWMDMStorageControl3> for IWMDMStorageControl2
impl From<IWMDMStorageControl3> for IWMDMStorageControl2
§fn from(value: IWMDMStorageControl3) -> Self
fn from(value: IWMDMStorageControl3) -> Self
Converts to this type from the input type.
§impl Interface for IWMDMStorageControl3
impl Interface for IWMDMStorageControl3
§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 IWMDMStorageControl3
impl PartialEq for IWMDMStorageControl3
§fn eq(&self, other: &IWMDMStorageControl3) -> bool
fn eq(&self, other: &IWMDMStorageControl3) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IWMDMStorageControl3
impl StructuralPartialEq for IWMDMStorageControl3
Auto Trait Implementations§
impl RefUnwindSafe for IWMDMStorageControl3
impl !Send for IWMDMStorageControl3
impl !Sync for IWMDMStorageControl3
impl Unpin for IWMDMStorageControl3
impl UnwindSafe for IWMDMStorageControl3
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