Struct audio_device_windows_sys::Windows::Win32::Audio::IDirectSoundBuffer8 [−][src]
Implementations
impl IDirectSoundBuffer8
[src]
pub unsafe fn GetCaps(&self, pdsbuffercaps: *mut DSBCAPS) -> HRESULT
[src]
pub unsafe fn GetCurrentPosition(
&self,
pdwcurrentplaycursor: *mut u32,
pdwcurrentwritecursor: *mut u32
) -> HRESULT
[src]
&self,
pdwcurrentplaycursor: *mut u32,
pdwcurrentwritecursor: *mut u32
) -> HRESULT
pub unsafe fn GetFormat(
&self,
pwfxformat: *mut WAVEFORMATEX,
dwsizeallocated: u32,
pdwsizewritten: *mut u32
) -> HRESULT
[src]
&self,
pwfxformat: *mut WAVEFORMATEX,
dwsizeallocated: u32,
pdwsizewritten: *mut u32
) -> HRESULT
pub unsafe fn GetVolume(&self, plvolume: *mut i32) -> HRESULT
[src]
pub unsafe fn GetPan(&self, plpan: *mut i32) -> HRESULT
[src]
pub unsafe fn GetFrequency(&self, pdwfrequency: *mut u32) -> HRESULT
[src]
pub unsafe fn GetStatus(&self, pdwstatus: *mut u32) -> HRESULT
[src]
pub unsafe fn Initialize<'a>(
&self,
pdirectsound: impl IntoParam<'a, IDirectSound>,
pcdsbufferdesc: *mut DSBUFFERDESC
) -> HRESULT
[src]
&self,
pdirectsound: impl IntoParam<'a, IDirectSound>,
pcdsbufferdesc: *mut DSBUFFERDESC
) -> HRESULT
pub unsafe fn Lock(
&self,
dwoffset: u32,
dwbytes: u32,
ppvaudioptr1: *mut *mut c_void,
pdwaudiobytes1: *mut u32,
ppvaudioptr2: *mut *mut c_void,
pdwaudiobytes2: *mut u32,
dwflags: u32
) -> HRESULT
[src]
&self,
dwoffset: u32,
dwbytes: u32,
ppvaudioptr1: *mut *mut c_void,
pdwaudiobytes1: *mut u32,
ppvaudioptr2: *mut *mut c_void,
pdwaudiobytes2: *mut u32,
dwflags: u32
) -> HRESULT
pub unsafe fn Play(
&self,
dwreserved1: u32,
dwpriority: u32,
dwflags: u32
) -> HRESULT
[src]
&self,
dwreserved1: u32,
dwpriority: u32,
dwflags: u32
) -> HRESULT
pub unsafe fn SetCurrentPosition(&self, dwnewposition: u32) -> HRESULT
[src]
pub unsafe fn SetFormat(&self, pcfxformat: *mut WAVEFORMATEX) -> HRESULT
[src]
pub unsafe fn SetVolume(&self, lvolume: i32) -> HRESULT
[src]
pub unsafe fn SetPan(&self, lpan: i32) -> HRESULT
[src]
pub unsafe fn SetFrequency(&self, dwfrequency: u32) -> HRESULT
[src]
pub unsafe fn Stop(&self) -> HRESULT
[src]
pub unsafe fn Unlock(
&self,
pvaudioptr1: *mut c_void,
dwaudiobytes1: u32,
pvaudioptr2: *mut c_void,
dwaudiobytes2: u32
) -> HRESULT
[src]
&self,
pvaudioptr1: *mut c_void,
dwaudiobytes1: u32,
pvaudioptr2: *mut c_void,
dwaudiobytes2: u32
) -> HRESULT
pub unsafe fn Restore(&self) -> HRESULT
[src]
pub unsafe fn SetFX(
&self,
dweffectscount: u32,
pdsfxdesc: *mut DSEFFECTDESC,
pdwresultcodes: *mut u32
) -> HRESULT
[src]
&self,
dweffectscount: u32,
pdsfxdesc: *mut DSEFFECTDESC,
pdwresultcodes: *mut u32
) -> HRESULT
pub unsafe fn AcquireResources(
&self,
dwflags: u32,
dweffectscount: u32,
pdwresultcodes: *mut u32
) -> HRESULT
[src]
&self,
dwflags: u32,
dweffectscount: u32,
pdwresultcodes: *mut u32
) -> HRESULT
pub unsafe fn GetObjectInPath(
&self,
rguidobject: *const Guid,
dwindex: u32,
rguidinterface: *const Guid,
ppobject: *mut *mut c_void
) -> HRESULT
[src]
&self,
rguidobject: *const Guid,
dwindex: u32,
rguidinterface: *const Guid,
ppobject: *mut *mut c_void
) -> HRESULT
Trait Implementations
impl Clone for IDirectSoundBuffer8
[src]
fn clone(&self) -> IDirectSoundBuffer8
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for IDirectSoundBuffer8
[src]
impl Eq for IDirectSoundBuffer8
[src]
impl From<&'_ IDirectSoundBuffer8> for IDirectSoundBuffer
[src]
fn from(value: &IDirectSoundBuffer8) -> Self
[src]
impl From<IDirectSoundBuffer8> for IDirectSoundBuffer
[src]
fn from(value: IDirectSoundBuffer8) -> Self
[src]
impl Interface for IDirectSoundBuffer8
[src]
type Vtable = IDirectSoundBuffer8_abi
const IID: Guid
[src]
pub unsafe fn vtable(&self) -> &Self::Vtable
[src]
pub unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtable where
T: Interface,
[src]
T: Interface,
pub fn cast<T>(&self) -> Result<T, Error> where
T: Interface,
[src]
T: Interface,
impl<'a> IntoParam<'a, IDirectSoundBuffer> for IDirectSoundBuffer8
[src]
fn into_param(self) -> Param<'a, IDirectSoundBuffer>
[src]
impl<'a> IntoParam<'a, IDirectSoundBuffer> for &'a IDirectSoundBuffer8
[src]
fn into_param(self) -> Param<'a, IDirectSoundBuffer>
[src]
impl<'a> IntoParam<'a, IUnknown> for IDirectSoundBuffer8
[src]
fn into_param(self) -> Param<'a, IUnknown>
[src]
impl<'a> IntoParam<'a, IUnknown> for &'a IDirectSoundBuffer8
[src]
fn into_param(self) -> Param<'a, IUnknown>
[src]
impl PartialEq<IDirectSoundBuffer8> for IDirectSoundBuffer8
[src]
fn eq(&self, other: &IDirectSoundBuffer8) -> bool
[src]
fn ne(&self, other: &IDirectSoundBuffer8) -> bool
[src]
impl StructuralEq for IDirectSoundBuffer8
[src]
impl StructuralPartialEq for IDirectSoundBuffer8
[src]
Auto Trait Implementations
impl RefUnwindSafe for IDirectSoundBuffer8
impl !Send for IDirectSoundBuffer8
impl !Sync for IDirectSoundBuffer8
impl Unpin for IDirectSoundBuffer8
impl UnwindSafe for IDirectSoundBuffer8
Blanket Implementations
impl<T> Abi for T where
T: Interface,
[src]
T: Interface,
type Abi = *mut c_void
The abi representation of the implementing type. Read more
pub fn set_abi(&mut self) -> *mut <T as Abi>::Abi
[src]
pub unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
[src]
pub fn abi(&self) -> Self::Abi
[src]
pub fn drop_param(&mut Param<'_, Self>)
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'a, T> IntoParam<'a, T> for T where
T: Abi,
[src]
T: Abi,
pub fn into_param(self) -> Param<'a, T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,