windows::Win32::Media::Speech

Struct ISpSREngineSite_Vtbl

#[repr(C)]
pub struct ISpSREngineSite_Vtbl {
Show 19 fields pub base__: IUnknown_Vtbl, pub Read: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: u32, _: *mut u32) -> HRESULT, pub DataAvailable: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub SetBufferNotifySize: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub ParseFromTransitions: unsafe extern "system" fn(_: *mut c_void, _: *const SPPARSEINFO, _: *mut *mut c_void) -> HRESULT, pub Recognition: unsafe extern "system" fn(_: *mut c_void, _: *const SPRECORESULTINFO) -> HRESULT, pub AddEvent: unsafe extern "system" fn(_: *mut c_void, _: *const SPEVENT, _: SPRECOCONTEXTHANDLE) -> HRESULT, pub Synchronize: unsafe extern "system" fn(_: *mut c_void, _: u64) -> HRESULT, pub GetWordInfo: unsafe extern "system" fn(_: *mut c_void, _: *mut SPWORDENTRY, _: SPWORDINFOOPT) -> HRESULT, pub SetWordClientContext: unsafe extern "system" fn(_: *mut c_void, _: SPWORDHANDLE, _: *const c_void) -> HRESULT, pub GetRuleInfo: unsafe extern "system" fn(_: *mut c_void, _: *mut SPRULEENTRY, _: SPRULEINFOOPT) -> HRESULT, pub SetRuleClientContext: unsafe extern "system" fn(_: *mut c_void, _: SPRULEHANDLE, _: *const c_void) -> HRESULT, pub GetStateInfo: unsafe extern "system" fn(_: *mut c_void, _: SPSTATEHANDLE, _: *mut SPSTATEINFO) -> HRESULT, pub GetResource: unsafe extern "system" fn(_: *mut c_void, _: SPRULEHANDLE, _: PCWSTR, _: *mut PWSTR) -> HRESULT, pub GetTransitionProperty: unsafe extern "system" fn(_: *mut c_void, _: SPTRANSITIONID, _: *mut *mut SPTRANSITIONPROPERTY) -> HRESULT, pub IsAlternate: unsafe extern "system" fn(_: *mut c_void, _: SPRULEHANDLE, _: SPRULEHANDLE) -> HRESULT, pub GetMaxAlternates: unsafe extern "system" fn(_: *mut c_void, _: SPRULEHANDLE, _: *mut u32) -> HRESULT, pub GetContextMaxAlternates: unsafe extern "system" fn(_: *mut c_void, _: SPRECOCONTEXTHANDLE, _: *mut u32) -> HRESULT, pub UpdateRecoPos: unsafe extern "system" fn(_: *mut c_void, _: u64) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§Read: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: u32, _: *mut u32) -> HRESULT§DataAvailable: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§SetBufferNotifySize: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§ParseFromTransitions: unsafe extern "system" fn(_: *mut c_void, _: *const SPPARSEINFO, _: *mut *mut c_void) -> HRESULT§Recognition: unsafe extern "system" fn(_: *mut c_void, _: *const SPRECORESULTINFO) -> HRESULT§AddEvent: unsafe extern "system" fn(_: *mut c_void, _: *const SPEVENT, _: SPRECOCONTEXTHANDLE) -> HRESULT§Synchronize: unsafe extern "system" fn(_: *mut c_void, _: u64) -> HRESULT§GetWordInfo: unsafe extern "system" fn(_: *mut c_void, _: *mut SPWORDENTRY, _: SPWORDINFOOPT) -> HRESULT§SetWordClientContext: unsafe extern "system" fn(_: *mut c_void, _: SPWORDHANDLE, _: *const c_void) -> HRESULT§GetRuleInfo: unsafe extern "system" fn(_: *mut c_void, _: *mut SPRULEENTRY, _: SPRULEINFOOPT) -> HRESULT§SetRuleClientContext: unsafe extern "system" fn(_: *mut c_void, _: SPRULEHANDLE, _: *const c_void) -> HRESULT§GetStateInfo: unsafe extern "system" fn(_: *mut c_void, _: SPSTATEHANDLE, _: *mut SPSTATEINFO) -> HRESULT§GetResource: unsafe extern "system" fn(_: *mut c_void, _: SPRULEHANDLE, _: PCWSTR, _: *mut PWSTR) -> HRESULT§GetTransitionProperty: unsafe extern "system" fn(_: *mut c_void, _: SPTRANSITIONID, _: *mut *mut SPTRANSITIONPROPERTY) -> HRESULT§IsAlternate: unsafe extern "system" fn(_: *mut c_void, _: SPRULEHANDLE, _: SPRULEHANDLE) -> HRESULT§GetMaxAlternates: unsafe extern "system" fn(_: *mut c_void, _: SPRULEHANDLE, _: *mut u32) -> HRESULT§GetContextMaxAlternates: unsafe extern "system" fn(_: *mut c_void, _: SPRECOCONTEXTHANDLE, _: *mut u32) -> HRESULT§UpdateRecoPos: unsafe extern "system" fn(_: *mut c_void, _: u64) -> HRESULT

Implementations§

§

impl ISpSREngineSite_Vtbl

pub const fn new<Identity: ISpSREngineSite_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.