Source code of Windows XP (NT5)
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.

127 lines
3.6 KiB

  1. /*------------------------------------------------------------------------------
  2. ___ Miscellaneous information ___
  3. ------------------------------------------------------------------------------*/
  4. The Taxonomy table must always have one entry with
  5. o TID = 1
  6. o ENUTitle = Root (recommended, not required)
  7. o PanentTID = 1
  8. o Leaf = False
  9. o SKUs = 0xFFFFFFFF
  10. o Authoring Group = 0
  11. This is the root of the Taxonomy tree. No other record must have TID = 1.
  12. Types table: The HHT DTD needs to change if new Types are added.
  13. /*------------------------------------------------------------------------------
  14. ___ Entries in the DBParameters table ___
  15. ------------------------------------------------------------------------------*/
  16. AuthoringGroup:
  17. 0 to 1000 for Server and Desktop UA, and other core internal UA groups.
  18. 1 Windows Me
  19. 2 Desktop
  20. 3 Server
  21. 1001 to 10000 for other internal Microsoft, eg PSS, MSPress, etc.
  22. 1001 MSPress
  23. 1002 ResourceKit
  24. >= 10001 for OEMs
  25. 10001 OEMs
  26. BrokenLinkWorkingDirN: The directory where the CHMs have been expanded for SKU
  27. N. N is the SKU in hex, eg 10 for 32-bit Datacenter Server. Its basically a copy
  28. of the relevant files and subdirectories of %windir%, but with each CHM
  29. replaced by a directory of the same name, and all the CHM files copied to the
  30. CHM directories.
  31. DBVersion: Whenever you make a change in the schema, bump up the minor version.
  32. The format is Major.Minor (eg 1.7). AuthDatabase.dll refuses to open a database
  33. whose version does not match its own version. Set the revision to the build
  34. date's month/date, eg 228 for Feb 28th.
  35. Lock*: Used for mutual exclusion.
  36. MinimumKeywordValidation: If True, then the user can create keywords containing
  37. Stop Signs, Stop Words, Independent Operator Shortcuts, and Verbal Operators.
  38. ProductId: eg Windows XP
  39. ProductVersion: eg 1.0
  40. VendorString: eg CN=Microsoft Corporation,L=Redmond,S=Washington,C=US
  41. /*------------------------------------------------------------------------------
  42. ___ Tables ___
  43. ------------------------------------------------------------------------------*/
  44. Keys are marked with *.
  45. DBParameters:
  46. * Name
  47. Value
  48. Keywords:
  49. * KID
  50. Keyword
  51. StopSigns:
  52. * SSID
  53. StopSign
  54. Context
  55. 0: Anywhere
  56. 1: At end of word
  57. StopWords:
  58. * SWID
  59. StopWord
  60. Synonyms:
  61. * EID: SynonymSets.EID
  62. * KID: Keywords.KID
  63. SynonymSets:
  64. * EID
  65. Name
  66. Taxonomy:
  67. * TID
  68. ModifiedTime
  69. Comments
  70. ENUTitle
  71. ENUDescription
  72. Type: Types.TypeID
  73. ContentURI
  74. SKUs
  75. 0x0001: 32-bit Standard
  76. 0x0002: 32-bit Professional
  77. 0x0004: 32-bit Server
  78. 0x0008: 32-bit Advanced Server
  79. 0x0010: 32-bit Datacenter Server
  80. 0x0020: 64-bit Professional
  81. 0x0040: 64-bit Advanced Server
  82. 0x0080: 64-bit Datacenter Server
  83. 0x0100: Windows Me
  84. ParentTID: TID of a Node
  85. Leaf
  86. True: Topic
  87. False: Node
  88. BaseFile: The HHC file from which this Node/Topic was created.
  89. Or the HTM file from which this Topic was created.
  90. LocInclude
  91. Text field. Expected values: "ALL", "ENU", "LOC", or a comma separated
  92. list of LCIDs.
  93. Visible
  94. True/False.
  95. Keywords
  96. String in this format: " 512 875 934 " where 512, 875, and 934 are
  97. Keywords.KIDs. KIDs must be sorted. If there are no Keywords, then
  98. String must be "".
  99. OrderUnderParent
  100. Used for ordering Nodes/Topics
  101. AuthoringGroup
  102. IconURI
  103. SubSite
  104. True/False
  105. Username
  106. Types:
  107. * TypeID
  108. Description