Struct IAMExtTransport
pub struct IAMExtTransport(/* private fields */);
Implementations§
§impl IAMExtTransport
impl IAMExtTransport
pub unsafe fn GetCapability( &self, capability: i32, pvalue: *mut i32, pdblvalue: *mut f64, ) -> Result<()>
pub unsafe fn SetMediaState(&self, state: i32) -> Result<()>
pub unsafe fn MediaState(&self) -> Result<i32>
pub unsafe fn SetLocalControl(&self, state: i32) -> Result<()>
pub unsafe fn LocalControl(&self) -> Result<i32>
pub unsafe fn GetStatus(&self, statusitem: i32) -> Result<i32>
pub unsafe fn GetTransportBasicParameters( &self, param: i32, pvalue: *mut i32, ppszdata: *mut PWSTR, ) -> Result<()>
pub unsafe fn SetTransportBasicParameters<P2>(
&self,
param: i32,
value: i32,
pszdata: P2,
) -> Result<()>where
P2: Param<PCWSTR>,
pub unsafe fn GetTransportVideoParameters(&self, param: i32) -> Result<i32>
pub unsafe fn SetTransportVideoParameters( &self, param: i32, value: i32, ) -> Result<()>
pub unsafe fn GetTransportAudioParameters(&self, param: i32) -> Result<i32>
pub unsafe fn SetTransportAudioParameters( &self, param: i32, value: i32, ) -> Result<()>
pub unsafe fn SetMode(&self, mode: i32) -> Result<()>
pub unsafe fn Mode(&self) -> Result<i32>
pub unsafe fn SetRate(&self, dblrate: f64) -> Result<()>
pub unsafe fn Rate(&self) -> Result<f64>
pub unsafe fn GetChase( &self, penabled: *mut i32, poffset: *mut i32, phevent: *mut usize, ) -> Result<()>
pub unsafe fn SetChase( &self, enable: i32, offset: i32, hevent: usize, ) -> Result<()>
pub unsafe fn GetBump( &self, pspeed: *mut i32, pduration: *mut i32, ) -> Result<()>
pub unsafe fn SetBump(&self, speed: i32, duration: i32) -> Result<()>
pub unsafe fn AntiClogControl(&self) -> Result<i32>
pub unsafe fn SetAntiClogControl(&self, enable: i32) -> Result<()>
pub unsafe fn GetEditPropertySet(&self, editid: i32) -> Result<i32>
pub unsafe fn SetEditPropertySet( &self, peditid: *mut i32, state: i32, ) -> Result<()>
pub unsafe fn GetEditProperty(&self, editid: i32, param: i32) -> Result<i32>
pub unsafe fn SetEditProperty( &self, editid: i32, param: i32, value: i32, ) -> Result<()>
pub unsafe fn EditStart(&self) -> Result<i32>
pub unsafe fn SetEditStart(&self, value: i32) -> Result<()>
Trait Implementations§
§impl CanInto<IUnknown> for IAMExtTransport
impl CanInto<IUnknown> for IAMExtTransport
§impl Clone for IAMExtTransport
impl Clone for IAMExtTransport
§fn clone(&self) -> IAMExtTransport
fn clone(&self) -> IAMExtTransport
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 IAMExtTransport
impl Debug for IAMExtTransport
§impl From<&IAMExtTransport> for &IUnknown
impl From<&IAMExtTransport> for &IUnknown
§fn from(value: &IAMExtTransport) -> Self
fn from(value: &IAMExtTransport) -> Self
Converts to this type from the input type.
§impl From<IAMExtTransport> for IUnknown
impl From<IAMExtTransport> for IUnknown
§fn from(value: IAMExtTransport) -> Self
fn from(value: IAMExtTransport) -> Self
Converts to this type from the input type.
§impl Interface for IAMExtTransport
impl Interface for IAMExtTransport
§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 IAMExtTransport
impl PartialEq for IAMExtTransport
impl Eq for IAMExtTransport
impl StructuralPartialEq for IAMExtTransport
Auto Trait Implementations§
impl Freeze for IAMExtTransport
impl RefUnwindSafe for IAMExtTransport
impl !Send for IAMExtTransport
impl !Sync for IAMExtTransport
impl Unpin for IAMExtTransport
impl UnwindSafe for IAMExtTransport
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