Trait IDiskQuotaControl_Impl
pub trait IDiskQuotaControl_Impl: 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: Ref<'_, 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: OutRef<'_, IEnumDiskQuotaUsers>,
) -> Result<()>;
fn CreateUserBatch(&self) -> Result<IDiskQuotaUserBatch>;
fn InvalidateSidNameCache(&self) -> Result<()>;
fn GiveUserNameResolutionPriority(
&self,
puser: Ref<'_, 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: Ref<'_, 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: OutRef<'_, IEnumDiskQuotaUsers>, ) -> Result<()>
fn CreateUserBatch(&self) -> Result<IDiskQuotaUserBatch>
fn InvalidateSidNameCache(&self) -> Result<()>
fn GiveUserNameResolutionPriority( &self, puser: Ref<'_, IDiskQuotaUser>, ) -> Result<()>
fn ShutdownNameResolution(&self) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.