Leaked source code of windows server 2003
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.

108 lines
1.9 KiB

  1. /*++
  2. Copyright (c) 1989-2000 Microsoft Corporation
  3. Module Name:
  4. CAppHelpWizard.h
  5. Abstract:
  6. Header for the Apphelp Wizard code. CAppHelpWizard.cpp
  7. Author:
  8. kinshu created July 2,2001
  9. --*/
  10. #ifndef __CAPPHELPWIZARD_H
  11. #define __CAPPHELPWIZARD_H
  12. /*++
  13. class CAppHelpWizard: public CShimWizard
  14. Desc: The Apphelp wizard object. We create a object of this class and call
  15. BeginWizard() to start the wizard
  16. Members:
  17. UINT nPresentHelpId: Did we add an app help message into the library during
  18. the course of the wizard invocation?
  19. If yes this will contain the number for that. If not this will be -1
  20. When we remove the apphelp message from the database (say when we do a testrun, then
  21. we add a apphelp message into the database and we have to remove that when we
  22. end testrun), then we again set this to -1
  23. --*/
  24. class CAppHelpWizard: public CShimWizard {
  25. public:
  26. UINT nPresentHelpId;
  27. BOOL
  28. BeginWizard(
  29. HWND hParent,
  30. PDBENTRY pEntry,
  31. PDATABASE m_pDatabase
  32. );
  33. CAppHelpWizard()
  34. {
  35. nPresentHelpId = -1;
  36. }
  37. };
  38. BOOL
  39. CALLBACK
  40. SelectFiles(
  41. HWND hWnd,
  42. UINT uMsg,
  43. WPARAM wParam,
  44. LPARAM lParam
  45. );
  46. BOOL
  47. CALLBACK
  48. GetAppInfo(
  49. HWND hWnd,
  50. UINT uMsg,
  51. WPARAM wParam,
  52. LPARAM lParam
  53. );
  54. BOOL
  55. CALLBACK
  56. GetMessageType (
  57. HWND hWnd,
  58. UINT uMsg,
  59. WPARAM wParam,
  60. LPARAM lParam
  61. );
  62. BOOL
  63. CALLBACK
  64. GetMessageInformation (
  65. HWND hWnd,
  66. UINT uMsg,
  67. WPARAM wParam,
  68. LPARAM lParam
  69. );
  70. BOOL
  71. OnAppHelpTestRun(
  72. HWND hDlg
  73. );
  74. BOOL
  75. OnAppHelpFinish(
  76. HWND hDlg,
  77. BOOL bTestRun = FALSE
  78. );
  79. #endif