Struct audio_device_windows_sys::Windows::Win32::Audio::IDirectSound[][src]

#[repr(transparent)]pub struct IDirectSound(_);

Implementations

impl IDirectSound[src]

pub unsafe fn CreateSoundBuffer<'a>(
    &self,
    pcdsbufferdesc: *mut DSBUFFERDESC,
    ppdsbuffer: *mut Option<IDirectSoundBuffer>,
    punkouter: impl IntoParam<'a, IUnknown>
) -> HRESULT
[src]

pub unsafe fn GetCaps(&self, pdscaps: *mut DSCAPS) -> HRESULT[src]

pub unsafe fn DuplicateSoundBuffer<'a>(
    &self,
    pdsbufferoriginal: impl IntoParam<'a, IDirectSoundBuffer>,
    ppdsbufferduplicate: *mut Option<IDirectSoundBuffer>
) -> HRESULT
[src]

pub unsafe fn SetCooperativeLevel<'a>(
    &self,
    hwnd: impl IntoParam<'a, HWND>,
    dwlevel: u32
) -> HRESULT
[src]

pub unsafe fn Compact(&self) -> HRESULT[src]

pub unsafe fn GetSpeakerConfig(&self, pdwspeakerconfig: *mut u32) -> HRESULT[src]

pub unsafe fn SetSpeakerConfig(&self, dwspeakerconfig: u32) -> HRESULT[src]

pub unsafe fn Initialize(&self, pcguiddevice: *mut Guid) -> HRESULT[src]

Trait Implementations

impl Clone for IDirectSound[src]

impl Debug for IDirectSound[src]

impl Eq for IDirectSound[src]

impl From<&'_ IDirectSound8> for IDirectSound[src]

impl From<IDirectSound8> for IDirectSound[src]

impl Interface for IDirectSound[src]

type Vtable = IDirectSound_abi

impl<'a> IntoParam<'a, IDirectSound> for IDirectSound8[src]

impl<'a> IntoParam<'a, IDirectSound> for &'a IDirectSound8[src]

impl<'a> IntoParam<'a, IUnknown> for IDirectSound[src]

impl<'a> IntoParam<'a, IUnknown> for &'a IDirectSound[src]

impl PartialEq<IDirectSound> for IDirectSound[src]

impl StructuralEq for IDirectSound[src]

impl StructuralPartialEq for IDirectSound[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Abi for T where
    T: Interface
[src]

type Abi = *mut c_void

The abi representation of the implementing type. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T> IntoParam<'a, T> for T where
    T: Abi
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.