Share via


SPRULEENTRY (Windows CE 5.0)

Send Feedback

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

SAPI Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.