Trait windows::Win32::Storage::VirtualDiskService::IVdsLun_Impl

pub trait IVdsLun_Impl: Sized {
Show 17 methods // Required methods fn GetProperties(&self, plunprop: *mut VDS_LUN_PROP) -> Result<()>; fn GetSubSystem(&self) -> Result<IVdsSubSystem>; fn GetIdentificationData( &self, pluninfo: *mut VDS_LUN_INFORMATION, ) -> Result<()>; fn QueryActiveControllers(&self) -> Result<IEnumVdsObject>; fn Extend( &self, ullnumberofbytestoadd: u64, pdriveidarray: *const GUID, lnumberofdrives: i32, ) -> Result<IVdsAsync>; fn Shrink(&self, ullnumberofbytestoremove: u64) -> Result<IVdsAsync>; fn QueryPlexes(&self) -> Result<IEnumVdsObject>; fn AddPlex(&self, lunid: &GUID) -> Result<IVdsAsync>; fn RemovePlex(&self, plexid: &GUID) -> Result<IVdsAsync>; fn Recover(&self) -> Result<IVdsAsync>; fn SetMask(&self, pwszunmaskinglist: &PCWSTR) -> Result<()>; fn Delete(&self) -> Result<()>; fn AssociateControllers( &self, pactivecontrolleridarray: *const GUID, lnumberofactivecontrollers: i32, pinactivecontrolleridarray: *const GUID, lnumberofinactivecontrollers: i32, ) -> Result<()>; fn QueryHints(&self, phints: *mut VDS_HINTS) -> Result<()>; fn ApplyHints(&self, phints: *const VDS_HINTS) -> Result<()>; fn SetStatus(&self, status: VDS_LUN_STATUS) -> Result<()>; fn QueryMaxLunExtendSize( &self, pdriveidarray: *const GUID, lnumberofdrives: i32, ) -> Result<u64>;
}

Required Methods§

fn GetProperties(&self, plunprop: *mut VDS_LUN_PROP) -> Result<()>

fn GetSubSystem(&self) -> Result<IVdsSubSystem>

fn GetIdentificationData( &self, pluninfo: *mut VDS_LUN_INFORMATION, ) -> Result<()>

fn QueryActiveControllers(&self) -> Result<IEnumVdsObject>

fn Extend( &self, ullnumberofbytestoadd: u64, pdriveidarray: *const GUID, lnumberofdrives: i32, ) -> Result<IVdsAsync>

fn Shrink(&self, ullnumberofbytestoremove: u64) -> Result<IVdsAsync>

fn QueryPlexes(&self) -> Result<IEnumVdsObject>

fn AddPlex(&self, lunid: &GUID) -> Result<IVdsAsync>

fn RemovePlex(&self, plexid: &GUID) -> Result<IVdsAsync>

fn Recover(&self) -> Result<IVdsAsync>

fn SetMask(&self, pwszunmaskinglist: &PCWSTR) -> Result<()>

fn Delete(&self) -> Result<()>

fn AssociateControllers( &self, pactivecontrolleridarray: *const GUID, lnumberofactivecontrollers: i32, pinactivecontrolleridarray: *const GUID, lnumberofinactivecontrollers: i32, ) -> Result<()>

fn QueryHints(&self, phints: *mut VDS_HINTS) -> Result<()>

fn ApplyHints(&self, phints: *const VDS_HINTS) -> Result<()>

fn SetStatus(&self, status: VDS_LUN_STATUS) -> Result<()>

fn QueryMaxLunExtendSize( &self, pdriveidarray: *const GUID, lnumberofdrives: i32, ) -> Result<u64>

Object Safety§

This trait is not object safe.

Implementors§