Struct audio_device_windows_sys::Windows::Win32::Audio::IDirectMusicSynth [−][src]
Implementations
impl IDirectMusicSynth
[src]
pub unsafe fn Open(&self, pportparams: *mut DMUS_PORTPARAMS8) -> HRESULT
[src]
pub unsafe fn Close(&self) -> HRESULT
[src]
pub unsafe fn SetNumChannelGroups(&self, dwgroups: u32) -> HRESULT
[src]
pub unsafe fn Download(
&self,
phdownload: *mut HANDLE,
pvdata: *mut c_void,
pbfree: *mut i32
) -> HRESULT
[src]
&self,
phdownload: *mut HANDLE,
pvdata: *mut c_void,
pbfree: *mut i32
) -> HRESULT
pub unsafe fn Unload<'a>(
&self,
hdownload: impl IntoParam<'a, HANDLE>,
lpfreehandle: *mut *mut *mut *mut *mut *mut *mut *mut *mut *mut *mut HRESULT,
huserdata: impl IntoParam<'a, HANDLE>
) -> HRESULT
[src]
&self,
hdownload: impl IntoParam<'a, HANDLE>,
lpfreehandle: *mut *mut *mut *mut *mut *mut *mut *mut *mut *mut *mut HRESULT,
huserdata: impl IntoParam<'a, HANDLE>
) -> HRESULT
pub unsafe fn PlayBuffer(
&self,
rt: i64,
pbbuffer: *mut u8,
cbbuffer: u32
) -> HRESULT
[src]
&self,
rt: i64,
pbbuffer: *mut u8,
cbbuffer: u32
) -> HRESULT
pub unsafe fn GetRunningStats(&self, pstats: *mut DMUS_SYNTHSTATS) -> HRESULT
[src]
pub unsafe fn GetPortCaps(&self, pcaps: *mut DMUS_PORTCAPS) -> HRESULT
[src]
pub unsafe fn Activate<'a>(&self, fenable: impl IntoParam<'a, BOOL>) -> HRESULT
[src]
pub unsafe fn SetSynthSink<'a>(
&self,
psynthsink: impl IntoParam<'a, IDirectMusicSynthSink>
) -> HRESULT
[src]
&self,
psynthsink: impl IntoParam<'a, IDirectMusicSynthSink>
) -> HRESULT
pub unsafe fn Render(
&self,
pbuffer: *mut i16,
dwlength: u32,
llposition: i64
) -> HRESULT
[src]
&self,
pbuffer: *mut i16,
dwlength: u32,
llposition: i64
) -> HRESULT
pub unsafe fn SetChannelPriority(
&self,
dwchannelgroup: u32,
dwchannel: u32,
dwpriority: u32
) -> HRESULT
[src]
&self,
dwchannelgroup: u32,
dwchannel: u32,
dwpriority: u32
) -> HRESULT
pub unsafe fn GetChannelPriority(
&self,
dwchannelgroup: u32,
dwchannel: u32,
pdwpriority: *mut u32
) -> HRESULT
[src]
&self,
dwchannelgroup: u32,
dwchannel: u32,
pdwpriority: *mut u32
) -> HRESULT
pub unsafe fn GetFormat(
&self,
pwaveformatex: *mut WAVEFORMATEX,
pdwwaveformatexsize: *mut u32
) -> HRESULT
[src]
&self,
pwaveformatex: *mut WAVEFORMATEX,
pdwwaveformatexsize: *mut u32
) -> HRESULT
pub unsafe fn GetAppend(&self, pdwappend: *mut u32) -> HRESULT
[src]
Trait Implementations
impl Clone for IDirectMusicSynth
[src]
fn clone(&self) -> IDirectMusicSynth
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for IDirectMusicSynth
[src]
impl Eq for IDirectMusicSynth
[src]
impl From<&'_ IDirectMusicSynth8> for IDirectMusicSynth
[src]
fn from(value: &IDirectMusicSynth8) -> Self
[src]
impl From<IDirectMusicSynth8> for IDirectMusicSynth
[src]
fn from(value: IDirectMusicSynth8) -> Self
[src]
impl Interface for IDirectMusicSynth
[src]
type Vtable = IDirectMusicSynth_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, IDirectMusicSynth> for IDirectMusicSynth8
[src]
fn into_param(self) -> Param<'a, IDirectMusicSynth>
[src]
impl<'a> IntoParam<'a, IDirectMusicSynth> for &'a IDirectMusicSynth8
[src]
fn into_param(self) -> Param<'a, IDirectMusicSynth>
[src]
impl<'a> IntoParam<'a, IUnknown> for IDirectMusicSynth
[src]
fn into_param(self) -> Param<'a, IUnknown>
[src]
impl<'a> IntoParam<'a, IUnknown> for &'a IDirectMusicSynth
[src]
fn into_param(self) -> Param<'a, IUnknown>
[src]
impl PartialEq<IDirectMusicSynth> for IDirectMusicSynth
[src]
fn eq(&self, other: &IDirectMusicSynth) -> bool
[src]
fn ne(&self, other: &IDirectMusicSynth) -> bool
[src]
impl StructuralEq for IDirectMusicSynth
[src]
impl StructuralPartialEq for IDirectMusicSynth
[src]
Auto Trait Implementations
impl RefUnwindSafe for IDirectMusicSynth
impl !Send for IDirectMusicSynth
impl !Sync for IDirectMusicSynth
impl Unpin for IDirectMusicSynth
impl UnwindSafe for IDirectMusicSynth
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>,