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