#[repr(C)]
pub struct IWMSyncReader_Vtbl {
Show 22 fields pub base__: IUnknown_Vtbl, pub Open: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT, pub Close: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub SetRange: unsafe extern "system" fn(_: *mut c_void, _: u64, _: i64) -> HRESULT, pub SetRangeByFrame: unsafe extern "system" fn(_: *mut c_void, _: u16, _: u64, _: i64) -> HRESULT, pub GetNextSample: unsafe extern "system" fn(_: *mut c_void, _: u16, _: *mut *mut c_void, _: *mut u64, _: *mut u64, _: *mut u32, _: *mut u32, _: *mut u16) -> HRESULT, pub SetStreamsSelected: unsafe extern "system" fn(_: *mut c_void, _: u16, _: *const u16, _: *const WMT_STREAM_SELECTION) -> HRESULT, pub GetStreamSelected: unsafe extern "system" fn(_: *mut c_void, _: u16, _: *mut WMT_STREAM_SELECTION) -> HRESULT, pub SetReadStreamSamples: unsafe extern "system" fn(_: *mut c_void, _: u16, _: BOOL) -> HRESULT, pub GetReadStreamSamples: unsafe extern "system" fn(_: *mut c_void, _: u16, _: *mut BOOL) -> HRESULT, pub GetOutputSetting: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PCWSTR, _: *mut WMT_ATTR_DATATYPE, _: *mut u8, _: *mut u16) -> HRESULT, pub SetOutputSetting: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PCWSTR, _: WMT_ATTR_DATATYPE, _: *const u8, _: u16) -> HRESULT, pub GetOutputCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub GetOutputProps: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT, pub SetOutputProps: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void) -> HRESULT, pub GetOutputFormatCount: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u32) -> HRESULT, pub GetOutputFormat: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut *mut c_void) -> HRESULT, pub GetOutputNumberForStream: unsafe extern "system" fn(_: *mut c_void, _: u16, _: *mut u32) -> HRESULT, pub GetStreamNumberForOutput: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u16) -> HRESULT, pub GetMaxOutputSampleSize: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u32) -> HRESULT, pub GetMaxStreamSampleSize: unsafe extern "system" fn(_: *mut c_void, _: u16, _: *mut u32) -> HRESULT, pub OpenStream: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§Open: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT§Close: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§SetRange: unsafe extern "system" fn(_: *mut c_void, _: u64, _: i64) -> HRESULT§SetRangeByFrame: unsafe extern "system" fn(_: *mut c_void, _: u16, _: u64, _: i64) -> HRESULT§GetNextSample: unsafe extern "system" fn(_: *mut c_void, _: u16, _: *mut *mut c_void, _: *mut u64, _: *mut u64, _: *mut u32, _: *mut u32, _: *mut u16) -> HRESULT§SetStreamsSelected: unsafe extern "system" fn(_: *mut c_void, _: u16, _: *const u16, _: *const WMT_STREAM_SELECTION) -> HRESULT§GetStreamSelected: unsafe extern "system" fn(_: *mut c_void, _: u16, _: *mut WMT_STREAM_SELECTION) -> HRESULT§SetReadStreamSamples: unsafe extern "system" fn(_: *mut c_void, _: u16, _: BOOL) -> HRESULT§GetReadStreamSamples: unsafe extern "system" fn(_: *mut c_void, _: u16, _: *mut BOOL) -> HRESULT§GetOutputSetting: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PCWSTR, _: *mut WMT_ATTR_DATATYPE, _: *mut u8, _: *mut u16) -> HRESULT§SetOutputSetting: unsafe extern "system" fn(_: *mut c_void, _: u32, _: PCWSTR, _: WMT_ATTR_DATATYPE, _: *const u8, _: u16) -> HRESULT§GetOutputCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§GetOutputProps: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT§SetOutputProps: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut c_void) -> HRESULT§GetOutputFormatCount: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u32) -> HRESULT§GetOutputFormat: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut *mut c_void) -> HRESULT§GetOutputNumberForStream: unsafe extern "system" fn(_: *mut c_void, _: u16, _: *mut u32) -> HRESULT§GetStreamNumberForOutput: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u16) -> HRESULT§GetMaxOutputSampleSize: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut u32) -> HRESULT§GetMaxStreamSampleSize: unsafe extern "system" fn(_: *mut c_void, _: u16, _: *mut u32) -> HRESULT§OpenStream: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT

Implementations§

§

impl IWMSyncReader_Vtbl

pub const fn new<Identity: IUnknownImpl<Impl = Impl>, Impl: IWMSyncReader_Impl, const OFFSET: isize>( ) -> IWMSyncReader_Vtbl

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.