Struct windows::Win32::Media::DirectShow::IAMStats
pub struct IAMStats(/* private fields */);
Implementations§
§impl IAMStats
impl IAMStats
pub unsafe fn Reset(&self) -> Result<()>
pub unsafe fn Count(&self) -> Result<i32>
pub unsafe fn GetValueByIndex( &self, lindex: i32, szname: *mut BSTR, lcount: *mut i32, dlast: *mut f64, daverage: *mut f64, dstddev: *mut f64, dmin: *mut f64, dmax: *mut f64 ) -> Result<()>
pub unsafe fn GetValueByName<P0>(
&self,
szname: P0,
lindex: *mut i32,
lcount: *mut i32,
dlast: *mut f64,
daverage: *mut f64,
dstddev: *mut f64,
dmin: *mut f64,
dmax: *mut f64
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn GetIndex<P0>(&self, szname: P0, lcreate: i32) -> Result<i32>where
P0: IntoParam<BSTR>,
pub unsafe fn AddValue(&self, lindex: i32, dvalue: f64) -> Result<()>
Trait Implementations§
§impl Interface for IAMStats
impl Interface for IAMStats
§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.
§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 moreimpl Eq for IAMStats
impl StructuralPartialEq for IAMStats
Auto Trait Implementations§
impl RefUnwindSafe for IAMStats
impl !Send for IAMStats
impl !Sync for IAMStats
impl Unpin for IAMStats
impl UnwindSafe for IAMStats
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