#[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§
impl Freeze for ISpVoiceVtbl
impl RefUnwindSafe for ISpVoiceVtbl
impl Send for ISpVoiceVtbl
impl Sync for ISpVoiceVtbl
impl Unpin for ISpVoiceVtbl
impl UnwindSafe for ISpVoiceVtbl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more