Struct IWMHeaderInfo3
pub struct IWMHeaderInfo3(/* private fields */);
Implementations§
§impl IWMHeaderInfo3
impl IWMHeaderInfo3
pub unsafe fn GetAttributeCountEx(&self, wstreamnum: u16) -> Result<u16>
pub unsafe fn GetAttributeIndices<P1>(
&self,
wstreamnum: u16,
pwszname: P1,
pwlangindex: *const u16,
pwindices: *mut u16,
pwcount: *mut u16,
) -> Result<()>where
P1: Param<PCWSTR>,
pub unsafe 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<()>
pub unsafe fn ModifyAttribute( &self, wstreamnum: u16, windex: u16, type: WMT_ATTR_DATATYPE, wlangindex: u16, pvalue: &[u8], ) -> Result<()>
pub unsafe fn AddAttribute<P1>(
&self,
wstreamnum: u16,
pszname: P1,
pwindex: *mut u16,
type: WMT_ATTR_DATATYPE,
wlangindex: u16,
pvalue: &[u8],
) -> Result<()>where
P1: Param<PCWSTR>,
pub unsafe fn DeleteAttribute(&self, wstreamnum: u16, windex: u16) -> Result<()>
pub unsafe fn AddCodecInfo<P0, P1>(
&self,
pwszname: P0,
pwszdescription: P1,
codectype: WMT_CODEC_INFO_TYPE,
pbcodecinfo: &[u8],
) -> Result<()>where
P0: Param<PCWSTR>,
P1: Param<PCWSTR>,
Methods from Deref<Target = IWMHeaderInfo2>§
pub unsafe fn GetCodecInfoCount(&self) -> Result<u32>
pub unsafe fn GetCodecInfo( &self, windex: u32, pcchname: *mut u16, pwszname: PWSTR, pcchdescription: *mut u16, pwszdescription: PWSTR, pcodectype: *mut WMT_CODEC_INFO_TYPE, pcbcodecinfo: *mut u16, pbcodecinfo: *mut u8, ) -> Result<()>
Methods from Deref<Target = IWMHeaderInfo>§
pub unsafe fn GetAttributeCount(&self, wstreamnum: u16) -> Result<u16>
pub unsafe 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<()>
pub unsafe fn GetAttributeByName<P1>(
&self,
pwstreamnum: *mut u16,
pszname: P1,
ptype: *mut WMT_ATTR_DATATYPE,
pvalue: *mut u8,
pcblength: *mut u16,
) -> Result<()>where
P1: Param<PCWSTR>,
pub unsafe fn SetAttribute<P1>(
&self,
wstreamnum: u16,
pszname: P1,
type: WMT_ATTR_DATATYPE,
pvalue: &[u8],
) -> Result<()>where
P1: Param<PCWSTR>,
pub unsafe fn GetMarkerCount(&self) -> Result<u16>
pub unsafe fn GetMarker( &self, windex: u16, pwszmarkername: PWSTR, pcchmarkernamelen: *mut u16, pcnsmarkertime: *mut u64, ) -> Result<()>
pub unsafe fn AddMarker<P0>(
&self,
pwszmarkername: P0,
cnsmarkertime: u64,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn RemoveMarker(&self, windex: u16) -> Result<()>
pub unsafe fn GetScriptCount(&self) -> Result<u16>
pub unsafe fn GetScript( &self, windex: u16, pwsztype: PWSTR, pcchtypelen: *mut u16, pwszcommand: PWSTR, pcchcommandlen: *mut u16, pcnsscripttime: *mut u64, ) -> Result<()>
pub unsafe fn AddScript<P0, P1>(
&self,
pwsztype: P0,
pwszcommand: P1,
cnsscripttime: u64,
) -> Result<()>where
P0: Param<PCWSTR>,
P1: Param<PCWSTR>,
pub unsafe fn RemoveScript(&self, windex: u16) -> Result<()>
Trait Implementations§
§impl CanInto<IUnknown> for IWMHeaderInfo3
impl CanInto<IUnknown> for IWMHeaderInfo3
§impl CanInto<IWMHeaderInfo> for IWMHeaderInfo3
impl CanInto<IWMHeaderInfo> for IWMHeaderInfo3
§impl CanInto<IWMHeaderInfo2> for IWMHeaderInfo3
impl CanInto<IWMHeaderInfo2> for IWMHeaderInfo3
§impl Clone for IWMHeaderInfo3
impl Clone for IWMHeaderInfo3
§fn clone(&self) -> IWMHeaderInfo3
fn clone(&self) -> IWMHeaderInfo3
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IWMHeaderInfo3
impl Debug for IWMHeaderInfo3
§impl Deref for IWMHeaderInfo3
impl Deref for IWMHeaderInfo3
§impl From<&IWMHeaderInfo3> for &IUnknown
impl From<&IWMHeaderInfo3> for &IUnknown
§fn from(value: &IWMHeaderInfo3) -> Self
fn from(value: &IWMHeaderInfo3) -> Self
Converts to this type from the input type.
§impl From<&IWMHeaderInfo3> for &IWMHeaderInfo
impl From<&IWMHeaderInfo3> for &IWMHeaderInfo
§fn from(value: &IWMHeaderInfo3) -> Self
fn from(value: &IWMHeaderInfo3) -> Self
Converts to this type from the input type.
§impl From<&IWMHeaderInfo3> for &IWMHeaderInfo2
impl From<&IWMHeaderInfo3> for &IWMHeaderInfo2
§fn from(value: &IWMHeaderInfo3) -> Self
fn from(value: &IWMHeaderInfo3) -> Self
Converts to this type from the input type.
§impl From<IWMHeaderInfo3> for IUnknown
impl From<IWMHeaderInfo3> for IUnknown
§fn from(value: IWMHeaderInfo3) -> Self
fn from(value: IWMHeaderInfo3) -> Self
Converts to this type from the input type.
§impl From<IWMHeaderInfo3> for IWMHeaderInfo
impl From<IWMHeaderInfo3> for IWMHeaderInfo
§fn from(value: IWMHeaderInfo3) -> Self
fn from(value: IWMHeaderInfo3) -> Self
Converts to this type from the input type.
§impl From<IWMHeaderInfo3> for IWMHeaderInfo2
impl From<IWMHeaderInfo3> for IWMHeaderInfo2
§fn from(value: IWMHeaderInfo3) -> Self
fn from(value: IWMHeaderInfo3) -> Self
Converts to this type from the input type.
§impl Interface for IWMHeaderInfo3
impl Interface for IWMHeaderInfo3
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IWMHeaderInfo3
impl PartialEq for IWMHeaderInfo3
impl Eq for IWMHeaderInfo3
impl StructuralPartialEq for IWMHeaderInfo3
Auto Trait Implementations§
impl Freeze for IWMHeaderInfo3
impl RefUnwindSafe for IWMHeaderInfo3
impl !Send for IWMHeaderInfo3
impl !Sync for IWMHeaderInfo3
impl Unpin for IWMHeaderInfo3
impl UnwindSafe for IWMHeaderInfo3
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more