pub trait IWMHeaderInfo_Impl: Sized {
    // Required methods
    fn GetAttributeCount(&self, wstreamnum: u16) -> Result<u16>;
    fn GetAttributeByIndex(
        &self,
        windex: u16,
        pwstreamnum: *mut u16,
        pwszname: PWSTR,
        pcchnamelen: *mut u16,
        ptype: *mut WMT_ATTR_DATATYPE,
        pvalue: *mut u8,
        pcblength: *mut u16
    ) -> Result<()>;
    fn GetAttributeByName(
        &self,
        pwstreamnum: *mut u16,
        pszname: &PCWSTR,
        ptype: *mut WMT_ATTR_DATATYPE,
        pvalue: *mut u8,
        pcblength: *mut u16
    ) -> Result<()>;
    fn SetAttribute(
        &self,
        wstreamnum: u16,
        pszname: &PCWSTR,
        type: WMT_ATTR_DATATYPE,
        pvalue: *const u8,
        cblength: u16
    ) -> Result<()>;
    fn GetMarkerCount(&self) -> Result<u16>;
    fn GetMarker(
        &self,
        windex: u16,
        pwszmarkername: PWSTR,
        pcchmarkernamelen: *mut u16,
        pcnsmarkertime: *mut u64
    ) -> Result<()>;
    fn AddMarker(
        &self,
        pwszmarkername: &PCWSTR,
        cnsmarkertime: u64
    ) -> Result<()>;
    fn RemoveMarker(&self, windex: u16) -> Result<()>;
    fn GetScriptCount(&self) -> Result<u16>;
    fn GetScript(
        &self,
        windex: u16,
        pwsztype: PWSTR,
        pcchtypelen: *mut u16,
        pwszcommand: PWSTR,
        pcchcommandlen: *mut u16,
        pcnsscripttime: *mut u64
    ) -> Result<()>;
    fn AddScript(
        &self,
        pwsztype: &PCWSTR,
        pwszcommand: &PCWSTR,
        cnsscripttime: u64
    ) -> Result<()>;
    fn RemoveScript(&self, windex: u16) -> Result<()>;
}

Required Methods§

fn GetAttributeCount(&self, wstreamnum: u16) -> Result<u16>

fn GetAttributeByIndex( &self, windex: u16, pwstreamnum: *mut u16, pwszname: PWSTR, pcchnamelen: *mut u16, ptype: *mut WMT_ATTR_DATATYPE, pvalue: *mut u8, pcblength: *mut u16 ) -> Result<()>

fn GetAttributeByName( &self, pwstreamnum: *mut u16, pszname: &PCWSTR, ptype: *mut WMT_ATTR_DATATYPE, pvalue: *mut u8, pcblength: *mut u16 ) -> Result<()>

fn SetAttribute( &self, wstreamnum: u16, pszname: &PCWSTR, type: WMT_ATTR_DATATYPE, pvalue: *const u8, cblength: u16 ) -> Result<()>

fn GetMarkerCount(&self) -> Result<u16>

fn GetMarker( &self, windex: u16, pwszmarkername: PWSTR, pcchmarkernamelen: *mut u16, pcnsmarkertime: *mut u64 ) -> Result<()>

fn AddMarker(&self, pwszmarkername: &PCWSTR, cnsmarkertime: u64) -> Result<()>

fn RemoveMarker(&self, windex: u16) -> Result<()>

fn GetScriptCount(&self) -> Result<u16>

fn GetScript( &self, windex: u16, pwsztype: PWSTR, pcchtypelen: *mut u16, pwszcommand: PWSTR, pcchcommandlen: *mut u16, pcnsscripttime: *mut u64 ) -> Result<()>

fn AddScript( &self, pwsztype: &PCWSTR, pwszcommand: &PCWSTR, cnsscripttime: u64 ) -> Result<()>

fn RemoveScript(&self, windex: u16) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§