Trait winsafe::prelude::dshow_IPin
source · pub trait dshow_IPin: ole_IUnknown {
Show 15 methods
// Provided methods
fn BeginFlush(&self) -> HrResult<()> { ... }
fn Connect(
&self,
receive_pin: &impl dshow_IPin,
mt: Option<&AM_MEDIA_TYPE<'_>>
) -> HrResult<()> { ... }
fn ConnectedTo(&self) -> HrResult<IPin> { ... }
fn ConnectionMediaType(&self, amt: &mut AM_MEDIA_TYPE<'_>) -> HrResult<()> { ... }
fn Disconnect(&self) -> HrResult<()> { ... }
fn EndFlush(&self) -> HrResult<()> { ... }
fn EndOfStream(&self) -> HrResult<()> { ... }
fn EnumMediaTypes(&self) -> HrResult<IEnumMediaTypes> { ... }
fn NewSegment(&self, start: i64, stop: i64, rate: f64) -> HrResult<()> { ... }
fn QueryAccept(&self, amt: &AM_MEDIA_TYPE<'_>) -> HrResult<bool> { ... }
fn QueryDirection(&self) -> HrResult<PIN_DIRECTION> { ... }
fn QueryId(&self) -> HrResult<String> { ... }
fn QueryInternalConnections(&self) -> HrResult<Vec<IPin>> { ... }
fn QueryPinInfo(&self, info: &mut PIN_INFO) -> HrResult<()> { ... }
fn ReceiveConnection(
&self,
connector: &impl dshow_IPin,
mt: &AM_MEDIA_TYPE<'_>
) -> HrResult<()> { ... }
}
Available on crate features
kernel
and dshow
only.Expand description
This trait is enabled with the dshow
feature, and provides methods for
IPin
.
Provided Methods§
sourcefn BeginFlush(&self) -> HrResult<()>
fn BeginFlush(&self) -> HrResult<()>
IPin::BeginFlush
method.
sourcefn Connect(
&self,
receive_pin: &impl dshow_IPin,
mt: Option<&AM_MEDIA_TYPE<'_>>
) -> HrResult<()>
fn Connect( &self, receive_pin: &impl dshow_IPin, mt: Option<&AM_MEDIA_TYPE<'_>> ) -> HrResult<()>
IPin::Connect
method.
sourcefn ConnectedTo(&self) -> HrResult<IPin>
fn ConnectedTo(&self) -> HrResult<IPin>
IPin::ConnectedTo
method.
sourcefn ConnectionMediaType(&self, amt: &mut AM_MEDIA_TYPE<'_>) -> HrResult<()>
fn ConnectionMediaType(&self, amt: &mut AM_MEDIA_TYPE<'_>) -> HrResult<()>
IPin::ConnectionMediaType
method.
sourcefn Disconnect(&self) -> HrResult<()>
fn Disconnect(&self) -> HrResult<()>
IPin::Disconnect
method.
sourcefn EndFlush(&self) -> HrResult<()>
fn EndFlush(&self) -> HrResult<()>
IPin::EndFlush
method.
sourcefn EndOfStream(&self) -> HrResult<()>
fn EndOfStream(&self) -> HrResult<()>
IPin::EndOfStream
method.
sourcefn EnumMediaTypes(&self) -> HrResult<IEnumMediaTypes>
fn EnumMediaTypes(&self) -> HrResult<IEnumMediaTypes>
IPin::EnumMediaTypes
method.
sourcefn NewSegment(&self, start: i64, stop: i64, rate: f64) -> HrResult<()>
fn NewSegment(&self, start: i64, stop: i64, rate: f64) -> HrResult<()>
IPin::NewSegment
method.
sourcefn QueryAccept(&self, amt: &AM_MEDIA_TYPE<'_>) -> HrResult<bool>
fn QueryAccept(&self, amt: &AM_MEDIA_TYPE<'_>) -> HrResult<bool>
IPin::QueryAccept
method.
sourcefn QueryDirection(&self) -> HrResult<PIN_DIRECTION>
fn QueryDirection(&self) -> HrResult<PIN_DIRECTION>
IPin::QueryDirection
method.
sourcefn QueryId(&self) -> HrResult<String>
fn QueryId(&self) -> HrResult<String>
IPin::QueryId
method.
sourcefn QueryInternalConnections(&self) -> HrResult<Vec<IPin>>
fn QueryInternalConnections(&self) -> HrResult<Vec<IPin>>
IPin::QueryInternalConnections
method.
sourcefn QueryPinInfo(&self, info: &mut PIN_INFO) -> HrResult<()>
fn QueryPinInfo(&self, info: &mut PIN_INFO) -> HrResult<()>
IPin::QueryPinInfo
method.
sourcefn ReceiveConnection(
&self,
connector: &impl dshow_IPin,
mt: &AM_MEDIA_TYPE<'_>
) -> HrResult<()>
fn ReceiveConnection( &self, connector: &impl dshow_IPin, mt: &AM_MEDIA_TYPE<'_> ) -> HrResult<()>
IPin::ReceiveConnection
method.
Object Safety§
This trait is not object safe.