Struct windows::Win32::Media::Audio::IMMDeviceEnumerator_Vtbl
#[repr(C)]pub struct IMMDeviceEnumerator_Vtbl {
pub base__: IUnknown_Vtbl,
pub EnumAudioEndpoints: unsafe extern "system" fn(_: *mut c_void, _: EDataFlow, _: DEVICE_STATE, _: *mut *mut c_void) -> HRESULT,
pub GetDefaultAudioEndpoint: unsafe extern "system" fn(_: *mut c_void, _: EDataFlow, _: ERole, _: *mut *mut c_void) -> HRESULT,
pub GetDevice: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut *mut c_void) -> HRESULT,
pub RegisterEndpointNotificationCallback: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub UnregisterEndpointNotificationCallback: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§EnumAudioEndpoints: unsafe extern "system" fn(_: *mut c_void, _: EDataFlow, _: DEVICE_STATE, _: *mut *mut c_void) -> HRESULT
§GetDefaultAudioEndpoint: unsafe extern "system" fn(_: *mut c_void, _: EDataFlow, _: ERole, _: *mut *mut c_void) -> HRESULT
§GetDevice: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut *mut c_void) -> HRESULT
§RegisterEndpointNotificationCallback: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§UnregisterEndpointNotificationCallback: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
Implementations§
§impl IMMDeviceEnumerator_Vtbl
impl IMMDeviceEnumerator_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IMMDeviceEnumerator_Vtblwhere
Identity: IMMDeviceEnumerator_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IMMDeviceEnumerator_Vtbl
impl RefUnwindSafe for IMMDeviceEnumerator_Vtbl
impl Send for IMMDeviceEnumerator_Vtbl
impl Sync for IMMDeviceEnumerator_Vtbl
impl Unpin for IMMDeviceEnumerator_Vtbl
impl UnwindSafe for IMMDeviceEnumerator_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