pub trait IDiskQuotaControl_Impl: Sized + IConnectionPointContainer_Impl {
Show 21 methods // Required methods fn Initialize(&self, pszpath: &PCWSTR, breadwrite: BOOL) -> Result<()>; fn SetQuotaState(&self, dwstate: u32) -> Result<()>; fn GetQuotaState(&self, pdwstate: *mut u32) -> Result<()>; fn SetQuotaLogFlags(&self, dwflags: u32) -> Result<()>; fn GetQuotaLogFlags(&self, pdwflags: *mut u32) -> Result<()>; fn SetDefaultQuotaThreshold(&self, llthreshold: i64) -> Result<()>; fn GetDefaultQuotaThreshold(&self, pllthreshold: *mut i64) -> Result<()>; fn GetDefaultQuotaThresholdText( &self, psztext: &PCWSTR, cchtext: u32, ) -> Result<()>; fn SetDefaultQuotaLimit(&self, lllimit: i64) -> Result<()>; fn GetDefaultQuotaLimit(&self, plllimit: *mut i64) -> Result<()>; fn GetDefaultQuotaLimitText( &self, psztext: &PCWSTR, cchtext: u32, ) -> Result<()>; fn AddUserSid( &self, pusersid: PSID, fnameresolution: DISKQUOTA_USERNAME_RESOLVE, ) -> Result<IDiskQuotaUser>; fn AddUserName( &self, pszlogonname: &PCWSTR, fnameresolution: DISKQUOTA_USERNAME_RESOLVE, ) -> Result<IDiskQuotaUser>; fn DeleteUser(&self, puser: Option<&IDiskQuotaUser>) -> Result<()>; fn FindUserSid( &self, pusersid: PSID, fnameresolution: DISKQUOTA_USERNAME_RESOLVE, ) -> Result<IDiskQuotaUser>; fn FindUserName(&self, pszlogonname: &PCWSTR) -> Result<IDiskQuotaUser>; fn CreateEnumUsers( &self, rgpusersids: *mut PSID, cpsids: u32, fnameresolution: DISKQUOTA_USERNAME_RESOLVE, ppenum: *mut Option<IEnumDiskQuotaUsers>, ) -> Result<()>; fn CreateUserBatch(&self) -> Result<IDiskQuotaUserBatch>; fn InvalidateSidNameCache(&self) -> Result<()>; fn GiveUserNameResolutionPriority( &self, puser: Option<&IDiskQuotaUser>, ) -> Result<()>; fn ShutdownNameResolution(&self) -> Result<()>;
}

Required Methods§

fn Initialize(&self, pszpath: &PCWSTR, breadwrite: BOOL) -> Result<()>

fn SetQuotaState(&self, dwstate: u32) -> Result<()>

fn GetQuotaState(&self, pdwstate: *mut u32) -> Result<()>

fn SetQuotaLogFlags(&self, dwflags: u32) -> Result<()>

fn GetQuotaLogFlags(&self, pdwflags: *mut u32) -> Result<()>

fn SetDefaultQuotaThreshold(&self, llthreshold: i64) -> Result<()>

fn GetDefaultQuotaThreshold(&self, pllthreshold: *mut i64) -> Result<()>

fn GetDefaultQuotaThresholdText( &self, psztext: &PCWSTR, cchtext: u32, ) -> Result<()>

fn SetDefaultQuotaLimit(&self, lllimit: i64) -> Result<()>

fn GetDefaultQuotaLimit(&self, plllimit: *mut i64) -> Result<()>

fn GetDefaultQuotaLimitText(&self, psztext: &PCWSTR, cchtext: u32) -> Result<()>

fn AddUserSid( &self, pusersid: PSID, fnameresolution: DISKQUOTA_USERNAME_RESOLVE, ) -> Result<IDiskQuotaUser>

fn AddUserName( &self, pszlogonname: &PCWSTR, fnameresolution: DISKQUOTA_USERNAME_RESOLVE, ) -> Result<IDiskQuotaUser>

fn DeleteUser(&self, puser: Option<&IDiskQuotaUser>) -> Result<()>

fn FindUserSid( &self, pusersid: PSID, fnameresolution: DISKQUOTA_USERNAME_RESOLVE, ) -> Result<IDiskQuotaUser>

fn FindUserName(&self, pszlogonname: &PCWSTR) -> Result<IDiskQuotaUser>

fn CreateEnumUsers( &self, rgpusersids: *mut PSID, cpsids: u32, fnameresolution: DISKQUOTA_USERNAME_RESOLVE, ppenum: *mut Option<IEnumDiskQuotaUsers>, ) -> Result<()>

fn CreateUserBatch(&self) -> Result<IDiskQuotaUserBatch>

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

fn GiveUserNameResolutionPriority( &self, puser: Option<&IDiskQuotaUser>, ) -> Result<()>

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

Object Safety§

This trait is not object safe.

Implementors§