Struct windows::Win32::Storage::VirtualDiskService::IVdsAdvancedDisk
pub struct IVdsAdvancedDisk(/* private fields */);
Implementations§
§impl IVdsAdvancedDisk
impl IVdsAdvancedDisk
pub unsafe fn GetPartitionProperties( &self, ulloffset: u64, ppartitionprop: *mut VDS_PARTITION_PROP, ) -> Result<()>
pub unsafe fn QueryPartitions( &self, pppartitionproparray: *mut *mut VDS_PARTITION_PROP, plnumberofpartitions: *mut i32, ) -> Result<()>
pub unsafe fn CreatePartition( &self, ulloffset: u64, ullsize: u64, para: *const CREATE_PARTITION_PARAMETERS, ) -> Result<IVdsAsync>
pub unsafe fn DeletePartition<P0, P1>( &self, ulloffset: u64, bforce: P0, bforceprotected: P1, ) -> Result<()>
pub unsafe fn ChangeAttributes( &self, ulloffset: u64, para: *const CHANGE_ATTRIBUTES_PARAMETERS, ) -> Result<()>
pub unsafe fn AssignDriveLetter( &self, ulloffset: u64, wcletter: u16, ) -> Result<()>
pub unsafe fn DeleteDriveLetter( &self, ulloffset: u64, wcletter: u16, ) -> Result<()>
pub unsafe fn GetDriveLetter( &self, ulloffset: u64, pwcletter: PWSTR, ) -> Result<()>
pub unsafe fn FormatPartition<P0, P1, P2, P3>( &self, ulloffset: u64, type: VDS_FILE_SYSTEM_TYPE, pwszlabel: P0, dwunitallocationsize: u32, bforce: P1, bquickformat: P2, benablecompression: P3, ) -> Result<IVdsAsync>
pub unsafe fn Clean<P0, P1, P2>( &self, bforce: P0, bforceoem: P1, bfullclean: P2, ) -> Result<IVdsAsync>
Trait Implementations§
§impl CanInto<IUnknown> for IVdsAdvancedDisk
impl CanInto<IUnknown> for IVdsAdvancedDisk
§impl Clone for IVdsAdvancedDisk
impl Clone for IVdsAdvancedDisk
§fn clone(&self) -> IVdsAdvancedDisk
fn clone(&self) -> IVdsAdvancedDisk
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 IVdsAdvancedDisk
impl Debug for IVdsAdvancedDisk
§impl Deref for IVdsAdvancedDisk
impl Deref for IVdsAdvancedDisk
§impl From<&IVdsAdvancedDisk> for &IUnknown
impl From<&IVdsAdvancedDisk> for &IUnknown
§fn from(value: &IVdsAdvancedDisk) -> Self
fn from(value: &IVdsAdvancedDisk) -> Self
Converts to this type from the input type.
§impl From<IVdsAdvancedDisk> for IUnknown
impl From<IVdsAdvancedDisk> for IUnknown
§fn from(value: IVdsAdvancedDisk) -> Self
fn from(value: IVdsAdvancedDisk) -> Self
Converts to this type from the input type.
§impl Interface for IVdsAdvancedDisk
impl Interface for IVdsAdvancedDisk
§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 IVdsAdvancedDisk
impl PartialEq for IVdsAdvancedDisk
§fn eq(&self, other: &IVdsAdvancedDisk) -> bool
fn eq(&self, other: &IVdsAdvancedDisk) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IVdsAdvancedDisk
impl StructuralPartialEq for IVdsAdvancedDisk
Auto Trait Implementations§
impl Freeze for IVdsAdvancedDisk
impl RefUnwindSafe for IVdsAdvancedDisk
impl !Send for IVdsAdvancedDisk
impl !Sync for IVdsAdvancedDisk
impl Unpin for IVdsAdvancedDisk
impl UnwindSafe for IVdsAdvancedDisk
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
)