Struct ISpVoice_Vtbl
#[repr(C)]pub struct ISpVoice_Vtbl {Show 26 fields
pub base__: ISpEventSource_Vtbl,
pub SetOutput: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: BOOL) -> HRESULT,
pub GetOutputObjectToken: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub GetOutputStream: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub Pause: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub Resume: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
pub SetVoice: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub GetVoice: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub Speak: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: *mut u32) -> HRESULT,
pub SpeakStream: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *mut u32) -> HRESULT,
pub GetStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut SPVOICESTATUS, _: *mut PWSTR) -> HRESULT,
pub Skip: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: i32, _: *mut u32) -> HRESULT,
pub SetPriority: unsafe extern "system" fn(_: *mut c_void, _: SPVPRIORITY) -> HRESULT,
pub GetPriority: unsafe extern "system" fn(_: *mut c_void, _: *mut SPVPRIORITY) -> HRESULT,
pub SetAlertBoundary: unsafe extern "system" fn(_: *mut c_void, _: SPEVENTENUM) -> HRESULT,
pub GetAlertBoundary: unsafe extern "system" fn(_: *mut c_void, _: *mut SPEVENTENUM) -> HRESULT,
pub SetRate: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT,
pub GetRate: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT,
pub SetVolume: unsafe extern "system" fn(_: *mut c_void, _: u16) -> HRESULT,
pub GetVolume: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT,
pub WaitUntilDone: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub SetSyncSpeakTimeout: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT,
pub GetSyncSpeakTimeout: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub SpeakCompleteEvent: unsafe extern "system" fn(_: *mut c_void) -> HANDLE,
pub IsUISupported: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut c_void, _: u32, _: *mut BOOL) -> HRESULT,
pub DisplayUI: unsafe extern "system" fn(_: *mut c_void, _: HWND, _: PCWSTR, _: PCWSTR, _: *mut c_void, _: u32) -> HRESULT,
}Fields§
§base__: ISpEventSource_Vtbl§SetOutput: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: BOOL) -> HRESULT§GetOutputObjectToken: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetOutputStream: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§Pause: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Resume: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§SetVoice: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§GetVoice: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§Speak: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: u32, _: *mut u32) -> HRESULT§SpeakStream: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: *mut u32) -> HRESULT§GetStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut SPVOICESTATUS, _: *mut PWSTR) -> HRESULT§Skip: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: i32, _: *mut u32) -> HRESULT§SetPriority: unsafe extern "system" fn(_: *mut c_void, _: SPVPRIORITY) -> HRESULT§GetPriority: unsafe extern "system" fn(_: *mut c_void, _: *mut SPVPRIORITY) -> HRESULT§SetAlertBoundary: unsafe extern "system" fn(_: *mut c_void, _: SPEVENTENUM) -> HRESULT§GetAlertBoundary: unsafe extern "system" fn(_: *mut c_void, _: *mut SPEVENTENUM) -> HRESULT§SetRate: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§GetRate: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetVolume: unsafe extern "system" fn(_: *mut c_void, _: u16) -> HRESULT§GetVolume: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT§WaitUntilDone: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§SetSyncSpeakTimeout: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§GetSyncSpeakTimeout: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§SpeakCompleteEvent: unsafe extern "system" fn(_: *mut c_void) -> HANDLE§IsUISupported: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut c_void, _: u32, _: *mut BOOL) -> HRESULT§DisplayUI: unsafe extern "system" fn(_: *mut c_void, _: HWND, _: PCWSTR, _: PCWSTR, _: *mut c_void, _: u32) -> HRESULTImplementations§
§impl ISpVoice_Vtbl
impl ISpVoice_Vtbl
pub const fn new<Identity: ISpVoice_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ISpVoice_Vtbl
impl RefUnwindSafe for ISpVoice_Vtbl
impl Send for ISpVoice_Vtbl
impl Sync for ISpVoice_Vtbl
impl Unpin for ISpVoice_Vtbl
impl UnwindSafe for ISpVoice_Vtbl
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