Struct IWMStreamConfig2_Vtbl
#[repr(C)]pub struct IWMStreamConfig2_Vtbl {
pub base__: IWMStreamConfig_Vtbl,
pub GetTransportType: unsafe extern "system" fn(_: *mut c_void, _: *mut WMT_TRANSPORT_TYPE) -> HRESULT,
pub SetTransportType: unsafe extern "system" fn(_: *mut c_void, _: WMT_TRANSPORT_TYPE) -> HRESULT,
pub AddDataUnitExtension: unsafe extern "system" fn(_: *mut c_void, _: GUID, _: u16, _: *const u8, _: u32) -> HRESULT,
pub GetDataUnitExtensionCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT,
pub GetDataUnitExtension: unsafe extern "system" fn(_: *mut c_void, _: u16, _: *mut GUID, _: *mut u16, _: *mut u8, _: *mut u32) -> HRESULT,
pub RemoveAllDataUnitExtensions: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
}
Fields§
§base__: IWMStreamConfig_Vtbl
§GetTransportType: unsafe extern "system" fn(_: *mut c_void, _: *mut WMT_TRANSPORT_TYPE) -> HRESULT
§SetTransportType: unsafe extern "system" fn(_: *mut c_void, _: WMT_TRANSPORT_TYPE) -> HRESULT
§AddDataUnitExtension: unsafe extern "system" fn(_: *mut c_void, _: GUID, _: u16, _: *const u8, _: u32) -> HRESULT
§GetDataUnitExtensionCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT
§GetDataUnitExtension: unsafe extern "system" fn(_: *mut c_void, _: u16, _: *mut GUID, _: *mut u16, _: *mut u8, _: *mut u32) -> HRESULT
§RemoveAllDataUnitExtensions: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
Implementations§
§impl IWMStreamConfig2_Vtbl
impl IWMStreamConfig2_Vtbl
pub const fn new<Identity: IWMStreamConfig2_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IWMStreamConfig2_Vtbl
impl RefUnwindSafe for IWMStreamConfig2_Vtbl
impl Send for IWMStreamConfig2_Vtbl
impl Sync for IWMStreamConfig2_Vtbl
impl Unpin for IWMStreamConfig2_Vtbl
impl UnwindSafe for IWMStreamConfig2_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