windows::Win32::Media::Speech

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) -> HRESULT

Implementations§

§

impl ISpVoice_Vtbl

pub const fn new<Identity: ISpVoice_Impl, const OFFSET: isize>() -> Self

pub fn matches(iid: &GUID) -> bool

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.