Struct windows::Win32::Media::DirectShow::IAMMediaTypeStream_Vtbl
#[repr(C)]pub struct IAMMediaTypeStream_Vtbl {
pub base__: IMediaStream_Vtbl,
pub GetFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut AM_MEDIA_TYPE, _: u32) -> HRESULT,
pub SetFormat: unsafe extern "system" fn(_: *mut c_void, _: *const AM_MEDIA_TYPE, _: u32) -> HRESULT,
pub CreateSample: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *const u8, _: u32, _: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub GetStreamAllocatorRequirements: unsafe extern "system" fn(_: *mut c_void, _: *mut ALLOCATOR_PROPERTIES) -> HRESULT,
pub SetStreamAllocatorRequirements: unsafe extern "system" fn(_: *mut c_void, _: *const ALLOCATOR_PROPERTIES) -> HRESULT,
}
Fields§
§base__: IMediaStream_Vtbl
§GetFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut AM_MEDIA_TYPE, _: u32) -> HRESULT
§SetFormat: unsafe extern "system" fn(_: *mut c_void, _: *const AM_MEDIA_TYPE, _: u32) -> HRESULT
§CreateSample: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *const u8, _: u32, _: *mut c_void, _: *mut *mut c_void) -> HRESULT
§GetStreamAllocatorRequirements: unsafe extern "system" fn(_: *mut c_void, _: *mut ALLOCATOR_PROPERTIES) -> HRESULT
§SetStreamAllocatorRequirements: unsafe extern "system" fn(_: *mut c_void, _: *const ALLOCATOR_PROPERTIES) -> HRESULT
Implementations§
§impl IAMMediaTypeStream_Vtbl
impl IAMMediaTypeStream_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IAMMediaTypeStream_Vtblwhere
Identity: IAMMediaTypeStream_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IAMMediaTypeStream_Vtbl
impl RefUnwindSafe for IAMMediaTypeStream_Vtbl
impl Send for IAMMediaTypeStream_Vtbl
impl Sync for IAMMediaTypeStream_Vtbl
impl Unpin for IAMMediaTypeStream_Vtbl
impl UnwindSafe for IAMMediaTypeStream_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