#[repr(C)]
pub struct IAudioEndpointVolume_Vtbl {
Show 19 fields pub base__: IUnknown_Vtbl, pub RegisterControlChangeNotify: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub UnregisterControlChangeNotify: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub GetChannelCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub SetMasterVolumeLevel: unsafe extern "system" fn(_: *mut c_void, _: f32, _: *const GUID) -> HRESULT, pub SetMasterVolumeLevelScalar: unsafe extern "system" fn(_: *mut c_void, _: f32, _: *const GUID) -> HRESULT, pub GetMasterVolumeLevel: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT, pub GetMasterVolumeLevelScalar: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT, pub SetChannelVolumeLevel: unsafe extern "system" fn(_: *mut c_void, _: u32, _: f32, _: *const GUID) -> HRESULT, pub SetChannelVolumeLevelScalar: unsafe extern "system" fn(_: *mut c_void, _: u32, _: f32, _: *const GUID) -> HRESULT, pub GetChannelVolumeLevel: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut f32) -> HRESULT, pub GetChannelVolumeLevelScalar: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *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, pub GetVolumeStepInfo: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut u32) -> HRESULT, pub VolumeStepUp: unsafe extern "system" fn(_: *mut c_void, _: *const GUID) -> HRESULT, pub VolumeStepDown: unsafe extern "system" fn(_: *mut c_void, _: *const GUID) -> HRESULT, pub QueryHardwareSupport: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub GetVolumeRange: unsafe extern "system" fn(_: *mut c_void, _: *mut f32, _: *mut f32, _: *mut f32) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§RegisterControlChangeNotify: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§UnregisterControlChangeNotify: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§GetChannelCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§SetMasterVolumeLevel: unsafe extern "system" fn(_: *mut c_void, _: f32, _: *const GUID) -> HRESULT§SetMasterVolumeLevelScalar: unsafe extern "system" fn(_: *mut c_void, _: f32, _: *const GUID) -> HRESULT§GetMasterVolumeLevel: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT§GetMasterVolumeLevelScalar: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT§SetChannelVolumeLevel: unsafe extern "system" fn(_: *mut c_void, _: u32, _: f32, _: *const GUID) -> HRESULT§SetChannelVolumeLevelScalar: unsafe extern "system" fn(_: *mut c_void, _: u32, _: f32, _: *const GUID) -> HRESULT§GetChannelVolumeLevel: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut f32) -> HRESULT§GetChannelVolumeLevelScalar: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *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§GetVolumeStepInfo: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut u32) -> HRESULT§VolumeStepUp: unsafe extern "system" fn(_: *mut c_void, _: *const GUID) -> HRESULT§VolumeStepDown: unsafe extern "system" fn(_: *mut c_void, _: *const GUID) -> HRESULT§QueryHardwareSupport: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§GetVolumeRange: unsafe extern "system" fn(_: *mut c_void, _: *mut f32, _: *mut f32, _: *mut f32) -> HRESULT

Implementations§

§

impl IAudioEndpointVolume_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> IAudioEndpointVolume_Vtbl
where Identity: IAudioEndpointVolume_Impl + IUnknownImpl,

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.