Struct windows::Win32::Media::DirectShow::Tv::IDTFilter2
pub struct IDTFilter2(/* private fields */);
Implementations§
§impl IDTFilter2
impl IDTFilter2
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: IntoParam<BOOL>,
pub unsafe fn BlockUnRatedDelay(&self) -> Result<i32>
pub unsafe fn SetBlockUnRatedDelay( &self, msecsdelaybeforeblock: i32 ) -> Result<()>
pub unsafe fn ChallengeUrl(&self) -> Result<BSTR>
pub unsafe fn GetCurrLicenseExpDate( &self, prottype: *const ProtType ) -> Result<i32>
pub unsafe fn GetLastErrorCode(&self) -> Result<()>
Trait Implementations§
§impl Clone for IDTFilter2
impl Clone for IDTFilter2
§fn clone(&self) -> IDTFilter2
fn clone(&self) -> IDTFilter2
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 IDTFilter2
impl Debug for IDTFilter2
§impl From<&IDTFilter2> for &IDTFilter
impl From<&IDTFilter2> for &IDTFilter
§fn from(value: &IDTFilter2) -> Self
fn from(value: &IDTFilter2) -> Self
Converts to this type from the input type.
§impl From<&IDTFilter2> for &IUnknown
impl From<&IDTFilter2> for &IUnknown
§fn from(value: &IDTFilter2) -> Self
fn from(value: &IDTFilter2) -> 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<IDTFilter2> for IDTFilter
impl From<IDTFilter2> for IDTFilter
§fn from(value: IDTFilter2) -> Self
fn from(value: IDTFilter2) -> Self
Converts to this type from the input type.
§impl From<IDTFilter2> for IUnknown
impl From<IDTFilter2> for IUnknown
§fn from(value: IDTFilter2) -> Self
fn from(value: IDTFilter2) -> 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 Interface for IDTFilter2
impl Interface for IDTFilter2
§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 IDTFilter2
impl PartialEq for IDTFilter2
§fn eq(&self, other: &IDTFilter2) -> bool
fn eq(&self, other: &IDTFilter2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDTFilter2
impl StructuralPartialEq for IDTFilter2
Auto Trait Implementations§
impl RefUnwindSafe for IDTFilter2
impl !Send for IDTFilter2
impl !Sync for IDTFilter2
impl Unpin for IDTFilter2
impl UnwindSafe for IDTFilter2
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