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.
This structure contains information about a rule.
typedef [restricted] struct SPRULEENTRY{ SPRULEHANDLEhRule; SPSTATEHANDLEhInitialState; DWORDAttributes; void* pvClientContext; void* pvClientGrammarContext;} SPRULEENTRY;
Members
- hRule
Unique handle to the rule. - hInitialState
Handle to the initial state of the rule. - Attributes
Attributes of the rule. Possible values are defined for the SPCFGRULEATTRIBUTES enumeration. - pvClientContext
Pointer to the client rule context that the engine sets using a call to ISpSREngineSite::SetRuleClientContext. - pvClientGrammarContext
Pointer to the client grammar context that identifies the grammar to which the rule belongs. The engine sets this value in the ISpSREngine::OnCreateGrammar method.
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.
See Also
Send Feedback on this topic to the authors