Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.5 KiB

  1. /****************************************************
  2. *** lexheader.h
  3. structure to head proofing tool lex files
  4. DougP
  5. -------------
  6. The end user license agreement (EULA) for CSAPI, CHAPI, or CTAPI covers this source file. Do not disclose it to third parties.
  7. You are not entitled to any support or assistance from Microsoft Corporation regarding your use of this program.
  8. 1998 Microsoft Corporation. All rights reserved.
  9. ******************************************************************************/
  10. #ifndef _LEXHEADER_H_
  11. #define _LEXHEADER_H_
  12. #include "vendor.h"
  13. typedef DWORD LEXVERSION; // version
  14. typedef enum
  15. {
  16. lxidSpeller=0x779ff320,
  17. lxidThesaurus,
  18. lxidHyphenator,
  19. lxidGrammar,
  20. lxidMorphology,
  21. lxidLanguageId,
  22. } LEXTYPEID; // lxid
  23. #define maxlidLexHeader 8
  24. typedef struct
  25. {
  26. LEXTYPEID lxid; // should be one of Lex...
  27. LEXVERSION version; // minimum version number of corresponding engine w/
  28. // build number of THIS lex file
  29. VENDORID vendorid; // vendor id (must match engine - from vendor.h)
  30. LANGID lidArray[maxlidLexHeader]; // LID's for this lex
  31. // terminate w/ 0
  32. } LEXHEADER; // lxhead
  33. // The following enumeration was copied from lexdata.h -- aarayas
  34. typedef short FREQPENALTY; //frqpen
  35. enum {
  36. frqpenNormal,
  37. frqpenVery,
  38. frqpenSomewhat,
  39. frqpenInfrequent,
  40. frqpenMax, // needs to be last
  41. };
  42. #endif