Struct windows::Win32::Media::Audio::IAudioSessionControl_Vtbl
#[repr(C)]pub struct IAudioSessionControl_Vtbl {
pub base__: IUnknown_Vtbl,
pub GetState: unsafe extern "system" fn(_: *mut c_void, _: *mut AudioSessionState) -> HRESULT,
pub GetDisplayName: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT,
pub SetDisplayName: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *const GUID) -> HRESULT,
pub GetIconPath: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT,
pub SetIconPath: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *const GUID) -> HRESULT,
pub GetGroupingParam: unsafe extern "system" fn(_: *mut c_void, _: *mut GUID) -> HRESULT,
pub SetGroupingParam: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const GUID) -> HRESULT,
pub RegisterAudioSessionNotification: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub UnregisterAudioSessionNotification: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§GetState: unsafe extern "system" fn(_: *mut c_void, _: *mut AudioSessionState) -> HRESULT
§GetDisplayName: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT
§SetDisplayName: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *const GUID) -> HRESULT
§GetIconPath: unsafe extern "system" fn(_: *mut c_void, _: *mut PWSTR) -> HRESULT
§SetIconPath: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *const GUID) -> HRESULT
§GetGroupingParam: unsafe extern "system" fn(_: *mut c_void, _: *mut GUID) -> HRESULT
§SetGroupingParam: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *const GUID) -> HRESULT
§RegisterAudioSessionNotification: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§UnregisterAudioSessionNotification: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
Implementations§
§impl IAudioSessionControl_Vtbl
impl IAudioSessionControl_Vtbl
pub const fn new<Identity: IUnknownImpl<Impl = Impl>, Impl: IAudioSessionControl_Impl, const OFFSET: isize>( ) -> IAudioSessionControl_Vtbl
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl RefUnwindSafe for IAudioSessionControl_Vtbl
impl Send for IAudioSessionControl_Vtbl
impl Sync for IAudioSessionControl_Vtbl
impl Unpin for IAudioSessionControl_Vtbl
impl UnwindSafe for IAudioSessionControl_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