Struct windows::Win32::Media::KernelStreaming::IKsPinPipe
pub struct IKsPinPipe(/* private fields */);
Implementations§
§impl IKsPinPipe
impl IKsPinPipe
pub unsafe fn KsGetPinFramingCache( &self, framingex: *mut *mut KSALLOCATOR_FRAMING_EX, framingprop: *mut FRAMING_PROP, option: FRAMING_CACHE_OPS ) -> Result<()>
pub unsafe fn KsSetPinFramingCache( &self, framingex: *const KSALLOCATOR_FRAMING_EX, framingprop: *const FRAMING_PROP, option: FRAMING_CACHE_OPS ) -> Result<()>
pub unsafe fn KsGetConnectedPin(&self) -> Option<IPin>
pub unsafe fn KsGetPipe( &self, operation: KSPEEKOPERATION ) -> Option<IKsAllocatorEx>
pub unsafe fn KsSetPipe<P0>(&self, ksallocator: P0) -> Result<()>where
P0: IntoParam<IKsAllocatorEx>,
pub unsafe fn KsGetPipeAllocatorFlag(&self) -> u32
pub unsafe fn KsSetPipeAllocatorFlag(&self, flag: u32) -> Result<()>
pub unsafe fn KsGetPinBusCache(&self) -> GUID
pub unsafe fn KsSetPinBusCache(&self, bus: GUID) -> Result<()>
pub unsafe fn KsGetPinName(&self) -> PWSTR
pub unsafe fn KsGetFilterName(&self) -> PWSTR
Trait Implementations§
§impl Clone for IKsPinPipe
impl Clone for IKsPinPipe
§fn clone(&self) -> IKsPinPipe
fn clone(&self) -> IKsPinPipe
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 IKsPinPipe
impl Debug for IKsPinPipe
§impl From<&IKsPinPipe> for &IUnknown
impl From<&IKsPinPipe> for &IUnknown
§fn from(value: &IKsPinPipe) -> Self
fn from(value: &IKsPinPipe) -> Self
Converts to this type from the input type.
§impl From<IKsPinPipe> for IUnknown
impl From<IKsPinPipe> for IUnknown
§fn from(value: IKsPinPipe) -> Self
fn from(value: IKsPinPipe) -> Self
Converts to this type from the input type.
§impl Interface for IKsPinPipe
impl Interface for IKsPinPipe
§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 IKsPinPipe
impl PartialEq for IKsPinPipe
§fn eq(&self, other: &IKsPinPipe) -> bool
fn eq(&self, other: &IKsPinPipe) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IKsPinPipe
impl StructuralPartialEq for IKsPinPipe
Auto Trait Implementations§
impl RefUnwindSafe for IKsPinPipe
impl !Send for IKsPinPipe
impl !Sync for IKsPinPipe
impl Unpin for IKsPinPipe
impl UnwindSafe for IKsPinPipe
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