Struct windows::Win32::Media::DirectShow::Tv::IDTFilter3
pub struct IDTFilter3(/* private fields */);
Implementations§
§impl IDTFilter3
impl IDTFilter3
pub unsafe fn GetProtectionType(&self) -> Result<ProtType>
pub unsafe fn LicenseHasExpirationDate(&self) -> Result<BOOL>
pub unsafe fn SetRights<P0>(&self, bstrrights: P0) -> Result<()>where
P0: Param<BSTR>,
Methods from Deref<Target = IDTFilter2>§
pub unsafe fn ChallengeUrl(&self) -> Result<BSTR>
pub unsafe fn GetCurrLicenseExpDate( &self, prottype: *const ProtType, ) -> Result<i32>
pub unsafe fn GetLastErrorCode(&self) -> Result<()>
Methods from Deref<Target = IDTFilter>§
pub unsafe fn EvalRatObjOK(&self) -> Result<HRESULT>
pub unsafe fn GetCurrRating( &self, pensystem: *mut EnTvRat_System, penrating: *mut EnTvRat_GenericLevel, plbfenattr: *mut i32, ) -> Result<()>
pub unsafe fn get_BlockedRatingAttributes( &self, ensystem: EnTvRat_System, enlevel: EnTvRat_GenericLevel, ) -> Result<i32>
pub unsafe fn put_BlockedRatingAttributes( &self, ensystem: EnTvRat_System, enlevel: EnTvRat_GenericLevel, lbfattrs: i32, ) -> Result<()>
pub unsafe fn BlockUnRated(&self) -> Result<BOOL>
pub unsafe fn SetBlockUnRated<P0>(&self, fblockunratedshows: P0) -> Result<()>where
P0: Param<BOOL>,
pub unsafe fn BlockUnRatedDelay(&self) -> Result<i32>
pub unsafe fn SetBlockUnRatedDelay( &self, msecsdelaybeforeblock: i32, ) -> Result<()>
Trait Implementations§
§impl CanInto<IDTFilter2> for IDTFilter3
impl CanInto<IDTFilter2> for IDTFilter3
§impl CanInto<IUnknown> for IDTFilter3
impl CanInto<IUnknown> for IDTFilter3
§impl Clone for IDTFilter3
impl Clone for IDTFilter3
§fn clone(&self) -> IDTFilter3
fn clone(&self) -> IDTFilter3
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 IDTFilter3
impl Debug for IDTFilter3
§impl Deref for IDTFilter3
impl Deref for IDTFilter3
§impl From<&IDTFilter3> for &IDTFilter
impl From<&IDTFilter3> for &IDTFilter
§fn from(value: &IDTFilter3) -> Self
fn from(value: &IDTFilter3) -> Self
Converts to this type from the input type.
§impl From<&IDTFilter3> for &IDTFilter2
impl From<&IDTFilter3> for &IDTFilter2
§fn from(value: &IDTFilter3) -> Self
fn from(value: &IDTFilter3) -> Self
Converts to this type from the input type.
§impl From<&IDTFilter3> for &IUnknown
impl From<&IDTFilter3> for &IUnknown
§fn from(value: &IDTFilter3) -> Self
fn from(value: &IDTFilter3) -> Self
Converts to this type from the input type.
§impl From<IDTFilter3> for IDTFilter
impl From<IDTFilter3> for IDTFilter
§fn from(value: IDTFilter3) -> Self
fn from(value: IDTFilter3) -> Self
Converts to this type from the input type.
§impl From<IDTFilter3> for IDTFilter2
impl From<IDTFilter3> for IDTFilter2
§fn from(value: IDTFilter3) -> Self
fn from(value: IDTFilter3) -> Self
Converts to this type from the input type.
§impl From<IDTFilter3> for IUnknown
impl From<IDTFilter3> for IUnknown
§fn from(value: IDTFilter3) -> Self
fn from(value: IDTFilter3) -> Self
Converts to this type from the input type.
§impl Interface for IDTFilter3
impl Interface for IDTFilter3
§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§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 IDTFilter3
impl PartialEq for IDTFilter3
§fn eq(&self, other: &IDTFilter3) -> bool
fn eq(&self, other: &IDTFilter3) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDTFilter3
impl StructuralPartialEq for IDTFilter3
Auto Trait Implementations§
impl Freeze for IDTFilter3
impl RefUnwindSafe for IDTFilter3
impl !Send for IDTFilter3
impl !Sync for IDTFilter3
impl Unpin for IDTFilter3
impl UnwindSafe for IDTFilter3
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)