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.

46 lines
1.1 KiB

  1. /*** hdata.c - global help engine data definitions.
  2. *
  3. * Copyright <C> 1988, Microsoft Corporation
  4. *
  5. * Purpose:
  6. *
  7. * Revision History:
  8. *
  9. * [] 01-Mar-1989 LN Created
  10. *
  11. *************************************************************************/
  12. #include <stdio.h>
  13. #if defined (OS2)
  14. #else
  15. #include <windows.h>
  16. #endif
  17. #include "help.h" /* global (help & user) decl */
  18. #include "helpfile.h" /* help file format definition */
  19. #include "helpsys.h" /* internal (help sys only) decl*/
  20. /*************************************************************************
  21. **
  22. ** Global data
  23. ** BEWARE. The effects of global data on reentrancy should be VERY carefully
  24. ** considered.
  25. **
  26. **************************************************************************
  27. **
  28. ** tbmhFdb[]
  29. ** Table of FDB handles. Non-zero value indicates allocated to open help file.
  30. ** We make this table one larger than it needs to be to save code later on.
  31. */
  32. mh tbmhFdb[MAXFILES+1] = {0};
  33. /*
  34. ** szNil
  35. ** Null string.
  36. */
  37. char szNil[1] = "";
  38. /*
  39. ** cBack
  40. ** count of entries in the help back-trace list
  41. */
  42. ushort cBack = 0; /* Number of Back-List entries */