Struct IDiskQuotaUser
pub struct IDiskQuotaUser(/* private fields */);
Implementations§
§impl IDiskQuotaUser
impl IDiskQuotaUser
pub unsafe fn GetID(&self, pulid: *mut u32) -> Result<()>
pub unsafe fn GetName<P0, P2, P4>(
&self,
pszaccountcontainer: P0,
cchaccountcontainer: u32,
pszlogonname: P2,
cchlogonname: u32,
pszdisplayname: P4,
cchdisplayname: u32,
) -> Result<()>where
P0: Param<PCWSTR>,
P2: Param<PCWSTR>,
P4: Param<PCWSTR>,
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<P0>(
&self,
psztext: P0,
cchtext: u32,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn GetQuotaLimit(&self, plllimit: *mut i64) -> Result<()>
pub unsafe fn GetQuotaLimitText<P0>(
&self,
psztext: P0,
cchtext: u32,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn GetQuotaUsed(&self, pllused: *mut i64) -> Result<()>
pub unsafe fn GetQuotaUsedText<P0>(
&self,
psztext: P0,
cchtext: u32,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn GetQuotaInformation( &self, pbquotainfo: *mut c_void, cbquotainfo: u32, ) -> Result<()>
pub unsafe fn SetQuotaThreshold( &self, llthreshold: i64, fwritethrough: bool, ) -> Result<()>
pub unsafe fn SetQuotaLimit( &self, lllimit: i64, fwritethrough: bool, ) -> Result<()>
pub unsafe fn Invalidate(&self) -> Result<()>
pub unsafe fn GetAccountStatus(&self, pdwstatus: *mut u32) -> Result<()>
Trait Implementations§
§impl CanInto<IUnknown> for IDiskQuotaUser
impl CanInto<IUnknown> for IDiskQuotaUser
§impl Clone for IDiskQuotaUser
impl Clone for IDiskQuotaUser
§fn clone(&self) -> IDiskQuotaUser
fn clone(&self) -> IDiskQuotaUser
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IDiskQuotaUser
impl Debug for IDiskQuotaUser
§impl From<&IDiskQuotaUser> for &IUnknown
impl From<&IDiskQuotaUser> for &IUnknown
§fn from(value: &IDiskQuotaUser) -> Self
fn from(value: &IDiskQuotaUser) -> Self
Converts to this type from the input type.
§impl From<IDiskQuotaUser> for IUnknown
impl From<IDiskQuotaUser> for IUnknown
§fn from(value: IDiskQuotaUser) -> Self
fn from(value: IDiskQuotaUser) -> Self
Converts to this type from the input type.
§impl Interface for IDiskQuotaUser
impl Interface for IDiskQuotaUser
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IDiskQuotaUser
impl PartialEq for IDiskQuotaUser
impl Eq for IDiskQuotaUser
impl StructuralPartialEq for IDiskQuotaUser
Auto Trait Implementations§
impl Freeze for IDiskQuotaUser
impl RefUnwindSafe for IDiskQuotaUser
impl !Send for IDiskQuotaUser
impl !Sync for IDiskQuotaUser
impl Unpin for IDiskQuotaUser
impl UnwindSafe for IDiskQuotaUser
Blanket Implementations§
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