Struct windows::Win32::Media::MediaFoundation::IMFPluginControl
pub struct IMFPluginControl(/* private fields */);
Implementations§
§impl IMFPluginControl
impl IMFPluginControl
pub unsafe fn GetPreferredClsid<P0>(
&self,
plugintype: u32,
selector: P0
) -> Result<GUID>where
P0: IntoParam<PCWSTR>,
pub unsafe fn GetPreferredClsidByIndex( &self, plugintype: u32, index: u32, selector: *mut PWSTR, clsid: *mut GUID ) -> Result<()>
pub unsafe fn SetPreferredClsid<P0>(
&self,
plugintype: u32,
selector: P0,
clsid: Option<*const GUID>
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn IsDisabled( &self, plugintype: u32, clsid: *const GUID ) -> Result<()>
pub unsafe fn GetDisabledByIndex( &self, plugintype: u32, index: u32 ) -> Result<GUID>
pub unsafe fn SetDisabled<P0>(
&self,
plugintype: u32,
clsid: *const GUID,
disabled: P0
) -> Result<()>where
P0: IntoParam<BOOL>,
Trait Implementations§
§impl Clone for IMFPluginControl
impl Clone for IMFPluginControl
§fn clone(&self) -> IMFPluginControl
fn clone(&self) -> IMFPluginControl
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 IMFPluginControl
impl Debug for IMFPluginControl
§impl From<&IMFPluginControl> for &IUnknown
impl From<&IMFPluginControl> for &IUnknown
§fn from(value: &IMFPluginControl) -> Self
fn from(value: &IMFPluginControl) -> Self
Converts to this type from the input type.
§impl From<&IMFPluginControl2> for &IMFPluginControl
impl From<&IMFPluginControl2> for &IMFPluginControl
§fn from(value: &IMFPluginControl2) -> Self
fn from(value: &IMFPluginControl2) -> Self
Converts to this type from the input type.
§impl From<IMFPluginControl> for IUnknown
impl From<IMFPluginControl> for IUnknown
§fn from(value: IMFPluginControl) -> Self
fn from(value: IMFPluginControl) -> Self
Converts to this type from the input type.
§impl From<IMFPluginControl2> for IMFPluginControl
impl From<IMFPluginControl2> for IMFPluginControl
§fn from(value: IMFPluginControl2) -> Self
fn from(value: IMFPluginControl2) -> Self
Converts to this type from the input type.
§impl Interface for IMFPluginControl
impl Interface for IMFPluginControl
§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 more§impl PartialEq for IMFPluginControl
impl PartialEq for IMFPluginControl
§fn eq(&self, other: &IMFPluginControl) -> bool
fn eq(&self, other: &IMFPluginControl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IMFPluginControl
impl StructuralPartialEq for IMFPluginControl
Auto Trait Implementations§
impl RefUnwindSafe for IMFPluginControl
impl !Send for IMFPluginControl
impl !Sync for IMFPluginControl
impl Unpin for IMFPluginControl
impl UnwindSafe for IMFPluginControl
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