Exemplo n.º 1
0
 internal void LoadDictation(string pszTopicName, SPLOADOPTIONS options)
 {
     _sapiProxy.Invoke2(delegate
     {
         _sapiGrammar.LoadDictation(pszTopicName, options);
     });
 }
Exemplo n.º 2
0
 internal void LoadCmdFromMemory(IntPtr grammar, SPLOADOPTIONS options)
 {
     _sapiProxy.Invoke2(delegate
     {
         _sapiGrammar.LoadCmdFromMemory(grammar, options);
     });
 }
 public int LoadCmdFromMemory2([NativeTypeName("const SPBINARYGRAMMAR *")] SPBINARYGRAMMAR *pGrammar, SPLOADOPTIONS Options, [NativeTypeName("LPCWSTR")] ushort *pszSharingUri, [NativeTypeName("LPCWSTR")] ushort *pszBaseUri)
 {
     return(((delegate * unmanaged <ISpRecoGrammar2 *, SPBINARYGRAMMAR *, SPLOADOPTIONS, ushort *, ushort *, int>)(lpVtbl[5]))((ISpRecoGrammar2 *)Unsafe.AsPointer(ref this), pGrammar, Options, pszSharingUri, pszBaseUri));
 }
 public int LoadCmdFromFile2([NativeTypeName("LPCWSTR")] ushort *pszFileName, SPLOADOPTIONS Options, [NativeTypeName("LPCWSTR")] ushort *pszSharingUri, [NativeTypeName("LPCWSTR")] ushort *pszBaseUri)
 {
     return(((delegate * unmanaged <ISpRecoGrammar2 *, ushort *, SPLOADOPTIONS, ushort *, ushort *, int>)(lpVtbl[4]))((ISpRecoGrammar2 *)Unsafe.AsPointer(ref this), pszFileName, Options, pszSharingUri, pszBaseUri));
 }
Exemplo n.º 5
0
 internal void LoadCmdFromMemory2(IntPtr grammar, SPLOADOPTIONS options, string sharingUri, string baseUri)
 {
     SpRecoGrammar2.LoadCmdFromMemory2(grammar, options, sharingUri, baseUri);
 }
Exemplo n.º 6
0
 public int LoadDictation([NativeTypeName("LPCWSTR")] ushort *pszTopicName, SPLOADOPTIONS Options)
 {
     return(((delegate * unmanaged <ISpRecoGrammar *, ushort *, SPLOADOPTIONS, int>)(lpVtbl[20]))((ISpRecoGrammar *)Unsafe.AsPointer(ref this), pszTopicName, Options));
 }
Exemplo n.º 7
0
 public int LoadCmdFromProprietaryGrammar([NativeTypeName("const GUID &")] Guid *rguidParam, [NativeTypeName("LPCWSTR")] ushort *pszStringParam, [NativeTypeName("const void *")] void *pvDataPrarm, [NativeTypeName("ULONG")] uint cbDataSize, SPLOADOPTIONS Options)
 {
     return(((delegate * unmanaged <ISpRecoGrammar *, Guid *, ushort *, void *, uint, SPLOADOPTIONS, int>)(lpVtbl[17]))((ISpRecoGrammar *)Unsafe.AsPointer(ref this), rguidParam, pszStringParam, pvDataPrarm, cbDataSize, Options));
 }
Exemplo n.º 8
0
 public int LoadCmdFromMemory([NativeTypeName("const SPBINARYGRAMMAR *")] SPBINARYGRAMMAR *pGrammar, SPLOADOPTIONS Options)
 {
     return(((delegate * unmanaged <ISpRecoGrammar *, SPBINARYGRAMMAR *, SPLOADOPTIONS, int>)(lpVtbl[16]))((ISpRecoGrammar *)Unsafe.AsPointer(ref this), pGrammar, Options));
 }
Exemplo n.º 9
0
 public int LoadCmdFromResource([NativeTypeName("HMODULE")] IntPtr hModule, [NativeTypeName("LPCWSTR")] ushort *pszResourceName, [NativeTypeName("LPCWSTR")] ushort *pszResourceType, [NativeTypeName("WORD")] ushort wLanguage, SPLOADOPTIONS Options)
 {
     return(((delegate * unmanaged <ISpRecoGrammar *, IntPtr, ushort *, ushort *, ushort, SPLOADOPTIONS, int>)(lpVtbl[15]))((ISpRecoGrammar *)Unsafe.AsPointer(ref this), hModule, pszResourceName, pszResourceType, wLanguage, Options));
 }
Exemplo n.º 10
0
 public int LoadCmdFromObject([NativeTypeName("const IID &")] Guid *rcid, [NativeTypeName("LPCWSTR")] ushort *pszGrammarName, SPLOADOPTIONS Options)
 {
     return(((delegate * unmanaged <ISpRecoGrammar *, Guid *, ushort *, SPLOADOPTIONS, int>)(lpVtbl[14]))((ISpRecoGrammar *)Unsafe.AsPointer(ref this), rcid, pszGrammarName, Options));
 }
 public HRESULT LoadCmdFromFile([NativeTypeName("LPCWSTR")] ushort *pszFileName, SPLOADOPTIONS Options)
 {
     return(((delegate * unmanaged <ISpRecoGrammar *, ushort *, SPLOADOPTIONS, int>)(lpVtbl[13]))((ISpRecoGrammar *)Unsafe.AsPointer(ref this), pszFileName, Options));
 }