ISpSREngine::SetProprietaryRuleIdState (SAPI 5.4)
Microsoft Speech API 5.4
ISpSREngine::SetProprietaryRuleIdState sets the proprietary grammar rule ID state. This is used to activate or deactivate rules in non-standard proprietary grammars where each rule is identified by an ID.
HRESULT SetProprietaryRuleIdState( void *pvEngineGrammar, DWORD dwRuleId, SPRULESTATE NewState );
[in] The engine's grammar pointer for this grammar, as returned from a previous call to the OnCreateGrammar method.
[in] The engine proprietary grammar rule identifier.
[in] One of the grammar rule states specified in the SPRULESTATE enumeration sequence.