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.

51 lines
1.1 KiB

  1. /**************************************************************************\
  2. *
  3. * Copyright (c) 1999 Microsoft Corporation
  4. *
  5. * Module Name:
  6. *
  7. * OS information
  8. *
  9. * Abstract:
  10. *
  11. * Describes the OS that is running
  12. *
  13. * Revision History:
  14. *
  15. * 05/13/1999 davidx
  16. * Created it.
  17. * 09/08/1999 agodfrey
  18. * Moved to Runtime\OSInfo.hpp
  19. *
  20. \**************************************************************************/
  21. #ifndef _OSINFO_HPP
  22. #define _OSINFO_HPP
  23. namespace GpRuntime
  24. {
  25. //--------------------------------------------------------------------------
  26. // Global OS-related information
  27. // This is initialized in GpRuntime::Initialize()
  28. //--------------------------------------------------------------------------
  29. class OSInfo
  30. {
  31. public:
  32. static DWORD VAllocChunk;
  33. static DWORD PageSize;
  34. static BOOL IsNT;
  35. static DWORD MajorVersion;
  36. static DWORD MinorVersion;
  37. static BOOL HasMMX;
  38. private:
  39. static void Initialize();
  40. friend BOOL GpRuntime::Initialize();
  41. };
  42. }
  43. #endif // !_OSINFO_HPP