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

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

Implementations

impl IDirectMusic[src]

pub unsafe fn EnumPort(
    &self,
    dwindex: u32,
    pportcaps: *mut DMUS_PORTCAPS
) -> HRESULT
[src]

pub unsafe fn CreateMusicBuffer<'a>(
    &self,
    pbufferdesc: *mut DMUS_BUFFERDESC,
    ppbuffer: *mut Option<IDirectMusicBuffer>,
    punkouter: impl IntoParam<'a, IUnknown>
) -> HRESULT
[src]

pub unsafe fn CreatePort<'a>(
    &self,
    rclsidport: *const Guid,
    pportparams: *mut DMUS_PORTPARAMS8,
    ppport: *mut Option<IDirectMusicPort>,
    punkouter: impl IntoParam<'a, IUnknown>
) -> HRESULT
[src]

pub unsafe fn EnumMasterClock(
    &self,
    dwindex: u32,
    lpclockinfo: *mut DMUS_CLOCKINFO8
) -> HRESULT
[src]

pub unsafe fn SetMasterClock(&self, rguidclock: *const Guid) -> HRESULT[src]

pub unsafe fn Activate<'a>(&self, fenable: impl IntoParam<'a, BOOL>) -> HRESULT[src]

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

pub unsafe fn SetDirectSound<'a>(
    &self,
    pdirectsound: impl IntoParam<'a, IDirectSound>,
    hwnd: impl IntoParam<'a, HWND>
) -> HRESULT
[src]

Trait Implementations

impl Clone for IDirectMusic[src]

impl Debug for IDirectMusic[src]

impl Eq for IDirectMusic[src]

impl From<&'_ IDirectMusic8> for IDirectMusic[src]

impl From<IDirectMusic8> for IDirectMusic[src]

impl Interface for IDirectMusic[src]

type Vtable = IDirectMusic_abi

impl<'a> IntoParam<'a, IDirectMusic> for IDirectMusic8[src]

impl<'a> IntoParam<'a, IDirectMusic> for &'a IDirectMusic8[src]

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

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

impl PartialEq<IDirectMusic> for IDirectMusic[src]

impl StructuralEq for IDirectMusic[src]

impl StructuralPartialEq for IDirectMusic[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.