Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Value |
S_OK |
E_INVALIDARG |
FAILED(hr) |