ISpVoiceVtbl

Struct ISpVoiceVtbl 

Source
#[repr(C)]
pub struct ISpVoiceVtbl {
Show 26 fields pub parent: ISpEventSourceVtbl, pub SetOutput: unsafe extern "system" fn(This: *mut ISpVoice, pUnkOutput: *mut IUnknown, fAllowFormatChanges: BOOL) -> HRESULT, pub GetOutputObjectToken: unsafe extern "system" fn(This: *mut ISpVoice, ppObjectToken: *mut *mut ISpObjectToken) -> HRESULT, pub GetOutputStream: unsafe extern "system" fn(This: *mut ISpVoice, ppStream: *mut *mut ISpStreamFormat) -> HRESULT, pub Pause: unsafe extern "system" fn(This: *mut ISpVoice) -> HRESULT, pub Resume: unsafe extern "system" fn(This: *mut ISpVoice) -> HRESULT, pub SetVoice: unsafe extern "system" fn(This: *mut ISpVoice, pToken: *mut ISpObjectToken) -> HRESULT, pub GetVoice: unsafe extern "system" fn(This: *mut ISpVoice, ppToken: *mut *mut ISpObjectToken) -> HRESULT, pub Speak: unsafe extern "system" fn(This: *mut ISpVoice, pwcs: LPCWSTR, dwFlags: DWORD, pulStreamNumber: *mut ULONG) -> HRESULT, pub SpeakStream: unsafe extern "system" fn(This: *mut ISpVoice, pStream: *mut IStream, dwFlags: DWORD, pulStreamNumber: *mut ULONG) -> HRESULT, pub GetStatus: unsafe extern "system" fn(This: *mut ISpVoice, pStatus: *mut SPVOICESTATUS, ppszLastBookmark: *mut LPWSTR) -> HRESULT, pub Skip: unsafe extern "system" fn(This: *mut ISpVoice, pItemType: LPCWSTR, lNumItems: c_long, pulNumSkipped: *mut ULONG) -> HRESULT, pub SetPriority: unsafe extern "system" fn(This: *mut ISpVoice, ePriority: SPVPRIORITY) -> HRESULT, pub GetPriority: unsafe extern "system" fn(This: *mut ISpVoice, pePriority: *mut SPVPRIORITY) -> HRESULT, pub SetAlertBoundary: unsafe extern "system" fn(This: *mut ISpVoice, eBoundary: SPEVENTENUM) -> HRESULT, pub GetAlertBoundary: unsafe extern "system" fn(This: *mut ISpVoice, peBoundary: *mut SPEVENTENUM) -> HRESULT, pub SetRate: unsafe extern "system" fn(This: *mut ISpVoice, RateAdjust: c_long) -> HRESULT, pub GetRate: unsafe extern "system" fn(This: *mut ISpVoice, pRateAdjust: *mut c_long) -> HRESULT, pub SetVolume: unsafe extern "system" fn(This: *mut ISpVoice, usVolume: USHORT) -> HRESULT, pub GetVolume: unsafe extern "system" fn(This: *mut ISpVoice, pusVolume: *mut USHORT) -> HRESULT, pub WaitUntilDone: unsafe extern "system" fn(This: *mut ISpVoice, msTimeout: ULONG) -> HRESULT, pub SetSyncSpeakTimeout: unsafe extern "system" fn(This: *mut ISpVoice, msTimeout: ULONG) -> HRESULT, pub GetSyncSpeakTimeout: unsafe extern "system" fn(This: *mut ISpVoice, pmsTimeout: *mut ULONG) -> HRESULT, pub SpeakCompleteEvent: unsafe extern "system" fn(This: *mut ISpVoice) -> HANDLE, pub IsUISupported: unsafe extern "system" fn(This: *mut ISpVoice, pszTypeOfUI: LPCWSTR, pvExtraData: *mut c_void, cbExtraData: ULONG, pfSupported: *mut BOOL) -> HRESULT, pub DisplayUI: unsafe extern "system" fn(This: *mut ISpVoice, hwndParent: HWND, pszTitle: LPCWSTR, pszTypeOfUI: LPCWSTR, pvExtraData: *mut c_void, cbExtraData: ULONG) -> HRESULT,
}

