Trait IDiskQuotaUser_Impl
pub trait IDiskQuotaUser_Impl: IUnknownImpl {
Show 15 methods
// Required methods
fn GetID(&self, pulid: *mut u32) -> Result<()>;
fn GetName(
&self,
pszaccountcontainer: &PCWSTR,
cchaccountcontainer: u32,
pszlogonname: &PCWSTR,
cchlogonname: u32,
pszdisplayname: &PCWSTR,
cchdisplayname: u32,
) -> Result<()>;
fn GetSidLength(&self, pdwlength: *mut u32) -> Result<()>;
fn GetSid(&self, pbsidbuffer: *mut u8, cbsidbuffer: u32) -> Result<()>;
fn GetQuotaThreshold(&self, pllthreshold: *mut i64) -> Result<()>;
fn GetQuotaThresholdText(
&self,
psztext: &PCWSTR,
cchtext: u32,
) -> Result<()>;
fn GetQuotaLimit(&self, plllimit: *mut i64) -> Result<()>;
fn GetQuotaLimitText(&self, psztext: &PCWSTR, cchtext: u32) -> Result<()>;
fn GetQuotaUsed(&self, pllused: *mut i64) -> Result<()>;
fn GetQuotaUsedText(&self, psztext: &PCWSTR, cchtext: u32) -> Result<()>;
fn GetQuotaInformation(
&self,
pbquotainfo: *mut c_void,
cbquotainfo: u32,
) -> Result<()>;
fn SetQuotaThreshold(
&self,
llthreshold: i64,
fwritethrough: BOOL,
) -> Result<()>;
fn SetQuotaLimit(&self, lllimit: i64, fwritethrough: BOOL) -> Result<()>;
fn Invalidate(&self) -> Result<()>;
fn GetAccountStatus(&self, pdwstatus: *mut u32) -> Result<()>;
}
Required Methods§
fn GetID(&self, pulid: *mut u32) -> Result<()>
fn GetName( &self, pszaccountcontainer: &PCWSTR, cchaccountcontainer: u32, pszlogonname: &PCWSTR, cchlogonname: u32, pszdisplayname: &PCWSTR, cchdisplayname: u32, ) -> Result<()>
fn GetSidLength(&self, pdwlength: *mut u32) -> Result<()>
fn GetSid(&self, pbsidbuffer: *mut u8, cbsidbuffer: u32) -> Result<()>
fn GetQuotaThreshold(&self, pllthreshold: *mut i64) -> Result<()>
fn GetQuotaThresholdText(&self, psztext: &PCWSTR, cchtext: u32) -> Result<()>
fn GetQuotaLimit(&self, plllimit: *mut i64) -> Result<()>
fn GetQuotaLimitText(&self, psztext: &PCWSTR, cchtext: u32) -> Result<()>
fn GetQuotaUsed(&self, pllused: *mut i64) -> Result<()>
fn GetQuotaUsedText(&self, psztext: &PCWSTR, cchtext: u32) -> Result<()>
fn GetQuotaInformation( &self, pbquotainfo: *mut c_void, cbquotainfo: u32, ) -> Result<()>
fn SetQuotaThreshold(&self, llthreshold: i64, fwritethrough: BOOL) -> Result<()>
fn SetQuotaLimit(&self, lllimit: i64, fwritethrough: BOOL) -> Result<()>
fn Invalidate(&self) -> Result<()>
fn GetAccountStatus(&self, pdwstatus: *mut u32) -> 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.