[][src]Struct winapi::um::audioclient::IAudioClient

#[repr(C)]pub struct IAudioClient {
    pub lpVtbl: *const IAudioClientVtbl,
}

Fields

lpVtbl: *const IAudioClientVtbl

Implementations

impl IAudioClient[src]

pub unsafe fn Initialize(
    &self,
    ShareMode: AUDCLNT_SHAREMODE,
    StreamFlags: DWORD,
    hnsBufferDuration: REFERENCE_TIME,
    hnsPeriodicity: REFERENCE_TIME,
    pFormat: *const WAVEFORMATEX,
    AudioSessionGuid: LPCGUID
) -> HRESULT
[src]

pub unsafe fn GetBufferSize(&self, pNumBufferFrames: *mut UINT32) -> HRESULT[src]

pub unsafe fn GetStreamLatency(
    &self,
    phnsLatency: *mut REFERENCE_TIME
) -> HRESULT
[src]

pub unsafe fn GetCurrentPadding(
    &self,
    pNumPaddingFrames: *mut UINT32
) -> HRESULT
[src]

pub unsafe fn IsFormatSupported(
    &self,
    ShareMode: AUDCLNT_SHAREMODE,
    pFormat: *const WAVEFORMATEX,
    ppClosestMatch: *mut *mut WAVEFORMATEX
) -> HRESULT
[src]

pub unsafe fn GetMixFormat(
    &self,
    ppDeviceFormat: *mut *mut WAVEFORMATEX
) -> HRESULT
[src]

pub unsafe fn GetDevicePeriod(
    &self,
    phnsDefaultDevicePeriod: *mut REFERENCE_TIME,
    phnsMinimumDevicePeriod: *mut REFERENCE_TIME
) -> HRESULT
[src]

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

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

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

pub unsafe fn SetEventHandle(&self, eventHandle: HANDLE) -> HRESULT[src]

pub unsafe fn GetService(&self, riid: REFIID, ppv: *mut LPVOID) -> HRESULT[src]

Methods from Deref<Target = IUnknown>

pub unsafe fn QueryInterface(
    &self,
    riid: REFIID,
    ppvObject: *mut *mut c_void
) -> HRESULT
[src]

pub unsafe fn AddRef(&self) -> ULONG[src]

pub unsafe fn Release(&self) -> ULONG[src]

Trait Implementations

impl Deref for IAudioClient[src]

type Target = IUnknown

The resulting type after dereferencing.

impl Interface for IAudioClient[src]

Auto Trait Implementations

Blanket Implementations

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<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.