windows::Win32::Media::KernelStreaming

Trait IKsPin_Impl

pub trait IKsPin_Impl: IUnknownImpl {
Show 13 methods // Required methods fn KsQueryMediums(&self) -> Result<*mut KSMULTIPLE_ITEM>; fn KsQueryInterfaces(&self) -> Result<*mut KSMULTIPLE_ITEM>; fn KsCreateSinkPinHandle( &self, interface: *const KSIDENTIFIER, medium: *const KSIDENTIFIER, ) -> Result<()>; fn KsGetCurrentCommunication( &self, communication: *mut KSPIN_COMMUNICATION, interface: *mut KSIDENTIFIER, medium: *mut KSIDENTIFIER, ) -> Result<()>; fn KsPropagateAcquire(&self) -> Result<()>; fn KsDeliver(&self, sample: Ref<'_, IMediaSample>, flags: u32) -> Result<()>; fn KsMediaSamplesCompleted( &self, streamsegment: *const KSSTREAM_SEGMENT, ) -> Result<()>; fn KsPeekAllocator( &self, operation: KSPEEKOPERATION, ) -> Option<IMemAllocator>; fn KsReceiveAllocator( &self, memallocator: Ref<'_, IMemAllocator>, ) -> Result<()>; fn KsRenegotiateAllocator(&self) -> Result<()>; fn KsIncrementPendingIoCount(&self) -> i32; fn KsDecrementPendingIoCount(&self) -> i32; fn KsQualityNotify(&self, proportion: u32, timedelta: i64) -> Result<()>;
}

Required Methods§

fn KsQueryMediums(&self) -> Result<*mut KSMULTIPLE_ITEM>

fn KsQueryInterfaces(&self) -> Result<*mut KSMULTIPLE_ITEM>

fn KsCreateSinkPinHandle( &self, interface: *const KSIDENTIFIER, medium: *const KSIDENTIFIER, ) -> Result<()>

fn KsGetCurrentCommunication( &self, communication: *mut KSPIN_COMMUNICATION, interface: *mut KSIDENTIFIER, medium: *mut KSIDENTIFIER, ) -> Result<()>

fn KsPropagateAcquire(&self) -> Result<()>

fn KsDeliver(&self, sample: Ref<'_, IMediaSample>, flags: u32) -> Result<()>

fn KsMediaSamplesCompleted( &self, streamsegment: *const KSSTREAM_SEGMENT, ) -> Result<()>

fn KsPeekAllocator(&self, operation: KSPEEKOPERATION) -> Option<IMemAllocator>

fn KsReceiveAllocator(&self, memallocator: Ref<'_, IMemAllocator>) -> Result<()>

fn KsRenegotiateAllocator(&self) -> Result<()>

fn KsIncrementPendingIoCount(&self) -> i32

fn KsDecrementPendingIoCount(&self) -> i32

fn KsQualityNotify(&self, proportion: u32, timedelta: i64) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§