You are reading help file online using chmlib.com
|
ISpRecoGrammar::GetGrammarId retrieves the identifier associated with the grammar when the grammar was created.
The grammar ID is set by the application by calling ISpRecoContext::CreateGrammar.
HRESULT GetGrammarId(
ULONGLONG *pullGrammarId
);
Value | Description |
---|---|
S_OK | Function completed successfully. |
E_POINTER | pullGrammarId is invalid or bad. |
The grammar ID will be set in the SPPHRASE object when a recognition is sent to the application (see ISpPhrase::GetPhrase).
You are reading help file online using chmlib.com
|