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.

31 lines
650 B

  1. //----------------------------------------------------------------------------
  2. //
  3. // Help support.
  4. //
  5. // Copyright (C) Microsoft Corporation, 2000-2001.
  6. //
  7. //----------------------------------------------------------------------------
  8. #ifndef _DHHELP_H_
  9. #define _DHHELP_H_
  10. #include <dhtopics.h>
  11. #define HELP_TOPIC_TABLE_OF_CONTENTS 1
  12. enum
  13. {
  14. HELP_SUCCESS,
  15. HELP_NO_SUCH_PAGE,
  16. HELP_FAILURE
  17. };
  18. extern CHAR g_HelpFileName[];
  19. void MakeHelpFileName(PSTR File);
  20. ULONG OpenHelpTopic(ULONG PageConstant);
  21. ULONG OpenHelpIndex(PCSTR IndexText);
  22. ULONG OpenHelpSearch(PCSTR SearchText);
  23. BOOL SpawnHelp(ULONG Topic);
  24. #endif // #ifndef _DHHELP_H_