다음을 통해 공유


SPTRANSITIONENTRY (Windows Embedded CE 6.0)

1/6/2010

This structure contains transition entry information.

Syntax

typedef [restricted] struct SPTRANSITIONENTRY{
  SPTRANSITIONID ID;
  SPSTATEHANDLE hNextState;
  BYTE Type;
  char RequiredConfidence;
  struct
  {
    DWORD  fHasProperty;
  };
  float Weight;
  union
  {
    struct
    {
      SPSTATEHANDLE hRuleInitialState;
      SPRULEHANDLE hRule;
      void* pvClientRuleContext;
    };
    struct
    {
      SPWORDHANDLE hWord;
      void* pvClientWordContext;
    };
    struct
    {
      void* pvGrammarCookie;
    };
  };
} SPTRANSITIONENTRY;

Members

  • ID
    Identifier of the transition.
  • hNextState
    Handle to the end state of the transition
  • Type
    Type of transition. Possible types are defined for the SPTRANSITIONTYPE enumeration
  • RequiredConfidence
    Required confidence for the transition.
  • fHasProperty
    Flag to indicate if the transition has an associated semantic property.
  • Weight
    Weight of the transition relative to other transitions out of the same state.
  • hRuleInitialState
    Handle to the initial state of the rule, if the transition type specified in the Type member is SPRULETRANS.
  • hRule
    Handle to the rule, if the transition type specified in the Type member is SPRULETRANS.
  • hWord
    Handle to a word, if the transition type specified in the Type member is SPWORDTRANS.
  • pvGrammarCookie
    Pointer to the grammar cookie needed to associate a text buffer with the transition.

Requirements

Header sapi.h, sapi.idl
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

SAPI Structures