pub struct ISpVoiceVtbl {
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 | |
SetOutput | |
GetOutputObjectToken | |
GetOutputStream | |
Pause | |
Resume | |
SetVoice | |
GetVoice | |
Speak | |
SpeakStream | |
GetStatus | |
Skip | |
SetPriority | |
GetPriority | |
SetAlertBoundary | |
GetAlertBoundary | |
SetRate | |
GetRate | |
SetVolume | |
GetVolume | |
WaitUntilDone | |
SetSyncSpeakTimeout | |
GetSyncSpeakTimeout | |
SpeakCompleteEvent | |
IsUISupported | |
DisplayUI | |