Trait windows::Win32::Media::MediaFoundation::IMFMediaTypeHandler_Impl
pub trait IMFMediaTypeHandler_Impl: Sized {
// Required methods
fn IsMediaTypeSupported(
&self,
pmediatype: Option<&IMFMediaType>,
ppmediatype: *mut Option<IMFMediaType>
) -> Result<()>;
fn GetMediaTypeCount(&self) -> Result<u32>;
fn GetMediaTypeByIndex(&self, dwindex: u32) -> Result<IMFMediaType>;
fn SetCurrentMediaType(
&self,
pmediatype: Option<&IMFMediaType>
) -> Result<()>;
fn GetCurrentMediaType(&self) -> Result<IMFMediaType>;
fn GetMajorType(&self) -> Result<GUID>;
}
Required Methods§
fn IsMediaTypeSupported( &self, pmediatype: Option<&IMFMediaType>, ppmediatype: *mut Option<IMFMediaType> ) -> Result<()>
fn GetMediaTypeCount(&self) -> Result<u32>
fn GetMediaTypeByIndex(&self, dwindex: u32) -> Result<IMFMediaType>
fn SetCurrentMediaType(&self, pmediatype: Option<&IMFMediaType>) -> Result<()>
fn GetCurrentMediaType(&self) -> Result<IMFMediaType>
fn GetMajorType(&self) -> Result<GUID>
Object Safety§
This trait is not object safe.