Windows NT 4.0 source code leak
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.

30 lines
1016 B

4 years ago
  1. #ifndef __HCLIMITS__
  2. #define __HCLIMITS__
  3. #include <limits.h>
  4. const int iTopicMax = INT_MAX; // Maximum number of topics per RTF file (2,147,483,647)
  5. const int MAX_FOOTNOTE = (16 * 1024); // Largest footnote string
  6. // Lengths of strings in HS structure (Shed hypergraphic)
  7. const int MAX_HOTSPOTNAME = 256; // Largest name in Shed ??? (what name?)
  8. const int MAX_BINDING = 256; // Largest hotspot binding in Shed
  9. const int MAX_CHARSETS = 255; // Maximum number of charsets (one for each font)
  10. const int MAX_WINDOW_NAME = 9; // Largest window name (includes NULL)
  11. const int MAX_WINDOWS = 255; // Largest number of window definitions
  12. const int MAX_HOTSPOT = (16 * 1024); // Maximum length of a hotspot
  13. const int MAX_INCLUDE = 6; // maximum nesting of #includes in .HPJ file
  14. const int MAX_KEY_LETTERS = 5; // Maximum number of keyword footnotes
  15. const int MAX_KEY = 255; // Largest single keyword (1 word)
  16. const int MAX_NAV_BUTTON = 96; // Longest button name for navigation bar
  17. #endif // __HCLIMITS__