Struct windows::Win32::Media::MediaFoundation::IMFSimpleAudioVolume_Vtbl
#[repr(C)]pub struct IMFSimpleAudioVolume_Vtbl {
pub base__: IUnknown_Vtbl,
pub SetMasterVolume: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT,
pub GetMasterVolume: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT,
pub SetMute: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub GetMute: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§SetMasterVolume: unsafe extern "system" fn(_: *mut c_void, _: f32) -> HRESULT
§GetMasterVolume: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT
§SetMute: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§GetMute: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
Implementations§
§impl IMFSimpleAudioVolume_Vtbl
impl IMFSimpleAudioVolume_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IMFSimpleAudioVolume_Vtblwhere
Identity: IMFSimpleAudioVolume_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IMFSimpleAudioVolume_Vtbl
impl RefUnwindSafe for IMFSimpleAudioVolume_Vtbl
impl Send for IMFSimpleAudioVolume_Vtbl
impl Sync for IMFSimpleAudioVolume_Vtbl
impl Unpin for IMFSimpleAudioVolume_Vtbl
impl UnwindSafe for IMFSimpleAudioVolume_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