Struct windows::Win32::Storage::VirtualDiskService::IVdsOpenVDisk
pub struct IVdsOpenVDisk(/* private fields */);
Implementations§
§impl IVdsOpenVDisk
impl IVdsOpenVDisk
pub unsafe fn Attach<P0>(
&self,
pstringsecuritydescriptor: P0,
flags: ATTACH_VIRTUAL_DISK_FLAG,
providerspecificflags: u32,
timeoutinms: u32
) -> Result<IVdsAsync>where
P0: IntoParam<PCWSTR>,
pub unsafe fn Detach( &self, flags: DETACH_VIRTUAL_DISK_FLAG, providerspecificflags: u32 ) -> Result<()>
pub unsafe fn DetachAndDelete( &self, flags: DETACH_VIRTUAL_DISK_FLAG, providerspecificflags: u32 ) -> Result<()>
pub unsafe fn Compact( &self, flags: COMPACT_VIRTUAL_DISK_FLAG, reserved: u32 ) -> Result<IVdsAsync>
pub unsafe fn Merge( &self, flags: MERGE_VIRTUAL_DISK_FLAG, mergedepth: u32 ) -> Result<IVdsAsync>
pub unsafe fn Expand( &self, flags: EXPAND_VIRTUAL_DISK_FLAG, newsize: u64 ) -> Result<IVdsAsync>
Trait Implementations§
§impl Clone for IVdsOpenVDisk
impl Clone for IVdsOpenVDisk
§fn clone(&self) -> IVdsOpenVDisk
fn clone(&self) -> IVdsOpenVDisk
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 IVdsOpenVDisk
impl Debug for IVdsOpenVDisk
§impl From<&IVdsOpenVDisk> for &IUnknown
impl From<&IVdsOpenVDisk> for &IUnknown
§fn from(value: &IVdsOpenVDisk) -> Self
fn from(value: &IVdsOpenVDisk) -> Self
Converts to this type from the input type.
§impl From<IVdsOpenVDisk> for IUnknown
impl From<IVdsOpenVDisk> for IUnknown
§fn from(value: IVdsOpenVDisk) -> Self
fn from(value: IVdsOpenVDisk) -> Self
Converts to this type from the input type.
§impl Interface for IVdsOpenVDisk
impl Interface for IVdsOpenVDisk
§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 IVdsOpenVDisk
impl PartialEq for IVdsOpenVDisk
§fn eq(&self, other: &IVdsOpenVDisk) -> bool
fn eq(&self, other: &IVdsOpenVDisk) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IVdsOpenVDisk
impl StructuralPartialEq for IVdsOpenVDisk
Auto Trait Implementations§
impl RefUnwindSafe for IVdsOpenVDisk
impl !Send for IVdsOpenVDisk
impl !Sync for IVdsOpenVDisk
impl Unpin for IVdsOpenVDisk
impl UnwindSafe for IVdsOpenVDisk
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