pub struct IDiskQuotaUser(/* private fields */);Implementations§
Source§impl IDiskQuotaUser
impl IDiskQuotaUser
pub unsafe fn GetID(&self, pulid: *mut u32) -> Result<()>
pub unsafe fn GetName<'a>( &self, pszaccountcontainer: impl IntoParam<'a, PWSTR>, cchaccountcontainer: u32, pszlogonname: impl IntoParam<'a, PWSTR>, cchlogonname: u32, pszdisplayname: impl IntoParam<'a, PWSTR>, cchdisplayname: u32, ) -> Result<()>
pub unsafe fn GetSidLength(&self, pdwlength: *mut u32) -> Result<()>
pub unsafe fn GetSid( &self, pbsidbuffer: *mut u8, cbsidbuffer: u32, ) -> Result<()>
pub unsafe fn GetQuotaThreshold(&self, pllthreshold: *mut i64) -> Result<()>
pub unsafe fn GetQuotaThresholdText<'a>( &self, psztext: impl IntoParam<'a, PWSTR>, cchtext: u32, ) -> Result<()>
pub unsafe fn GetQuotaLimit(&self, plllimit: *mut i64) -> Result<()>
pub unsafe fn GetQuotaLimitText<'a>( &self, psztext: impl IntoParam<'a, PWSTR>, cchtext: u32, ) -> Result<()>
pub unsafe fn GetQuotaUsed(&self, pllused: *mut i64) -> Result<()>
pub unsafe fn GetQuotaUsedText<'a>( &self, psztext: impl IntoParam<'a, PWSTR>, cchtext: u32, ) -> Result<()>
pub unsafe fn GetQuotaInformation( &self, pbquotainfo: *mut c_void, cbquotainfo: u32, ) -> Result<()>
pub unsafe fn SetQuotaThreshold<'a>( &self, llthreshold: i64, fwritethrough: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn SetQuotaLimit<'a>( &self, lllimit: i64, fwritethrough: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn Invalidate(&self) -> Result<()>
pub unsafe fn GetAccountStatus(&self, pdwstatus: *mut u32) -> Result<()>
Trait Implementations§
Source§impl Clone for IDiskQuotaUser
impl Clone for IDiskQuotaUser
Source§fn clone(&self) -> IDiskQuotaUser
fn clone(&self) -> IDiskQuotaUser
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IDiskQuotaUser
impl Debug for IDiskQuotaUser
impl Eq for IDiskQuotaUser
Source§impl From<&IDiskQuotaUser> for IUnknown
impl From<&IDiskQuotaUser> for IUnknown
Source§fn from(value: &IDiskQuotaUser) -> Self
fn from(value: &IDiskQuotaUser) -> Self
Converts to this type from the input type.
Source§impl From<IDiskQuotaUser> for IUnknown
impl From<IDiskQuotaUser> for IUnknown
Source§fn from(value: IDiskQuotaUser) -> Self
fn from(value: IDiskQuotaUser) -> Self
Converts to this type from the input type.
Source§impl Interface for IDiskQuotaUser
impl Interface for IDiskQuotaUser
const IID: Guid
type Vtable = IDiskQuotaUser_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IDiskQuotaUser
impl PartialEq for IDiskQuotaUser
impl StructuralPartialEq for IDiskQuotaUser
Auto Trait Implementations§
impl !Send for IDiskQuotaUser
impl !Sync for IDiskQuotaUser
impl Freeze for IDiskQuotaUser
impl RefUnwindSafe for IDiskQuotaUser
impl Unpin for IDiskQuotaUser
impl UnsafeUnpin for IDiskQuotaUser
impl UnwindSafe for IDiskQuotaUser
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType to Result<T>.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
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