Trait windows::Win32::Media::DirectShow::IPin_Impl

pub trait IPin_Impl: Sized {
Show 15 methods // Required methods fn Connect( &self, preceivepin: Option<&IPin>, pmt: *const AM_MEDIA_TYPE, ) -> Result<()>; fn ReceiveConnection( &self, pconnector: Option<&IPin>, pmt: *const AM_MEDIA_TYPE, ) -> Result<()>; fn Disconnect(&self) -> Result<()>; fn ConnectedTo(&self) -> Result<IPin>; fn ConnectionMediaType(&self, pmt: *mut AM_MEDIA_TYPE) -> Result<()>; fn QueryPinInfo(&self, pinfo: *mut PIN_INFO) -> Result<()>; fn QueryDirection(&self) -> Result<PIN_DIRECTION>; fn QueryId(&self) -> Result<PWSTR>; fn QueryAccept(&self, pmt: *const AM_MEDIA_TYPE) -> HRESULT; fn EnumMediaTypes(&self) -> Result<IEnumMediaTypes>; fn QueryInternalConnections( &self, appin: *mut Option<IPin>, npin: *mut u32, ) -> Result<()>; fn EndOfStream(&self) -> Result<()>; fn BeginFlush(&self) -> Result<()>; fn EndFlush(&self) -> Result<()>; fn NewSegment(&self, tstart: i64, tstop: i64, drate: f64) -> Result<()>;
}

Required Methods§

fn Connect( &self, preceivepin: Option<&IPin>, pmt: *const AM_MEDIA_TYPE, ) -> Result<()>

fn ReceiveConnection( &self, pconnector: Option<&IPin>, pmt: *const AM_MEDIA_TYPE, ) -> Result<()>

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

fn ConnectedTo(&self) -> Result<IPin>

fn ConnectionMediaType(&self, pmt: *mut AM_MEDIA_TYPE) -> Result<()>

fn QueryPinInfo(&self, pinfo: *mut PIN_INFO) -> Result<()>

fn QueryDirection(&self) -> Result<PIN_DIRECTION>

fn QueryId(&self) -> Result<PWSTR>

fn QueryAccept(&self, pmt: *const AM_MEDIA_TYPE) -> HRESULT

fn EnumMediaTypes(&self) -> Result<IEnumMediaTypes>

fn QueryInternalConnections( &self, appin: *mut Option<IPin>, npin: *mut u32, ) -> Result<()>

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

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

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

fn NewSegment(&self, tstart: i64, tstop: i64, drate: f64) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§