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.

76 lines
1.9 KiB

  1. /**********************************************************************\
  2. * awhelp.h
  3. *
  4. * At Work(TM) Help System Include File
  5. *
  6. * Copyright (C) 1994. Microsoft Corporation. All rights reserved.
  7. *
  8. \**********************************************************************/
  9. /*********************** Version ******************************/
  10. #define AWHELP_VERSION 0x00010000 // At Work Help Version 1.00
  11. /************************ Types *******************************/
  12. typedef struct awsubjectinfo
  13. {
  14. DWORD dwID;
  15. DWORD dwAttributes;
  16. DWORD dwTitle;
  17. DWORD dwMessage;
  18. DWORD dwBitmap;
  19. DWORD dwIcon;
  20. DWORD dwInfo;
  21. DWORD dwRes1;
  22. DWORD dwRes2;
  23. } HELPSUBJECTINFO,FAR *LPHELPSUBJECTINFO;
  24. /*** Attributes when Adding Folders: ***/
  25. #define AWHELPF_HIDDEN 0x80000000
  26. #define AWHELPF_INACTIVE 0x40000000
  27. #define AWHELPF_LARGEMSGS 0x20000000
  28. /****************** General Error Messages **********************/
  29. #define AWHELP_NOERROR 0
  30. #define AWHELP_ERROR 1
  31. #define AWHELP_INVALIDPARAM 2
  32. #define AWHELP_INVALIDFOLDER 3
  33. #define AWHELP_INVALIDTOPIC 4
  34. #define AWHELP_INUSE 5
  35. #define AWHELP_OUTOFMEMORY 6
  36. /********************* Public Routines **************************/
  37. /***** Enabling / Disabling Help *****/
  38. VOID FAR PASCAL Enable(void);
  39. VOID FAR PASCAL Disable(void);
  40. /***** Displaying Help *****/
  41. DWORD FAR PASCAL _loadds AtWorkHelpDisplay(HWND hWnd, DWORD dwSubjectID, DWORD dwData);
  42. /***** Customizing Help ****/
  43. DWORD FAR PASCAL _loadds AtWorkHelpAddSubject(DWORD dwAction,
  44. LPHELPSUBJECTINFO lpFolder,
  45. LPHELPSUBJECTINFO lpTopic);
  46. #ifdef PHOENIX
  47. /***** Querying Status of Help ****/
  48. BOOL FAR PASCAL _loadds AtWorkIsHelpActiveWindow();
  49. #endif /* PHOENIX */
  50. /** Flags for dwAction parameter: **/
  51. #define AWHELP_GETVERSION 0
  52. #define AWHELP_MODIFYATTR 1
  53. #define AWHELP_REGINFOFOLDER 2
  54. #define AWHELP_UNREGINFOFOLDER 3
  55. #define AWHELP_DISMISS 4
  56. /* (eof) */