Exemplo n.º 1
0
 public HRESULT AddPronunciation([NativeTypeName("BSTR")] ushort *bstrWord, [NativeTypeName("SpeechLanguageId")] int LangId, SpeechPartOfSpeech PartOfSpeech = SPSUnknown, [NativeTypeName("BSTR")] ushort *bstrPronunciation = null)
 {
     return(((delegate * unmanaged <ISpeechLexicon *, ushort *, int, SpeechPartOfSpeech, ushort *, int>)(lpVtbl[9]))((ISpeechLexicon *)Unsafe.AsPointer(ref this), bstrWord, LangId, PartOfSpeech, bstrPronunciation));
 }
Exemplo n.º 2
0
 public HRESULT RemovePronunciationByPhoneIds([NativeTypeName("BSTR")] ushort *bstrWord, [NativeTypeName("SpeechLanguageId")] int LangId, SpeechPartOfSpeech PartOfSpeech = SPSUnknown, VARIANT *PhoneIds = null)
 {
     return(((delegate * unmanaged <ISpeechLexicon *, ushort *, int, SpeechPartOfSpeech, VARIANT *, int>)(lpVtbl[12]))((ISpeechLexicon *)Unsafe.AsPointer(ref this), bstrWord, LangId, PartOfSpeech, PhoneIds));
 }