Trait IMultiMediaStream_Impl
pub trait IMultiMediaStream_Impl: IUnknownImpl {
// Required methods
fn GetInformation(
&self,
pdwflags: *mut MMSSF_GET_INFORMATION_FLAGS,
pstreamtype: *mut STREAM_TYPE,
) -> Result<()>;
fn GetMediaStream(&self, idpurpose: *const GUID) -> Result<IMediaStream>;
fn EnumMediaStreams(&self, index: i32) -> Result<IMediaStream>;
fn GetState(&self) -> Result<STREAM_STATE>;
fn SetState(&self, newstate: STREAM_STATE) -> Result<()>;
fn GetTime(&self) -> Result<i64>;
fn GetDuration(&self) -> Result<i64>;
fn Seek(&self, seektime: i64) -> Result<()>;
fn GetEndOfStreamEventHandle(&self) -> Result<HANDLE>;
}
Required Methods§
fn GetInformation( &self, pdwflags: *mut MMSSF_GET_INFORMATION_FLAGS, pstreamtype: *mut STREAM_TYPE, ) -> Result<()>
fn GetMediaStream(&self, idpurpose: *const GUID) -> Result<IMediaStream>
fn EnumMediaStreams(&self, index: i32) -> Result<IMediaStream>
fn GetState(&self) -> Result<STREAM_STATE>
fn SetState(&self, newstate: STREAM_STATE) -> Result<()>
fn GetTime(&self) -> Result<i64>
fn GetDuration(&self) -> Result<i64>
fn Seek(&self, seektime: i64) -> Result<()>
fn GetEndOfStreamEventHandle(&self) -> Result<HANDLE>
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.