Export (0) Print
Expand All

ISpRecoGrammar2::GetRules (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

ISpRecoGrammar2::GetRules

ISpRecoGrammar2::GetRules is used to discover the list of public rules in the grammar.


HRESULT GetRules(
   SPRULE     **ppCoMemRules,
   UINT        *puNumRules
);

Parameters

ppCoMemRules
Returns an array of SPRULE structures.
puNumRules
Returns the number of SPRULE structures in the ppCoMemRules array.

Return values

ValueDescription
S_OKFunction completed successfully.
E_INVALIDARGOne of the parameters is invalid.
FAILED(hr)Appropriate error message.
Show:
© 2014 Microsoft