Struct windows::Win32::Media::KernelStreaming::IKsDataTypeHandler
pub struct IKsDataTypeHandler(/* private fields */);
Implementations§
§impl IKsDataTypeHandler
impl IKsDataTypeHandler
pub unsafe fn KsCompleteIoOperation<P0, P1>(
&self,
sample: P0,
streamheader: *mut c_void,
iooperation: KSIOOPERATION,
cancelled: P1
) -> Result<()>where
P0: IntoParam<IMediaSample>,
P1: IntoParam<BOOL>,
pub unsafe fn KsIsMediaTypeInRanges( &self, dataranges: *const c_void ) -> Result<()>
pub unsafe fn KsPrepareIoOperation<P0>(
&self,
sample: P0,
streamheader: *mut c_void,
iooperation: KSIOOPERATION
) -> Result<()>where
P0: IntoParam<IMediaSample>,
pub unsafe fn KsQueryExtendedSize(&self) -> Result<u32>
pub unsafe fn KsSetMediaType( &self, ammediatype: *const AM_MEDIA_TYPE ) -> Result<()>
Trait Implementations§
§impl Clone for IKsDataTypeHandler
impl Clone for IKsDataTypeHandler
§fn clone(&self) -> IKsDataTypeHandler
fn clone(&self) -> IKsDataTypeHandler
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 IKsDataTypeHandler
impl Debug for IKsDataTypeHandler
§impl From<&IKsDataTypeHandler> for &IUnknown
impl From<&IKsDataTypeHandler> for &IUnknown
§fn from(value: &IKsDataTypeHandler) -> Self
fn from(value: &IKsDataTypeHandler) -> Self
Converts to this type from the input type.
§impl From<IKsDataTypeHandler> for IUnknown
impl From<IKsDataTypeHandler> for IUnknown
§fn from(value: IKsDataTypeHandler) -> Self
fn from(value: IKsDataTypeHandler) -> Self
Converts to this type from the input type.
§impl Interface for IKsDataTypeHandler
impl Interface for IKsDataTypeHandler
§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 IKsDataTypeHandler
impl PartialEq for IKsDataTypeHandler
§fn eq(&self, other: &IKsDataTypeHandler) -> bool
fn eq(&self, other: &IKsDataTypeHandler) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IKsDataTypeHandler
impl StructuralPartialEq for IKsDataTypeHandler
Auto Trait Implementations§
impl RefUnwindSafe for IKsDataTypeHandler
impl !Send for IKsDataTypeHandler
impl !Sync for IKsDataTypeHandler
impl Unpin for IKsDataTypeHandler
impl UnwindSafe for IKsDataTypeHandler
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