다음을 통해 공유


SPLEXICONTYPE (Windows Embedded CE 6.0)

1/6/2010

This enumeration defines the allowed lexicon types. Currently only two types are in use, user (eLEXTYPE_USER) and application (eLEXTYPE_APP). There are ample reserved types for future expansion and many private types for potential private use by applications and engines.

Syntax

typedef enum SPLEXICONTYPE{
  eLEXTYPE_USER = (1L << 0),
  eLEXTYPE_APP = (1L << 1),
  eLEXTYPE_RESERVED1 = (1L << 2),
  eLEXTYPE_RESERVED2 = (1L << 3),
  eLEXTYPE_RESERVED3 = (1L << 4),
  eLEXTYPE_RESERVED4 = (1L << 5),
  eLEXTYPE_RESERVED5 = (1L << 6),
  eLEXTYPE_RESERVED6 = (1L << 7),
  eLEXTYPE_RESERVED7 = (1L << 8),
  eLEXTYPE_RESERVED8 = (1L << 9),
  eLEXTYPE_RESERVED9 = (1L << 10),
  eLEXTYPE_RESERVED10 = (1L << 11),
  eLEXTYPE_PRIVATE1 = (1L << 12),
  eLEXTYPE_PRIVATE2 = (1L << 13),
  eLEXTYPE_PRIVATE3 = (1L << 14),
  eLEXTYPE_PRIVATE4 = (1L << 15),
  eLEXTYPE_PRIVATE5 = (1L << 16),
  eLEXTYPE_PRIVATE6 = (1L << 17),
  eLEXTYPE_PRIVATE7 = (1L << 18),
  eLEXTYPE_PRIVATE8 = (1L << 19),
  eLEXTYPE_PRIVATE9 = (1L << 20),
  eLEXTYPE_PRIVATE10 = (1L << 21),
  eLEXTYPE_PRIVATE11 = (1L << 22),
  eLEXTYPE_PRIVATE12 = (1L << 23),
  eLEXTYPE_PRIVATE13 = (1L << 24),
  eLEXTYPE_PRIVATE14 = (1L << 25),
  eLEXTYPE_PRIVATE15 = (1L << 26),
  eLEXTYPE_PRIVATE16 = (1L << 27),
  eLEXTYPE_PRIVATE17 = (1L << 28),
  eLEXTYPE_PRIVATE18 = (1L << 29),
  eLEXTYPE_PRIVATE19 = (1L << 30),
  eLEXTYPE_PRIVATE20 = (1L << 31)
} SPLEXICONTYPE;

Elements

  • eLEXTYPE_USER
    A unique user lexicon is provided for each Windows user.
  • eLEXTYPE_APP
    One application lexicon is shared by all users.
  • eLEXTYPE_RESERVED1 through eLEXTYPE_RESERVED10
    Reserved for future use.
  • eLEXTYPE_PRIVATE1 through eLEXTYPE_PRIVATE20
    Private lexicons. An engine can call ISpContainerLexicon::AddLexicon with one of these lexicon types to add its private lexicons to the container lexicon for consistent access. If these private types are used, the lexicons must fully comply with the ISpLexicon interface.

Requirements

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

See Also

Reference

SAPI Enumerations