Fields§

§parent: ISpEventSourceVtbl§SetOutput: unsafe extern "system" fn(This: *mut ISpVoice, pUnkOutput: *mut IUnknown, fAllowFormatChanges: BOOL) -> HRESULT§GetOutputObjectToken: unsafe extern "system" fn(This: *mut ISpVoice, ppObjectToken: *mut *mut ISpObjectToken) -> HRESULT§GetOutputStream: unsafe extern "system" fn(This: *mut ISpVoice, ppStream: *mut *mut ISpStreamFormat) -> HRESULT§Pause: unsafe extern "system" fn(This: *mut ISpVoice) -> HRESULT§Resume: unsafe extern "system" fn(This: *mut ISpVoice) -> HRESULT§SetVoice: unsafe extern "system" fn(This: *mut ISpVoice, pToken: *mut ISpObjectToken) -> HRESULT§GetVoice: unsafe extern "system" fn(This: *mut ISpVoice, ppToken: *mut *mut ISpObjectToken) -> HRESULT§Speak: unsafe extern "system" fn(This: *mut ISpVoice, pwcs: LPCWSTR, dwFlags: DWORD, pulStreamNumber: *mut ULONG) -> HRESULT§SpeakStream: unsafe extern "system" fn(This: *mut ISpVoice, pStream: *mut IStream, dwFlags: DWORD, pulStreamNumber: *mut ULONG) -> HRESULT§GetStatus: unsafe extern "system" fn(This: *mut ISpVoice, pStatus: *mut SPVOICESTATUS, ppszLastBookmark: *mut LPWSTR) -> HRESULT§Skip: unsafe extern "system" fn(This: *mut ISpVoice, pItemType: LPCWSTR, lNumItems: c_long, pulNumSkipped: *mut ULONG) -> HRESULT§SetPriority: unsafe extern "system" fn(This: *mut ISpVoice, ePriority: SPVPRIORITY) -> HRESULT§GetPriority: unsafe extern "system" fn(This: *mut ISpVoice, pePriority: *mut SPVPRIORITY) -> HRESULT§SetAlertBoundary: unsafe extern "system" fn(This: *mut ISpVoice, eBoundary: SPEVENTENUM) -> HRESULT§GetAlertBoundary: unsafe extern "system" fn(This: *mut ISpVoice, peBoundary: *mut SPEVENTENUM) -> HRESULT§SetRate: unsafe extern "system" fn(This: *mut ISpVoice, RateAdjust: c_long) -> HRESULT§GetRate: unsafe extern "system" fn(This: *mut ISpVoice, pRateAdjust: *mut c_long) -> HRESULT§SetVolume: unsafe extern "system" fn(This: *mut ISpVoice, usVolume: USHORT) -> HRESULT§GetVolume: unsafe extern "system" fn(This: *mut ISpVoice, pusVolume: *mut USHORT) -> HRESULT§WaitUntilDone: unsafe extern "system" fn(This: *mut ISpVoice, msTimeout: ULONG) -> HRESULT§SetSyncSpeakTimeout: unsafe extern "system" fn(This: *mut ISpVoice, msTimeout: ULONG) -> HRESULT§GetSyncSpeakTimeout: unsafe extern "system" fn(This: *mut ISpVoice, pmsTimeout: *mut ULONG) -> HRESULT§SpeakCompleteEvent: unsafe extern "system" fn(This: *mut ISpVoice) -> HANDLE§IsUISupported: unsafe extern "system" fn(This: *mut ISpVoice, pszTypeOfUI: LPCWSTR, pvExtraData: *mut c_void, cbExtraData: ULONG, pfSupported: *mut BOOL) -> HRESULT§DisplayUI: unsafe extern "system" fn(This: *mut ISpVoice, hwndParent: HWND, pszTitle: LPCWSTR, pszTypeOfUI: LPCWSTR, pvExtraData: *mut c_void, cbExtraData: ULONG) -> HRESULT

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.