Trait windows::Win32::Media::KernelStreaming::IKsPin_Impl
pub trait IKsPin_Impl: Sized {
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: Option<&IMediaSample>, flags: u32) -> Result<()>;
fn KsMediaSamplesCompleted(
&self,
streamsegment: *const KSSTREAM_SEGMENT
) -> Result<()>;
fn KsPeekAllocator(
&self,
operation: KSPEEKOPERATION
) -> Option<IMemAllocator>;
fn KsReceiveAllocator(
&self,
memallocator: Option<&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: Option<&IMediaSample>, flags: u32) -> Result<()>
fn KsMediaSamplesCompleted( &self, streamsegment: *const KSSTREAM_SEGMENT ) -> Result<()>
fn KsPeekAllocator(&self, operation: KSPEEKOPERATION) -> Option<IMemAllocator>
fn KsReceiveAllocator(&self, memallocator: Option<&IMemAllocator>) -> Result<()>
fn KsRenegotiateAllocator(&self) -> Result<()>
fn KsIncrementPendingIoCount(&self) -> i32
fn KsDecrementPendingIoCount(&self) -> i32
fn KsQualityNotify(&self, proportion: u32, timedelta: i64) -> Result<()>
Object Safety§
This trait is not object safe.