Source code of Windows XP (NT5)
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.

69 lines
1.3 KiB

  1. #pragma once
  2. #ifndef _BOSCOMP_H
  3. #define _BOSCOMP_H
  4. /* ----------------------------------------------------------------------
  5. Copyright (c) 1998 Microsoft Corporation
  6. Module Name:
  7. boscomp.h
  8. Abstract:
  9. Header file for Windows NT BOS/SBS upgrade DLL
  10. Author:
  11. wnelson : 2 Apr 99
  12. ShaoYin : 9 Sep 99 revised, add support for Exchange Server
  13. Revision History:
  14. ---------------------------------------------------------------------- */
  15. // Required Entry points
  16. BOOL WINAPI BosHardBlockCheck(PCOMPAIBILITYCALLBACK CompatibilityCallback,LPVOID Context);
  17. BOOL WINAPI BosSoftBlockCheck(PCOMPAIBILITYCALLBACK CompatibilityCallback,LPVOID Context);
  18. // Variables
  19. extern HINSTANCE g_hinst;
  20. // BOS/SBS version enum
  21. typedef enum
  22. {
  23. VER_BOS25,
  24. VER_BOS40,
  25. VER_BOS45,
  26. VER_SBS40,
  27. VER_SBS40A,
  28. VER_SBS45,
  29. VER_SBSREST,
  30. VER_POST45,
  31. VER_NONE
  32. } SuiteVersion;
  33. // Exchange version enum
  34. typedef enum
  35. {
  36. EXCHANGE_VER_PRE55SP3,
  37. EXCHANGE_VER_POST55SP3,
  38. EXCHANGE_VER_NONE
  39. } ExchangeVersion;
  40. // Functions
  41. SuiteVersion DetermineInstalledSuite();
  42. ExchangeVersion DetermineExchangeVersion();
  43. void GetSuiteMessage(SuiteVersion eSV, TCHAR* szMsg, UINT nLen);
  44. bool ProductSuiteContains(const TCHAR* szTest);
  45. bool IsBosVersion(SuiteVersion eVersion);
  46. bool IsSbsVersion(SuiteVersion eVersion);
  47. void LoadResString(UINT nRes, TCHAR* szString, UINT nLen);
  48. #endif _BOSCOMP_H