Struct windows::Win32::Media::MediaFoundation::IMFCaptureEngine_Vtbl
#[repr(C)]pub struct IMFCaptureEngine_Vtbl {
pub base__: IUnknown_Vtbl,
pub Initialize: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT,
pub StartPreview: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub StopPreview: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub StartRecord: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub StopRecord: unsafe extern "system" fn(_: *mut c_void, _: BOOL, _: BOOL) -> HRESULT,
pub TakePhoto: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub GetSink: unsafe extern "system" fn(_: *mut c_void, _: MF_CAPTURE_ENGINE_SINK_TYPE, _: *mut *mut c_void) -> HRESULT,
pub GetSource: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§Initialize: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT
§StartPreview: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§StopPreview: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§StartRecord: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§StopRecord: unsafe extern "system" fn(_: *mut c_void, _: BOOL, _: BOOL) -> HRESULT
§TakePhoto: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§GetSink: unsafe extern "system" fn(_: *mut c_void, _: MF_CAPTURE_ENGINE_SINK_TYPE, _: *mut *mut c_void) -> HRESULT
§GetSource: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
Implementations§
§impl IMFCaptureEngine_Vtbl
impl IMFCaptureEngine_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IMFCaptureEngine_Vtblwhere
Identity: IMFCaptureEngine_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IMFCaptureEngine_Vtbl
impl RefUnwindSafe for IMFCaptureEngine_Vtbl
impl Send for IMFCaptureEngine_Vtbl
impl Sync for IMFCaptureEngine_Vtbl
impl Unpin for IMFCaptureEngine_Vtbl
impl UnwindSafe for IMFCaptureEngine_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