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. #include <winnt32p.h>
  3. #include "oemupgex.h"
  4. extern WINNT32_PLUGIN_INIT_INFORMATION_BLOCK g_PlugInInfo;
  5. extern NetUpgradeInfo g_NetUpgradeInfo;
  6. extern HINSTANCE g_hinst;
  7. extern const WCHAR c_szNetUpgradeDllName[];
  8. // Entry points. See winnt32p.h for explanation of these
  9. //
  10. DWORD
  11. Winnt32PluginInit(
  12. BOOL *CancelledFlag,
  13. BOOL *UpgradeFlag,
  14. PCWSTR SourcePath);
  15. DWORD
  16. Winnt32PluginGetPages(
  17. PUINT PageCount1,
  18. LPPROPSHEETPAGE *Pages1,
  19. PUINT PageCount2,
  20. LPPROPSHEETPAGE *Pages2);
  21. DWORD
  22. Winnt32WriteParams(
  23. PCWSTR FileName);
  24. DWORD
  25. Winnt32Cleanup(
  26. VOID);
  27. class CWInfFile;
  28. //Private entry points
  29. BOOL WriteNetworkInfoToAnswerFile (
  30. IN CWInfFile *pwifAnswerFile);
  31. HRESULT HrInitNetUpgrade();
  32. void AbortUpgradeFn(IN DWORD dwErrorCode, IN PCWSTR szMessage);
  33. void AbortUpgradeSz(IN DWORD dwErrorCode, IN PCWSTR szMessage);
  34. void AbortUpgradeId(IN DWORD dwErrorCode, IN DWORD dwResourceId);
  35. BOOL FIsUpgradeAborted();
  36. BOOL FGetConfirmationAndAbortUpgrade(IN PCWSTR szMessage);
  37. BOOL FGetConfirmationAndAbortUpgradeId(IN DWORD dwErrorMessageId);
  38. #ifdef DBG
  39. __declspec(dllexport) void SetNuAfile(CWInfFile* afile);
  40. __declspec(dllexport) void NuDumpAFile();
  41. #endif