Struct win_sys::FileSystem::IDiskQuotaUser
source · [−]#[repr(transparent)]pub struct IDiskQuotaUser(_);Expand description
Required features: ‘Win32_Storage_FileSystem’
Implementations
sourceimpl IDiskQuotaUser
impl IDiskQuotaUser
sourcepub unsafe fn GetID(&self, pulid: *mut u32) -> Result<(), Error>
pub unsafe fn GetID(&self, pulid: *mut u32) -> Result<(), Error>
Required features: ‘Win32_Storage_FileSystem’
sourcepub unsafe fn GetName<'a, Param0, Param2, Param4>(
&self,
pszaccountcontainer: Param0,
cchaccountcontainer: u32,
pszlogonname: Param2,
cchlogonname: u32,
pszdisplayname: Param4,
cchdisplayname: u32
) -> Result<(), Error> where
Param0: IntoParam<'a, PCWSTR>,
Param2: IntoParam<'a, PCWSTR>,
Param4: IntoParam<'a, PCWSTR>,
pub unsafe fn GetName<'a, Param0, Param2, Param4>(
&self,
pszaccountcontainer: Param0,
cchaccountcontainer: u32,
pszlogonname: Param2,
cchlogonname: u32,
pszdisplayname: Param4,
cchdisplayname: u32
) -> Result<(), Error> where
Param0: IntoParam<'a, PCWSTR>,
Param2: IntoParam<'a, PCWSTR>,
Param4: IntoParam<'a, PCWSTR>,
Required features: ‘Win32_Storage_FileSystem’
sourcepub unsafe fn GetSidLength(&self, pdwlength: *mut u32) -> Result<(), Error>
pub unsafe fn GetSidLength(&self, pdwlength: *mut u32) -> Result<(), Error>
Required features: ‘Win32_Storage_FileSystem’
sourcepub unsafe fn GetSid(
&self,
pbsidbuffer: *mut u8,
cbsidbuffer: u32
) -> Result<(), Error>
pub unsafe fn GetSid(
&self,
pbsidbuffer: *mut u8,
cbsidbuffer: u32
) -> Result<(), Error>
Required features: ‘Win32_Storage_FileSystem’
sourcepub unsafe fn GetQuotaThreshold(
&self,
pllthreshold: *mut i64
) -> Result<(), Error>
pub unsafe fn GetQuotaThreshold(
&self,
pllthreshold: *mut i64
) -> Result<(), Error>
Required features: ‘Win32_Storage_FileSystem’
sourcepub unsafe fn GetQuotaThresholdText<'a, Param0>(
&self,
psztext: Param0,
cchtext: u32
) -> Result<(), Error> where
Param0: IntoParam<'a, PCWSTR>,
pub unsafe fn GetQuotaThresholdText<'a, Param0>(
&self,
psztext: Param0,
cchtext: u32
) -> Result<(), Error> where
Param0: IntoParam<'a, PCWSTR>,
Required features: ‘Win32_Storage_FileSystem’
sourcepub unsafe fn GetQuotaLimit(&self, plllimit: *mut i64) -> Result<(), Error>
pub unsafe fn GetQuotaLimit(&self, plllimit: *mut i64) -> Result<(), Error>
Required features: ‘Win32_Storage_FileSystem’
sourcepub unsafe fn GetQuotaLimitText<'a, Param0>(
&self,
psztext: Param0,
cchtext: u32
) -> Result<(), Error> where
Param0: IntoParam<'a, PCWSTR>,
pub unsafe fn GetQuotaLimitText<'a, Param0>(
&self,
psztext: Param0,
cchtext: u32
) -> Result<(), Error> where
Param0: IntoParam<'a, PCWSTR>,
Required features: ‘Win32_Storage_FileSystem’
sourcepub unsafe fn GetQuotaUsed(&self, pllused: *mut i64) -> Result<(), Error>
pub unsafe fn GetQuotaUsed(&self, pllused: *mut i64) -> Result<(), Error>
Required features: ‘Win32_Storage_FileSystem’
sourcepub unsafe fn GetQuotaUsedText<'a, Param0>(
&self,
psztext: Param0,
cchtext: u32
) -> Result<(), Error> where
Param0: IntoParam<'a, PCWSTR>,
pub unsafe fn GetQuotaUsedText<'a, Param0>(
&self,
psztext: Param0,
cchtext: u32
) -> Result<(), Error> where
Param0: IntoParam<'a, PCWSTR>,
Required features: ‘Win32_Storage_FileSystem’
sourcepub unsafe fn GetQuotaInformation(
&self,
pbquotainfo: *mut c_void,
cbquotainfo: u32
) -> Result<(), Error>
pub unsafe fn GetQuotaInformation(
&self,
pbquotainfo: *mut c_void,
cbquotainfo: u32
) -> Result<(), Error>
Required features: ‘Win32_Storage_FileSystem’
sourcepub unsafe fn SetQuotaThreshold<'a, Param1>(
&self,
llthreshold: i64,
fwritethrough: Param1
) -> Result<(), Error> where
Param1: IntoParam<'a, BOOL>,
pub unsafe fn SetQuotaThreshold<'a, Param1>(
&self,
llthreshold: i64,
fwritethrough: Param1
) -> Result<(), Error> where
Param1: IntoParam<'a, BOOL>,
Required features: ‘Win32_Storage_FileSystem’, ‘Win32_Foundation’
sourcepub unsafe fn SetQuotaLimit<'a, Param1>(
&self,
lllimit: i64,
fwritethrough: Param1
) -> Result<(), Error> where
Param1: IntoParam<'a, BOOL>,
pub unsafe fn SetQuotaLimit<'a, Param1>(
&self,
lllimit: i64,
fwritethrough: Param1
) -> Result<(), Error> where
Param1: IntoParam<'a, BOOL>,
Required features: ‘Win32_Storage_FileSystem’, ‘Win32_Foundation’
sourcepub unsafe fn Invalidate(&self) -> Result<(), Error>
pub unsafe fn Invalidate(&self) -> Result<(), Error>
Required features: ‘Win32_Storage_FileSystem’
Trait Implementations
sourceimpl Clone for IDiskQuotaUser
impl Clone for IDiskQuotaUser
sourcepub fn clone(&self) -> IDiskQuotaUser
pub fn clone(&self) -> IDiskQuotaUser
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for IDiskQuotaUser
impl Debug for IDiskQuotaUser
sourceimpl<'_> From<&'_ IDiskQuotaUser> for IUnknown
impl<'_> From<&'_ IDiskQuotaUser> for IUnknown
sourcepub fn from(value: &IDiskQuotaUser) -> IUnknown
pub fn from(value: &IDiskQuotaUser) -> IUnknown
Performs the conversion.
sourceimpl From<IDiskQuotaUser> for IUnknown
impl From<IDiskQuotaUser> for IUnknown
sourcepub fn from(value: IDiskQuotaUser) -> IUnknown
pub fn from(value: IDiskQuotaUser) -> IUnknown
Performs the conversion.
sourceimpl Interface for IDiskQuotaUser
impl Interface for IDiskQuotaUser
sourceimpl PartialEq<IDiskQuotaUser> for IDiskQuotaUser
impl PartialEq<IDiskQuotaUser> for IDiskQuotaUser
impl Eq for IDiskQuotaUser
Auto Trait Implementations
impl RefUnwindSafe for IDiskQuotaUser
impl !Send for IDiskQuotaUser
impl !Sync for IDiskQuotaUser
impl Unpin for IDiskQuotaUser
impl UnwindSafe for IDiskQuotaUser
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more