Trait windows::Win32::Media::MediaFoundation::IMFMediaType_Impl
pub trait IMFMediaType_Impl: Sized + IMFAttributes_Impl {
// Required methods
fn GetMajorType(&self) -> Result<GUID>;
fn IsCompressedFormat(&self) -> Result<BOOL>;
fn IsEqual(&self, pimediatype: Option<&IMFMediaType>) -> Result<u32>;
fn GetRepresentation(
&self,
guidrepresentation: &GUID,
ppvrepresentation: *mut *mut c_void
) -> Result<()>;
fn FreeRepresentation(
&self,
guidrepresentation: &GUID,
pvrepresentation: *const c_void
) -> Result<()>;
}
Required Methods§
fn GetMajorType(&self) -> Result<GUID>
fn IsCompressedFormat(&self) -> Result<BOOL>
fn IsEqual(&self, pimediatype: Option<&IMFMediaType>) -> Result<u32>
fn GetRepresentation( &self, guidrepresentation: &GUID, ppvrepresentation: *mut *mut c_void ) -> Result<()>
fn FreeRepresentation( &self, guidrepresentation: &GUID, pvrepresentation: *const c_void ) -> Result<()>
Object Safety§
This trait is not object safe.