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.

58 lines
1.3 KiB

  1. #pragma once
  2. HRESULT
  3. HrRunAnswerFileCleanSection (
  4. IN PCWSTR pszAnswerFileName);
  5. HRESULT
  6. HrSaveInstanceGuid (
  7. IN PCWSTR pszComponentName,
  8. IN const GUID* pguidInstance);
  9. HRESULT
  10. HrLoadInstanceGuid (
  11. IN PCWSTR pszComponentName,
  12. OUT LPGUID pguidInstance);
  13. class CWInfFile;
  14. HRESULT
  15. HrRestoreServiceStartValuesToPreUpgradeSetting (
  16. IN CWInfFile* pwifAnswerFile);
  17. HRESULT HrRemoveEvilIntelWinsockSPs();
  18. HRESULT HrRestoreWinsockProviderOrder (
  19. IN CWInfFile* pwifAnswerFile);
  20. inline
  21. BOOL
  22. IsNetworkUpgradeMode (DWORD dwOperationFlags)
  23. {
  24. return (dwOperationFlags & SETUPOPER_NTUPGRADE) ||
  25. (dwOperationFlags & SETUPOPER_WIN95UPGRADE) ||
  26. (dwOperationFlags & SETUPOPER_BATCH);
  27. }
  28. HRESULT
  29. HrUpgradeOemComponent (
  30. IN PCWSTR pszComponentToUpgrade,
  31. IN PCWSTR pszDllName, IN PCWSTR pszEntryPoint,
  32. IN DWORD dwUpgradeFlag,
  33. IN DWORD dwUpgradeFromBuildNumber,
  34. IN PCWSTR pszAnswerFileName,
  35. IN PCWSTR pszAnswerFileSectionName);
  36. HRESULT
  37. HrUpgradeRouterIfPresent (
  38. IN INetCfg* pNetCfg,
  39. IN CNetInstallInfo* pnii);
  40. extern const WCHAR c_szRouterUpgradeDll[];
  41. extern const CHAR c_szRouterUpgradeFn[];
  42. HRESULT
  43. HrUpgradeTapiServer (
  44. IN HINF hinfAnswerFile);