Struct windows::Win32::Media::WindowsMediaFormat::IWMSyncReader_Vtbl
#[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
impl IWMSyncReader_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IWMSyncReader_Vtblwhere
Identity: IWMSyncReader_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IWMSyncReader_Vtbl
impl RefUnwindSafe for IWMSyncReader_Vtbl
impl Send for IWMSyncReader_Vtbl
impl Sync for IWMSyncReader_Vtbl
impl Unpin for IWMSyncReader_Vtbl
impl UnwindSafe for IWMSyncReader_Vtbl
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