Trait windows::Win32::Media::Speech::ISpShortcut_Impl

pub trait ISpShortcut_Impl: Sized {
    // Required methods
    fn AddShortcut(
        &self,
        pszdisplay: &PCWSTR,
        langid: u16,
        pszspoken: &PCWSTR,
        shtype: SPSHORTCUTTYPE,
    ) -> Result<()>;
    fn RemoveShortcut(
        &self,
        pszdisplay: &PCWSTR,
        langid: u16,
        pszspoken: &PCWSTR,
        shtype: SPSHORTCUTTYPE,
    ) -> Result<()>;
    fn GetShortcuts(
        &self,
        langid: u16,
        pshortcutpairlist: *mut SPSHORTCUTPAIRLIST,
    ) -> Result<()>;
    fn GetGeneration(&self) -> Result<u32>;
    fn GetWordsFromGenerationChange(
        &self,
        pdwgeneration: *mut u32,
        pwordlist: *mut SPWORDLIST,
    ) -> Result<()>;
    fn GetWords(
        &self,
        pdwgeneration: *mut u32,
        pdwcookie: *mut u32,
        pwordlist: *mut SPWORDLIST,
    ) -> Result<()>;
    fn GetShortcutsForGeneration(
        &self,
        pdwgeneration: *mut u32,
        pdwcookie: *mut u32,
        pshortcutpairlist: *mut SPSHORTCUTPAIRLIST,
    ) -> Result<()>;
    fn GetGenerationChange(
        &self,
        pdwgeneration: *mut u32,
        pshortcutpairlist: *mut SPSHORTCUTPAIRLIST,
    ) -> Result<()>;
}

Required Methods§

fn AddShortcut( &self, pszdisplay: &PCWSTR, langid: u16, pszspoken: &PCWSTR, shtype: SPSHORTCUTTYPE, ) -> Result<()>

fn RemoveShortcut( &self, pszdisplay: &PCWSTR, langid: u16, pszspoken: &PCWSTR, shtype: SPSHORTCUTTYPE, ) -> Result<()>

fn GetShortcuts( &self, langid: u16, pshortcutpairlist: *mut SPSHORTCUTPAIRLIST, ) -> Result<()>

fn GetGeneration(&self) -> Result<u32>

fn GetWordsFromGenerationChange( &self, pdwgeneration: *mut u32, pwordlist: *mut SPWORDLIST, ) -> Result<()>

fn GetWords( &self, pdwgeneration: *mut u32, pdwcookie: *mut u32, pwordlist: *mut SPWORDLIST, ) -> Result<()>

fn GetShortcutsForGeneration( &self, pdwgeneration: *mut u32, pdwcookie: *mut u32, pshortcutpairlist: *mut SPSHORTCUTPAIRLIST, ) -> Result<()>

fn GetGenerationChange( &self, pdwgeneration: *mut u32, pshortcutpairlist: *mut SPSHORTCUTPAIRLIST, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§