compile insert msWin_GetVersionEx_Equates
/*
   ** Copyright (C) 2013-2023 Revelation Software Inc. All Rights Reserved **
   
   Author   Mr C
   Date     10 May 23
   Purpose  Equates for use with Win32 GetVersionEx function and associated 
            structures.
   
   Comments
   ========
   
   Amended   Date       Reason
   =======   ====       ======
   
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#ifndef _MSWIN_GETVERSIONEX_EQUATES_
#define _MSWIN_GETVERSIONEX_EQUATES_
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   declare function msWin_GetVersionEx
   
///////////////////////////////////////////////////////////////////////////////

   // OSVERSIONINFOEX structure equates
   //
   // typedef struct _OSVERSIONINFOEXW {
   //   DWORD dwOSVersionInfoSize;
   //   DWORD dwMajorVersion;
   //   DWORD dwMinorVersion;
   //   DWORD dwBuildNumber;
   //   DWORD dwPlatformId;
   //   WCHAR szCSDVersion[128];
   //   WORD  wServicePackMajor;
   //   WORD  wServicePackMinor;
   //   WORD  wSuiteMask;
   //   BYTE  wProductType;
   //   BYTE  wReserved;
   // } OSVERSIONINFOEXW;

   equ OSVERSIONINFOEX$ to "MSWIN_OSVERSIONINFOEX"
   
   // OSVERSIONINFOEX struct equates ( for use with MSWIN_OSVERSIONINFOEX DLLSTRUCT )
   equ OVIX_POS_DWOSVERSIONINFOSIZE$         to 1
   equ OVIX_POS_DWMAJORVERSION$              to 2
   equ OVIX_POS_DWMINORVERSION$              to 3
   equ OVIX_POS_DWBUILDNUMBER$               to 4
   equ OVIX_POS_DWPLATFORMID$                to 5
   equ OVIX_POS_SZCSDVERSION$                to 6
   equ OVIX_POS_WSERVICEPACKMAJOR$           to 7
   equ OVIX_POS_WSERVICEPACKMINOR$           to 8
   equ OVIX_POS_WSUITEMASK$                  to 9
   equ OVIX_POS_WPRODUCTTYPE$                to 10
   equ OVIX_POS_WRESERVED$                   to 11
   
   ////////////////////////////////////////////////////////////////////////////
   
   // dwPlatformId equates
      
   equ VER_PLATFORM_WIN32s$                  to 0
   equ VER_PLATFORM_WIN32_WINDOWS$           to 1
   equ VER_PLATFORM_WIN32_NT$                to 2
   
   ////////////////////////////////////////////////////////////////////////////
   
   // wSuiteMask equates
   equ VER_SERVER_NT$                        to 0x80000000
   equ VER_WORKSTATION_NT$                   to 0x40000000
   equ VER_SUITE_SMALLBUSINESS$              to 0x00000001
   equ VER_SUITE_ENTERPRISE$                 to 0x00000002
   equ VER_SUITE_BACKOFFICE$                 to 0x00000004
   equ VER_SUITE_COMMUNICATIONS$             to 0x00000008
   equ VER_SUITE_TERMINAL$                   to 0x00000010
   equ VER_SUITE_SMALLBUSINESS_RESTRICTED$   to 0x00000020
   equ VER_SUITE_EMBEDDEDNT$                 to 0x00000040
   equ VER_SUITE_DATACENTER$                 to 0x00000080
   equ VER_SUITE_SINGLEUSERTS$               to 0x00000100
   equ VER_SUITE_PERSONAL$                   to 0x00000200
   equ VER_SUITE_BLADE$                      to 0x00000400
   equ VER_SUITE_EMBEDDED_RESTRICTED$        to 0x00000800
   equ VER_SUITE_SECURITY_APPLIANCE$         to 0x00001000
   equ VER_SUITE_STORAGE_SERVER$             to 0x00002000
   equ VER_SUITE_COMPUTE_SERVER$             to 0x00004000
   equ VER_SUITE_WH_SERVER$                  to 0x00008000
   equ VER_SUITE_MULTIUSERTS$                to 0x00020000
   
   ////////////////////////////////////////////////////////////////////////////
   
   // wProductType equates
   equ VER_NT_WORKSTATION$                   to 0x0000001
   equ VER_NT_DOMAIN_CONTROLLER$             to 0x0000002
   equ VER_NT_SERVER$                        to 0x0000003
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#endif
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

