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.

75 lines
2.2 KiB

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name:
  4. faxSetup.h
  5. Abstract:
  6. Header file for definitions common for the setup
  7. Author:
  8. Iv Garber (IvG) Mar, 2001
  9. Revision History:
  10. --*/
  11. #ifndef _FXSETUP_H_
  12. #define _FXSETUP_H_
  13. #include "msi.h"
  14. typedef INSTALLSTATE (WINAPI *PF_MSIQUERYPRODUCTSTATE) (LPCTSTR szProduct);
  15. #define PRODCODE_SBS5_CLIENT _T("{E0ED877D-EA6A-4274-B0CB-99CD929A92C1}") // SBS 5.0 Client
  16. #define PRODCODE_BETA3_CLIENT _T("{BCF670F5-3034-4D11-9D7C-6092572EFD1E}") // .NET Server Beta 3 Client
  17. #define PRODCODE_SBS5_SERVER _T("{A41E15DA-AD35-43EF-B9CC-FE948F1F04C0}") // SBS 5.0 Server
  18. #define PRODCODE_DOTNET_CLIENT _T("{01E8D7EF-756B-4ABA-827B-36E63DD7CE1D}") // .NET RC1 Client
  19. #define FAX_INF_NAME _T("FXSOCM.INF")
  20. #define WINDOWS_INF_DIR _T("INF")
  21. #define FAX_INF_PATH _T("\\") WINDOWS_INF_DIR _T("\\") FAX_INF_NAME
  22. #define REGKEY_ACTIVE_SETUP_NT _T("SOFTWARE\\Microsoft\\Active Setup\\Installed Components\\{8b15971b-5355-4c82-8c07-7e181ea07608}")
  23. #define REGVAL_ACTIVE_SETUP_PER_USER_APP_UPGRADE _T(".AppUpgrade")
  24. //
  25. // Unattended Answer File Section and Keys
  26. //
  27. #define UNATTEND_FAX_SECTION _T("Fax")
  28. //
  29. // Used in Migrate.DLL to write the fax applications that were installed before the upgrade blocked them.
  30. // Then used in OCM to know what was installed before the Upgrade and behave accordingly ( Where Did My Fax Go )
  31. //
  32. #define UNINSTALLEDFAX_INFKEY _T("UninstalledFaxApps")
  33. //
  34. // Typedef used during the Migration and OCM parts of Upgrade to define which Fax Applications are/were installed
  35. //
  36. typedef enum fxState_UpgradeApp_e
  37. {
  38. FXSTATE_NONE = 0x00,
  39. FXSTATE_SBS5_CLIENT = 0x01, // SBS 5.0 Client
  40. FXSTATE_SBS5_SERVER = 0x02, // SBS 5.0 Server
  41. FXSTATE_BETA3_CLIENT = 0x04, // .NET SB3 Client
  42. FXSTATE_DOTNET_CLIENT = 0x08 // .NET RC1 Client
  43. };
  44. DWORD CheckInstalledFax(IN DWORD dwFaxToCheck, OUT DWORD* pdwFaxInstalled);
  45. DWORD WasSBS2000FaxServerInstalled(bool *pbSBSServer);
  46. DWORD InstallFaxUnattended();
  47. DWORD GetDllVersion(LPCTSTR lpszDllName);
  48. #define PACKVERSION(major,minor) MAKELONG(minor,major)
  49. #endif // _FXSETUP_H_