Struct windows::Win32::Media::WindowsMediaFormat::IWMHeaderInfo2
pub struct IWMHeaderInfo2(/* private fields */);
Implementations§
§impl IWMHeaderInfo2
impl IWMHeaderInfo2
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<P0>(
&self,
pwstreamnum: *mut u16,
pszname: P0,
ptype: *mut WMT_ATTR_DATATYPE,
pvalue: *mut u8,
pcblength: *mut u16
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn SetAttribute<P0>(
&self,
wstreamnum: u16,
pszname: P0,
type: WMT_ATTR_DATATYPE,
pvalue: &[u8]
) -> Result<()>where
P0: IntoParam<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: IntoParam<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<()>
pub unsafe fn RemoveScript(&self, windex: u16) -> Result<()>
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<()>
Trait Implementations§
§impl Clone for IWMHeaderInfo2
impl Clone for IWMHeaderInfo2
§fn clone(&self) -> IWMHeaderInfo2
fn clone(&self) -> IWMHeaderInfo2
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 IWMHeaderInfo2
impl Debug for IWMHeaderInfo2
§impl From<&IWMHeaderInfo2> for &IUnknown
impl From<&IWMHeaderInfo2> for &IUnknown
§fn from(value: &IWMHeaderInfo2) -> Self
fn from(value: &IWMHeaderInfo2) -> Self
Converts to this type from the input type.
§impl From<&IWMHeaderInfo2> for &IWMHeaderInfo
impl From<&IWMHeaderInfo2> for &IWMHeaderInfo
§fn from(value: &IWMHeaderInfo2) -> Self
fn from(value: &IWMHeaderInfo2) -> 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<IWMHeaderInfo2> for IUnknown
impl From<IWMHeaderInfo2> for IUnknown
§fn from(value: IWMHeaderInfo2) -> Self
fn from(value: IWMHeaderInfo2) -> Self
Converts to this type from the input type.
§impl From<IWMHeaderInfo2> for IWMHeaderInfo
impl From<IWMHeaderInfo2> for IWMHeaderInfo
§fn from(value: IWMHeaderInfo2) -> Self
fn from(value: IWMHeaderInfo2) -> 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 IWMHeaderInfo2
impl Interface for IWMHeaderInfo2
§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.
§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§impl PartialEq for IWMHeaderInfo2
impl PartialEq for IWMHeaderInfo2
§fn eq(&self, other: &IWMHeaderInfo2) -> bool
fn eq(&self, other: &IWMHeaderInfo2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IWMHeaderInfo2
impl StructuralPartialEq for IWMHeaderInfo2
Auto Trait Implementations§
impl RefUnwindSafe for IWMHeaderInfo2
impl !Send for IWMHeaderInfo2
impl !Sync for IWMHeaderInfo2
impl Unpin for IWMHeaderInfo2
impl UnwindSafe for IWMHeaderInfo2
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