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.

73 lines
1005 B

  1. #ifdef __cplusplus
  2. extern "C" {
  3. #endif
  4. #define MIGISOL_INCLUDES
  5. #include "master.h"
  6. #include <undo.h>
  7. #ifdef __cplusplus
  8. }
  9. #endif
  10. #define ARRAYSIZE(x) (sizeof((x))/sizeof((x)[0]))
  11. #include <objbase.h>
  12. #include <initguid.h>
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. VOID
  17. DeferredInit (
  18. VOID
  19. );
  20. PCTSTR
  21. GetUndoDirPath (
  22. VOID
  23. );
  24. typedef enum {
  25. QUICK_CHECK = 0x0000,
  26. VERIFY_CAB = 0x0001,
  27. FAIL_IF_NOT_OLD = 0x0002
  28. } SANITYFLAGS;
  29. UNINSTALLSTATUS
  30. SanityCheck (
  31. IN SANITYFLAGS Flags,
  32. IN PCWSTR VolumeRestriction, OPTIONAL
  33. OUT PULONGLONG DiskSpace OPTIONAL
  34. );
  35. BOOL
  36. DoUninstall (
  37. VOID
  38. );
  39. BOOL
  40. DoCleanup (
  41. VOID
  42. );
  43. BOOL
  44. GetBootDrive(
  45. IN PCTSTR BackUpPath,
  46. IN PCTSTR Path
  47. );
  48. extern TCHAR g_BootDrv;
  49. BOOL
  50. CheckCabForAllFilesAvailability(
  51. IN PCTSTR CabPath
  52. );
  53. #ifdef __cplusplus
  54. }
  55. #endif