[−][src]Struct winapi::um::dsound::IDirectSoundBuffer
Fields
lpVtbl: *const IDirectSoundBufferVtbl
Methods
impl IDirectSoundBuffer
[src]
pub unsafe fn GetCaps(&self, pDSBufferCaps: LPDSBCAPS) -> HRESULT
[src]
pub unsafe fn GetCurrentPosition(
&self,
pdwCurrentPlayCursor: LPDWORD,
pdwCurrentWriteCursor: LPDWORD
) -> HRESULT
[src]
&self,
pdwCurrentPlayCursor: LPDWORD,
pdwCurrentWriteCursor: LPDWORD
) -> HRESULT
pub unsafe fn GetFormat(
&self,
pwfxFormat: LPWAVEFORMATEX,
dwSizeAllocated: DWORD,
pdwSizeWritten: LPDWORD
) -> HRESULT
[src]
&self,
pwfxFormat: LPWAVEFORMATEX,
dwSizeAllocated: DWORD,
pdwSizeWritten: LPDWORD
) -> HRESULT
pub unsafe fn GetVolume(&self, plVolume: LPLONG) -> HRESULT
[src]
pub unsafe fn GetPan(&self, plPan: LPLONG) -> HRESULT
[src]
pub unsafe fn GetFrequency(&self, pdwFrequency: LPDWORD) -> HRESULT
[src]
pub unsafe fn GetStatus(&self, pdwStatus: LPDWORD) -> HRESULT
[src]
pub unsafe fn Initialize(
&self,
pDirectSound: LPDIRECTSOUND,
pcDSBufferDesc: LPCDSBUFFERDESC
) -> HRESULT
[src]
&self,
pDirectSound: LPDIRECTSOUND,
pcDSBufferDesc: LPCDSBUFFERDESC
) -> HRESULT
pub unsafe fn Lock(
&self,
dwOffset: DWORD,
dwBytes: DWORD,
ppvAudioPtr1: *mut LPVOID,
pdwAudioBytes1: LPDWORD,
ppvAudioPtr2: *mut LPVOID,
pdwAudioBytes2: LPDWORD,
dwFlags: DWORD
) -> HRESULT
[src]
&self,
dwOffset: DWORD,
dwBytes: DWORD,
ppvAudioPtr1: *mut LPVOID,
pdwAudioBytes1: LPDWORD,
ppvAudioPtr2: *mut LPVOID,
pdwAudioBytes2: LPDWORD,
dwFlags: DWORD
) -> HRESULT
pub unsafe fn Play(
&self,
dwReserved1: DWORD,
dwPriority: DWORD,
dwFlags: DWORD
) -> HRESULT
[src]
&self,
dwReserved1: DWORD,
dwPriority: DWORD,
dwFlags: DWORD
) -> HRESULT
pub unsafe fn SetCurrentPosition(&self, dwNewPosition: DWORD) -> HRESULT
[src]
pub unsafe fn SetFormat(&self, pcfxFormat: LPCWAVEFORMATEX) -> HRESULT
[src]
pub unsafe fn SetVolume(&self, lVolume: LONG) -> HRESULT
[src]
pub unsafe fn SetPan(&self, lPan: LONG) -> HRESULT
[src]
pub unsafe fn SetFrequency(&self, dwFrequency: DWORD) -> HRESULT
[src]
pub unsafe fn Stop(&self) -> HRESULT
[src]
pub unsafe fn Unlock(
&self,
pvAudioPtr1: LPVOID,
dwAudioBytes1: DWORD,
pvAudioPtr2: LPVOID,
dwAudioBytes2: DWORD
) -> HRESULT
[src]
&self,
pvAudioPtr1: LPVOID,
dwAudioBytes1: DWORD,
pvAudioPtr2: LPVOID,
dwAudioBytes2: DWORD
) -> HRESULT
pub unsafe fn Restore(&self) -> HRESULT
[src]
Methods from Deref<Target = IUnknown>
pub unsafe fn QueryInterface(
&self,
riid: REFIID,
ppvObject: *mut *mut c_void
) -> HRESULT
[src]
&self,
riid: REFIID,
ppvObject: *mut *mut c_void
) -> HRESULT
pub unsafe fn AddRef(&self) -> ULONG
[src]
pub unsafe fn Release(&self) -> ULONG
[src]
Trait Implementations
impl Interface for IDirectSoundBuffer
[src]
impl Deref for IDirectSoundBuffer
[src]
Auto Trait Implementations
impl !Send for IDirectSoundBuffer
impl !Sync for IDirectSoundBuffer
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,