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.

56 lines
1.2 KiB

  1. #ifndef _WIZARD_H_
  2. #define _WIZARD_H_
  3. #define _MSOERT_
  4. #define MSOERT_NO_STRPARSE
  5. #define MSOERT_NO_BYTESTM
  6. #define MSOERT_NO_ENUMFMT
  7. #define MSOERT_NO_CLOGFILE
  8. #define MSOERT_NO_LISTOBJS
  9. #include <windows.h>
  10. #include <windowsx.h>
  11. #include <regstr.h>
  12. #include <msoert.h>
  13. #include <tchar.h>
  14. #include <comctrlp.h>
  15. #include <shlobj.h>
  16. #ifdef NT_BUILD
  17. #include <shlobjp.h>
  18. #else
  19. #include <shsemip.h>
  20. #endif
  21. #include "wizdef.h"
  22. #include "ids.h"
  23. // Globals
  24. extern HINSTANCE g_hInstance; // global module instance handle
  25. // Defines
  26. // functions in PROPMGR.C
  27. void InstallUser();
  28. HRESULT InstallMachine();
  29. void HandleV1Uninstall(BOOL fSetup);
  30. void HandleLinks(BOOL fCreate);
  31. BOOL MigrateSettings();
  32. void CopySettings(HKEY hkey, SETUPVER sv, BOOL bUpgrade);
  33. BOOL bVerInfoExists(SETUPVER sv);
  34. HRESULT CreateLink(LPCTSTR lpszPathObj, LPCTSTR lpszArg, LPCTSTR lpszPathLink, LPCTSTR lpszDesc, LPCTSTR lpszIcon, int iIcon);
  35. BOOL UninstallOEMapi();
  36. void UpdateStubInfo(BOOL fInstall);
  37. // functions in UNINSTALL.C
  38. void UnInstallUser();
  39. BOOL UnInstallMachine();
  40. LONG RegDeleteKeyRecursive(HKEY hKey, LPCTSTR lpszSubKey);
  41. void BackMigrateConnSettings();
  42. // functions in MENU.CPP
  43. void DisplayMenu();
  44. #endif // _WIZARD_H_