Trait windows::Win32::Media::WindowsMediaFormat::IWMHeaderInfo3_Impl
pub trait IWMHeaderInfo3_Impl: Sized + IWMHeaderInfo2_Impl {
// Required methods
fn GetAttributeCountEx(&self, wstreamnum: u16) -> Result<u16>;
fn GetAttributeIndices(
&self,
wstreamnum: u16,
pwszname: &PCWSTR,
pwlangindex: *const u16,
pwindices: *mut u16,
pwcount: *mut u16
) -> Result<()>;
fn GetAttributeByIndexEx(
&self,
wstreamnum: u16,
windex: u16,
pwszname: PWSTR,
pwnamelen: *mut u16,
ptype: *mut WMT_ATTR_DATATYPE,
pwlangindex: *mut u16,
pvalue: *mut u8,
pdwdatalength: *mut u32
) -> Result<()>;
fn ModifyAttribute(
&self,
wstreamnum: u16,
windex: u16,
type: WMT_ATTR_DATATYPE,
wlangindex: u16,
pvalue: *const u8,
dwlength: u32
) -> Result<()>;
fn AddAttribute(
&self,
wstreamnum: u16,
pszname: &PCWSTR,
pwindex: *mut u16,
type: WMT_ATTR_DATATYPE,
wlangindex: u16,
pvalue: *const u8,
dwlength: u32
) -> Result<()>;
fn DeleteAttribute(&self, wstreamnum: u16, windex: u16) -> Result<()>;
fn AddCodecInfo(
&self,
pwszname: &PCWSTR,
pwszdescription: &PCWSTR,
codectype: WMT_CODEC_INFO_TYPE,
cbcodecinfo: u16,
pbcodecinfo: *const u8
) -> Result<()>;
}
Required Methods§
fn GetAttributeCountEx(&self, wstreamnum: u16) -> Result<u16>
fn GetAttributeIndices( &self, wstreamnum: u16, pwszname: &PCWSTR, pwlangindex: *const u16, pwindices: *mut u16, pwcount: *mut u16 ) -> Result<()>
fn GetAttributeByIndexEx( &self, wstreamnum: u16, windex: u16, pwszname: PWSTR, pwnamelen: *mut u16, ptype: *mut WMT_ATTR_DATATYPE, pwlangindex: *mut u16, pvalue: *mut u8, pdwdatalength: *mut u32 ) -> Result<()>
fn ModifyAttribute( &self, wstreamnum: u16, windex: u16, type: WMT_ATTR_DATATYPE, wlangindex: u16, pvalue: *const u8, dwlength: u32 ) -> Result<()>
fn AddAttribute( &self, wstreamnum: u16, pszname: &PCWSTR, pwindex: *mut u16, type: WMT_ATTR_DATATYPE, wlangindex: u16, pvalue: *const u8, dwlength: u32 ) -> Result<()>
fn DeleteAttribute(&self, wstreamnum: u16, windex: u16) -> Result<()>
fn AddCodecInfo( &self, pwszname: &PCWSTR, pwszdescription: &PCWSTR, codectype: WMT_CODEC_INFO_TYPE, cbcodecinfo: u16, pbcodecinfo: *const u8 ) -> Result<()>
Object Safety§
This trait is not object safe.