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.

112 lines
2.0 KiB

  1. /*++
  2. 1998 Seagate Software, Inc. All rights reserved.
  3. Module Name:
  4. Uninstal.h
  5. Abstract:
  6. Implementation of uninstall.
  7. Author:
  8. Rohde Wakefield [rohde] 09-Oct-1997
  9. Revision History:
  10. --*/
  11. #ifndef _UNINSTAL_H
  12. #define _UNINSTAL_H
  13. #pragma once
  14. #include <rscln.h>
  15. #include <ladate.h>
  16. class CRsUninstall : public CRsOptCom
  17. {
  18. public:
  19. CRsUninstall();
  20. virtual ~CRsUninstall();
  21. virtual SHORT IdFromString( LPCTSTR SubcomponentId );
  22. virtual LPCTSTR StringFromId( SHORT SubcomponentId );
  23. void EnsureBackupSettings ();
  24. virtual
  25. HBITMAP
  26. QueryImage(
  27. IN SHORT SubcomponentId,
  28. IN SubComponentInfo WhichImage,
  29. IN WORD Width,
  30. IN WORD Height
  31. );
  32. virtual
  33. BOOL
  34. QueryImageEx(
  35. IN SHORT SubcomponentId,
  36. IN OC_QUERY_IMAGE_INFO *pQueryImageInfo,
  37. OUT HBITMAP *phBitmap
  38. );
  39. virtual
  40. DWORD
  41. CalcDiskSpace(
  42. IN SHORT SubcompentId,
  43. IN BOOL AddSpace,
  44. IN HDSKSPC hDiskSpace
  45. );
  46. virtual
  47. BOOL
  48. QueryChangeSelState(
  49. IN SHORT,
  50. IN BOOL,
  51. IN DWORD
  52. );
  53. virtual
  54. LONG
  55. QueryStepCount(
  56. IN SHORT SubcomponentId
  57. );
  58. virtual
  59. DWORD
  60. QueueFileOps(
  61. IN SHORT SubcomponentId,
  62. IN HSPFILEQ hFileQueue
  63. );
  64. virtual
  65. DWORD
  66. AboutToCommitQueue(
  67. IN SHORT SubcomponentId
  68. );
  69. virtual
  70. DWORD
  71. CompleteInstallation(
  72. IN SHORT SubcomponentId
  73. );
  74. virtual
  75. SubComponentState
  76. QueryState(
  77. IN SHORT SubcomponentId
  78. );
  79. CRsClnServer* m_pRsCln;
  80. BOOL m_removeRsData; // TRUE if Remote Storage data should be removed.
  81. // Set by CUninstallCheck.
  82. BOOL m_stopUninstall; // Flag used to say the user has stopped the
  83. // uninstall of the engine files
  84. BOOL m_win2kUpgrade; // Flag used to indicate upgrading from Win2K services
  85. };
  86. #endif