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

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

Implementations

impl IDirectMusicPort[src]

pub unsafe fn PlayBuffer<'a>(
    &self,
    pbuffer: impl IntoParam<'a, IDirectMusicBuffer>
) -> HRESULT
[src]

pub unsafe fn SetReadNotificationHandle<'a>(
    &self,
    hevent: impl IntoParam<'a, HANDLE>
) -> HRESULT
[src]

pub unsafe fn Read<'a>(
    &self,
    pbuffer: impl IntoParam<'a, IDirectMusicBuffer>
) -> HRESULT
[src]

pub unsafe fn DownloadInstrument<'a>(
    &self,
    pinstrument: impl IntoParam<'a, IDirectMusicInstrument>,
    ppdownloadedinstrument: *mut Option<IDirectMusicDownloadedInstrument>,
    pnoteranges: *mut DMUS_NOTERANGE,
    dwnumnoteranges: u32
) -> HRESULT
[src]

pub unsafe fn UnloadInstrument<'a>(
    &self,
    pdownloadedinstrument: impl IntoParam<'a, IDirectMusicDownloadedInstrument>
) -> HRESULT
[src]

pub unsafe fn GetRunningStats(&self, pstats: *mut DMUS_SYNTHSTATS) -> HRESULT[src]

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

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

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

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

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

pub unsafe fn SetChannelPriority(
    &self,
    dwchannelgroup: u32,
    dwchannel: u32,
    dwpriority: u32
) -> HRESULT
[src]

pub unsafe fn GetChannelPriority(
    &self,
    dwchannelgroup: u32,
    dwchannel: u32,
    pdwpriority: *mut u32
) -> HRESULT
[src]

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

pub unsafe fn GetFormat(
    &self,
    pwaveformatex: *mut WAVEFORMATEX,
    pdwwaveformatexsize: *mut u32,
    pdwbuffersize: *mut u32
) -> HRESULT
[src]

Trait Implementations

impl Clone for IDirectMusicPort[src]

impl Debug for IDirectMusicPort[src]

impl Eq for IDirectMusicPort[src]

impl Interface for IDirectMusicPort[src]

type Vtable = IDirectMusicPort_abi

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

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

impl PartialEq<IDirectMusicPort> for IDirectMusicPort[src]

impl StructuralEq for IDirectMusicPort[src]

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