Struct windows::Win32::Media::Audio::DirectSound::IDirectSound_Vtbl
#[repr(C)]pub struct IDirectSound_Vtbl {
pub base__: IUnknown_Vtbl,
pub CreateSoundBuffer: unsafe extern "system" fn(_: *mut c_void, _: *const DSBUFFERDESC, _: *mut *mut c_void, _: *mut c_void) -> HRESULT,
pub GetCaps: unsafe extern "system" fn(_: *mut c_void, _: *mut DSCAPS) -> HRESULT,
pub DuplicateSoundBuffer: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub SetCooperativeLevel: unsafe extern "system" fn(_: *mut c_void, _: HWND, _: u32) -> HRESULT,
pub Compact: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub GetSpeakerConfig: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub SetSpeakerConfig: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub Initialize: unsafe extern "system" fn(_: *mut c_void, _: *const GUID) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§CreateSoundBuffer: unsafe extern "system" fn(_: *mut c_void, _: *const DSBUFFERDESC, _: *mut *mut c_void, _: *mut c_void) -> HRESULT
§GetCaps: unsafe extern "system" fn(_: *mut c_void, _: *mut DSCAPS) -> HRESULT
§DuplicateSoundBuffer: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT
§SetCooperativeLevel: unsafe extern "system" fn(_: *mut c_void, _: HWND, _: u32) -> HRESULT
§Compact: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§GetSpeakerConfig: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§SetSpeakerConfig: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT
§Initialize: unsafe extern "system" fn(_: *mut c_void, _: *const GUID) -> HRESULT
Implementations§
§impl IDirectSound_Vtbl
impl IDirectSound_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IDirectSound_Vtblwhere
Identity: IDirectSound_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IDirectSound_Vtbl
impl RefUnwindSafe for IDirectSound_Vtbl
impl Send for IDirectSound_Vtbl
impl Sync for IDirectSound_Vtbl
impl Unpin for IDirectSound_Vtbl
impl UnwindSafe for IDirectSound_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