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.

72 lines
1.2 KiB

  1. /*
  2. File upgrade.h
  3. Implementation of functions to update the registry when an
  4. NT 4.0 to NT 5.0 upgrade takes place.
  5. Paul Mayfield, 8/11/97
  6. Copyright 1997 Microsoft.
  7. */
  8. #ifndef __Rtrupgrade_h
  9. #define __Rtrupgrade_h
  10. #define UNICODE
  11. #define MPR50 1
  12. #include <nt.h>
  13. #include <ntrtl.h>
  14. #include <nturtl.h>
  15. #include <windows.h>
  16. #include <rtinfo.h>
  17. #include <ipxrtdef.h>
  18. #include <rpc.h>
  19. #include <setupapi.h>
  20. #include <mprapi.h>
  21. #include <mprapip.h>
  22. #include <routprot.h>
  23. #include "utils.h"
  24. #include <ipinfoid.h>
  25. #include <iprtrmib.h>
  26. #include <fltdefs.h>
  27. #include <iprtinfo.h>
  28. #define GUIDLENGTH 45
  29. #define MAX_INTEFACE_NAME_LEN 256
  30. //
  31. // Entry point for doing router upgrades
  32. //
  33. HRESULT
  34. WINAPI
  35. RouterUpgrade (
  36. DWORD dwUpgradeFlag,
  37. DWORD dwUpgradeFromBuildNumber,
  38. PWCHAR szAnswerFileName,
  39. PWCHAR szSectionName);
  40. //
  41. // Functions that do the actual upgrading
  42. //
  43. DWORD
  44. SteelheadToNt5Upgrade (
  45. PWCHAR FileName);
  46. DWORD
  47. IpRipToRouterUpgrade(
  48. PWCHAR FileName);
  49. DWORD
  50. SapToRouterUpgrade(
  51. PWCHAR FileName);
  52. DWORD
  53. DhcpToRouterUpgrade(
  54. PWCHAR FileName);
  55. DWORD
  56. RadiusToRouterUpgrade(
  57. IN PWCHAR pszFile);
  58. #endif