#[repr(C)]pub struct IMFMediaEngineProtectedContent_Vtbl {
pub base__: IUnknown_Vtbl,
pub ShareResources: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub GetRequiredProtections: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub SetOPMWindow: unsafe extern "system" fn(_: *mut c_void, _: HWND) -> HRESULT,
pub TransferVideoFrame: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const MFVideoNormalizedRect, _: *const RECT, _: *const MFARGB, _: *mut u32) -> HRESULT,
pub SetContentProtectionManager: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub SetApplicationCertificate: unsafe extern "system" fn(_: *mut c_void, _: *const u8, _: u32) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§GetRequiredProtections: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§SetOPMWindow: unsafe extern "system" fn(_: *mut c_void, _: HWND) -> HRESULT
§TransferVideoFrame: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const MFVideoNormalizedRect, _: *const RECT, _: *const MFARGB, _: *mut u32) -> HRESULT
§SetContentProtectionManager: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§SetApplicationCertificate: unsafe extern "system" fn(_: *mut c_void, _: *const u8, _: u32) -> HRESULT
Implementations§
§impl IMFMediaEngineProtectedContent_Vtbl
impl IMFMediaEngineProtectedContent_Vtbl
pub const fn new<Identity: IUnknownImpl<Impl = Impl>, Impl: IMFMediaEngineProtectedContent_Impl, const OFFSET: isize>( ) -> IMFMediaEngineProtectedContent_Vtbl
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl RefUnwindSafe for IMFMediaEngineProtectedContent_Vtbl
impl Send for IMFMediaEngineProtectedContent_Vtbl
impl Sync for IMFMediaEngineProtectedContent_Vtbl
impl Unpin for IMFMediaEngineProtectedContent_Vtbl
impl UnwindSafe for IMFMediaEngineProtectedContent_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