Struct IDirectSoundCaptureBuffer_Vtbl
#[repr(C)]pub struct IDirectSoundCaptureBuffer_Vtbl {
pub base__: IUnknown_Vtbl,
pub GetCaps: unsafe extern "system" fn(_: *mut c_void, _: *mut DSCBCAPS) -> HRESULT,
pub GetCurrentPosition: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut u32) -> HRESULT,
pub GetFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut WAVEFORMATEX, _: u32, _: *mut u32) -> HRESULT,
pub GetStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub Initialize: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const DSCBUFFERDESC) -> HRESULT,
pub Lock: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut *mut c_void, _: *mut u32, _: *mut *mut c_void, _: *mut u32, _: u32) -> HRESULT,
pub Start: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub Stop: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub Unlock: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: u32, _: *const c_void, _: u32) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§GetCaps: unsafe extern "system" fn(_: *mut c_void, _: *mut DSCBCAPS) -> HRESULT
§GetCurrentPosition: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut u32) -> HRESULT
§GetFormat: unsafe extern "system" fn(_: *mut c_void, _: *mut WAVEFORMATEX, _: u32, _: *mut u32) -> HRESULT
§GetStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§Initialize: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *const DSCBUFFERDESC) -> HRESULT
§Lock: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut *mut c_void, _: *mut u32, _: *mut *mut c_void, _: *mut u32, _: u32) -> HRESULT
§Start: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT
§Stop: unsafe extern "system" fn(_: *mut c_void) -> HRESULT
§Unlock: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: u32, _: *const c_void, _: u32) -> HRESULT
Implementations§
§impl IDirectSoundCaptureBuffer_Vtbl
impl IDirectSoundCaptureBuffer_Vtbl
pub const fn new<Identity: IDirectSoundCaptureBuffer_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IDirectSoundCaptureBuffer_Vtbl
impl RefUnwindSafe for IDirectSoundCaptureBuffer_Vtbl
impl Send for IDirectSoundCaptureBuffer_Vtbl
impl Sync for IDirectSoundCaptureBuffer_Vtbl
impl Unpin for IDirectSoundCaptureBuffer_Vtbl
impl UnwindSafe for IDirectSoundCaptureBuffer_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