Compartir a través de


ISpRecoGrammar2::GetRules (SAPI 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

Value
S_OK
E_INVALIDARG
FAILED(hr)