Struct windows::Win32::Storage::VirtualDiskService::IVdsDrive
pub struct IVdsDrive(/* private fields */);
Implementations§
§impl IVdsDrive
impl IVdsDrive
pub unsafe fn GetProperties( &self, pdriveprop: *mut VDS_DRIVE_PROP ) -> Result<()>
pub unsafe fn GetSubSystem(&self) -> Result<IVdsSubSystem>
pub unsafe fn QueryExtents( &self, ppextentarray: *mut *mut VDS_DRIVE_EXTENT, plnumberofextents: *mut i32 ) -> Result<()>
pub unsafe fn SetFlags(&self, ulflags: u32) -> Result<()>
pub unsafe fn ClearFlags(&self, ulflags: u32) -> Result<()>
pub unsafe fn SetStatus(&self, status: VDS_DRIVE_STATUS) -> Result<()>
Trait Implementations§
§impl Interface for IVdsDrive
impl Interface for IVdsDrive
§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 moreimpl Eq for IVdsDrive
impl StructuralPartialEq for IVdsDrive
Auto Trait Implementations§
impl RefUnwindSafe for IVdsDrive
impl !Send for IVdsDrive
impl !Sync for IVdsDrive
impl Unpin for IVdsDrive
impl UnwindSafe for IVdsDrive
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