ReactOS  0.4.15-dev-1386-g5cb9f87
versionlie.c File Reference
#include <windef.h>
#include <winbase.h>
#include <shimlib.h>
#include <strsafe.h>
#include <setup_shim.inl>
#include <implement_shim.inl>
#include "versionlie.inl"
Include dependency graph for versionlie.c:

Go to the source code of this file.

Classes

struct  VersionLieInfo
 

Macros

#define WIN32_NO_STATUS
 
#define SHIM_NS   Win95VersionLie
 
#define SHIM_NUM_HOOKS   3
 
#define SHIM_SETUP_HOOKS
 
#define SHIM_NS   Win98VersionLie
 
#define SHIM_NUM_HOOKS   3
 
#define SHIM_SETUP_HOOKS
 
#define SHIM_NS   WinNT4SP5VersionLie
 
#define VERSION_INFO   g_WinNT4SP5
 
#define SHIM_NS   Win2000VersionLie
 
#define VERSION_INFO   g_Win2000
 
#define SHIM_NS   Win2000SP1VersionLie
 
#define VERSION_INFO   g_Win2000SP1
 
#define SHIM_NS   Win2000SP2VersionLie
 
#define VERSION_INFO   g_Win2000SP2
 
#define SHIM_NS   Win2000SP3VersionLie
 
#define VERSION_INFO   g_Win2000SP3
 
#define SHIM_NS   WinXPVersionLie
 
#define VERSION_INFO   g_WinXP
 
#define SHIM_NS   WinXPSP1VersionLie
 
#define VERSION_INFO   g_WinXPSP1
 
#define SHIM_NS   WinXPSP2VersionLie
 
#define VERSION_INFO   g_WinXPSP2
 
#define SHIM_NS   WinXPSP3VersionLie
 
#define VERSION_INFO   g_WinXPSP3
 
#define SHIM_NS   Win2k3RTMVersionLie
 
#define VERSION_INFO   g_Win2k3RTM
 
#define SHIM_NS   Win2k3SP1VersionLie
 
#define VERSION_INFO   g_Win2k3SP1
 
#define SHIM_NS   VistaRTMVersionLie
 
#define VERSION_INFO   g_WinVistaRTM
 
#define SHIM_NS   VistaSP1VersionLie
 
#define VERSION_INFO   g_WinVistaSP1
 
#define SHIM_NS   VistaSP2VersionLie
 
#define VERSION_INFO   g_WinVistaSP2
 
#define SHIM_NS   Win7RTMVersionLie
 
#define VERSION_INFO   g_Win7RTM
 
#define SHIM_NS   Win7SP1VersionLie
 
#define VERSION_INFO   g_Win7SP1
 
#define SHIM_NS   Win8RTMVersionLie
 
#define VERSION_INFO   g_Win8RTM
 
#define SHIM_NS   Win81RTMVersionLie
 
#define VERSION_INFO   g_Win81RTM
 
#define SHIM_NS   Win10RTMVersionLie
 
#define VERSION_INFO   g_Win10RTM
 
#define SHIM_NS   Win2k16RTMVersionLie
 
#define VERSION_INFO   g_Win2k16RTM
 
#define SHIM_NS   Win2k19RTMVersionLie
 
#define VERSION_INFO   g_Win2k19RTM
 

Typedefs

typedef struct VersionLieInfo VersionLieInfo
 
typedef BOOL(WINAPIGETVERSIONEXAPROC) (LPOSVERSIONINFOEXA)
 

Functions

BOOL FakeVersion (LPOSVERSIONINFOEXA pResult, VersionLieInfo *pFake)
 
DWORD WINAPI SHIM_OBJ_NAME() APIHook_GetVersion ()
 
BOOL WINAPI SHIM_OBJ_NAME() APIHook_GetVersionExA (LPOSVERSIONINFOEXA lpOsVersionInfo)
 
BOOL WINAPI SHIM_OBJ_NAME() APIHook_GetVersionExW (LPOSVERSIONINFOEXA lpOsVersionInfo)
 

Variables

VersionLieInfo g_Win95 = { 0xC3B60004, 4, 0, 950, VER_PLATFORM_WIN32_WINDOWS, 0, 0 }
 
VersionLieInfo g_WinNT4SP5 = { 0x05650004, 4, 0, 1381, VER_PLATFORM_WIN32_NT, 5, 0 }
 
VersionLieInfo g_Win98 = { 0xC0000A04, 4, 10, 0x040A08AE, VER_PLATFORM_WIN32_WINDOWS, 0, 0 }
 
VersionLieInfo g_Win2000 = { 0x08930005, 5, 0, 2195, VER_PLATFORM_WIN32_NT, 0, 0 }
 
VersionLieInfo g_Win2000SP1 = { 0x08930005, 5, 0, 2195, VER_PLATFORM_WIN32_NT, 1, 0 }
 
VersionLieInfo g_Win2000SP2 = { 0x08930005, 5, 0, 2195, VER_PLATFORM_WIN32_NT, 2, 0 }
 
VersionLieInfo g_Win2000SP3 = { 0x08930005, 5, 0, 2195, VER_PLATFORM_WIN32_NT, 3, 0 }
 
VersionLieInfo g_WinXP = { 0x0a280105, 5, 1, 2600, VER_PLATFORM_WIN32_NT, 0, 0 }
 
VersionLieInfo g_WinXPSP1 = { 0x0a280105, 5, 1, 2600, VER_PLATFORM_WIN32_NT, 1, 0 }
 
VersionLieInfo g_WinXPSP2 = { 0x0a280105, 5, 1, 2600, VER_PLATFORM_WIN32_NT, 2, 0 }
 
VersionLieInfo g_WinXPSP3 = { 0x0a280105, 5, 1, 2600, VER_PLATFORM_WIN32_NT, 3, 0 }
 
VersionLieInfo g_Win2k3RTM = { 0x0ece0205, 5, 2, 3790, VER_PLATFORM_WIN32_NT, 0, 0 }
 
VersionLieInfo g_Win2k3SP1 = { 0x0ece0205, 5, 2, 3790, VER_PLATFORM_WIN32_NT, 1, 0 }
 
VersionLieInfo g_WinVistaRTM = { 0x17700006, 6, 0, 6000, VER_PLATFORM_WIN32_NT, 0, 0 }
 
VersionLieInfo g_WinVistaSP1 = { 0x17710006, 6, 0, 6001, VER_PLATFORM_WIN32_NT, 1, 0 }
 
VersionLieInfo g_WinVistaSP2 = { 0x17720006, 6, 0, 6002, VER_PLATFORM_WIN32_NT, 2, 0 }
 
VersionLieInfo g_Win7RTM = { 0x1db00106, 6, 1, 7600, VER_PLATFORM_WIN32_NT, 0, 0 }
 
VersionLieInfo g_Win7SP1 = { 0x1db10106, 6, 1, 7601, VER_PLATFORM_WIN32_NT, 1, 0 }
 
VersionLieInfo g_Win8RTM = { 0x23f00206, 6, 2, 9200, VER_PLATFORM_WIN32_NT, 0, 0 }
 
VersionLieInfo g_Win81RTM = { 0x25800306, 6, 3, 9600, VER_PLATFORM_WIN32_NT, 0, 0 }
 
VersionLieInfo g_Win10RTM = { 0x47ba000a, 10, 0, 18362, VER_PLATFORM_WIN32_NT, 0, 0 }
 
VersionLieInfo g_Win2k16RTM = { 0x3fab000a, 10, 0, 16299, VER_PLATFORM_WIN32_NT, 0, 0 }
 
VersionLieInfo g_Win2k19RTM = { 0x4563000a, 10, 0, 17763, VER_PLATFORM_WIN32_NT, 0, 0 }
 

Macro Definition Documentation

◆ SHIM_NS [1/23]

#define SHIM_NS   Win95VersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [2/23]

#define SHIM_NS   Win98VersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [3/23]

#define SHIM_NS   WinNT4SP5VersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [4/23]

#define SHIM_NS   Win2000VersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [5/23]

#define SHIM_NS   Win2000SP1VersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [6/23]

#define SHIM_NS   Win2000SP2VersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [7/23]

#define SHIM_NS   Win2000SP3VersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [8/23]

#define SHIM_NS   WinXPVersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [9/23]

#define SHIM_NS   WinXPSP1VersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [10/23]

#define SHIM_NS   WinXPSP2VersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [11/23]

#define SHIM_NS   WinXPSP3VersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [12/23]

#define SHIM_NS   Win2k3RTMVersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [13/23]

#define SHIM_NS   Win2k3SP1VersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [14/23]

#define SHIM_NS   VistaRTMVersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [15/23]

#define SHIM_NS   VistaSP1VersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [16/23]

#define SHIM_NS   VistaSP2VersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [17/23]

#define SHIM_NS   Win7RTMVersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [18/23]

#define SHIM_NS   Win7SP1VersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [19/23]

#define SHIM_NS   Win8RTMVersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [20/23]

#define SHIM_NS   Win81RTMVersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [21/23]

#define SHIM_NS   Win10RTMVersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [22/23]

#define SHIM_NS   Win2k16RTMVersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NS [23/23]

#define SHIM_NS   Win2k19RTMVersionLie

Definition at line 264 of file versionlie.c.

◆ SHIM_NUM_HOOKS [1/2]

#define SHIM_NUM_HOOKS   3

Definition at line 165 of file versionlie.c.

◆ SHIM_NUM_HOOKS [2/2]

#define SHIM_NUM_HOOKS   3

Definition at line 165 of file versionlie.c.

◆ SHIM_SETUP_HOOKS [1/2]

#define SHIM_SETUP_HOOKS
Value:
SHIM_HOOK(0, "KERNEL32.DLL", "GetVersion", SHIM_OBJ_NAME(APIHook_GetVersion)) \
SHIM_HOOK(1, "KERNEL32.DLL", "GetVersionExA", SHIM_OBJ_NAME(APIHook_GetVersionExA)) \
SHIM_HOOK(2, "KERNEL32.DLL", "GetVersionExW", SHIM_OBJ_NAME(APIHook_GetVersionExW))
DWORD WINAPI SHIM_OBJ_NAME() APIHook_GetVersion()
Definition: versionlie.c:103
BOOL WINAPI SHIM_OBJ_NAME() APIHook_GetVersionExW(LPOSVERSIONINFOEXA lpOsVersionInfo)
Definition: versionlie.c:118
BOOL WINAPI SHIM_OBJ_NAME() APIHook_GetVersionExA(LPOSVERSIONINFOEXA lpOsVersionInfo)
Definition: versionlie.c:108

Definition at line 166 of file versionlie.c.

◆ SHIM_SETUP_HOOKS [2/2]

#define SHIM_SETUP_HOOKS
Value:
SHIM_HOOK(2, "KERNEL32.DLL", "GetVersion", SHIM_OBJ_NAME(APIHook_GetVersion)) \
SHIM_HOOK(0, "KERNEL32.DLL", "GetVersionExA", SHIM_OBJ_NAME(APIHook_GetVersionExA)) \
SHIM_HOOK(1, "KERNEL32.DLL", "GetVersionExW", SHIM_OBJ_NAME(APIHook_GetVersionExW))
DWORD WINAPI SHIM_OBJ_NAME() APIHook_GetVersion()
Definition: versionlie.c:103
BOOL WINAPI SHIM_OBJ_NAME() APIHook_GetVersionExW(LPOSVERSIONINFOEXA lpOsVersionInfo)
Definition: versionlie.c:118
BOOL WINAPI SHIM_OBJ_NAME() APIHook_GetVersionExA(LPOSVERSIONINFOEXA lpOsVersionInfo)
Definition: versionlie.c:108

Definition at line 166 of file versionlie.c.

◆ VERSION_INFO [1/21]

#define VERSION_INFO   g_WinNT4SP5

Definition at line 265 of file versionlie.c.

◆ VERSION_INFO [2/21]

#define VERSION_INFO   g_Win2000

Definition at line 265 of file versionlie.c.

◆ VERSION_INFO [3/21]

#define VERSION_INFO   g_Win2000SP1

Definition at line 265 of file versionlie.c.

◆ VERSION_INFO [4/21]

#define VERSION_INFO   g_Win2000SP2

Definition at line 265 of file versionlie.c.

◆ VERSION_INFO [5/21]

#define VERSION_INFO   g_Win2000SP3

Definition at line 265 of file versionlie.c.

◆ VERSION_INFO [6/21]

#define VERSION_INFO   g_WinXP

Definition at line 265 of file versionlie.c.

◆ VERSION_INFO [7/21]

#define VERSION_INFO   g_WinXPSP1

Definition at line 265 of file versionlie.c.

◆ VERSION_INFO [8/21]

#define VERSION_INFO   g_WinXPSP2

Definition at line 265 of file versionlie.c.

◆ VERSION_INFO [9/21]

#define VERSION_INFO   g_WinXPSP3

Definition at line 265 of file versionlie.c.

◆ VERSION_INFO [10/21]

#define VERSION_INFO   g_Win2k3RTM

Definition at line 265 of file versionlie.c.

◆ VERSION_INFO [11/21]

#define VERSION_INFO   g_Win2k3SP1

Definition at line 265 of file versionlie.c.

◆ VERSION_INFO [12/21]

#define VERSION_INFO   g_WinVistaRTM

Definition at line 265 of file versionlie.c.

◆ VERSION_INFO [13/21]

#define VERSION_INFO   g_WinVistaSP1

Definition at line 265 of file versionlie.c.

◆ VERSION_INFO [14/21]

#define VERSION_INFO   g_WinVistaSP2

Definition at line 265 of file versionlie.c.

◆ VERSION_INFO [15/21]

#define VERSION_INFO   g_Win7RTM

Definition at line 265 of file versionlie.c.

◆ VERSION_INFO [16/21]

#define VERSION_INFO   g_Win7SP1

Definition at line 265 of file versionlie.c.

◆ VERSION_INFO [17/21]

#define VERSION_INFO   g_Win8RTM

Definition at line 265 of file versionlie.c.

◆ VERSION_INFO [18/21]

#define VERSION_INFO   g_Win81RTM

Definition at line 265 of file versionlie.c.

◆ VERSION_INFO [19/21]

#define VERSION_INFO   g_Win10RTM

Definition at line 265 of file versionlie.c.

◆ VERSION_INFO [20/21]

#define VERSION_INFO   g_Win2k16RTM

Definition at line 265 of file versionlie.c.

◆ VERSION_INFO [21/21]

#define VERSION_INFO   g_Win2k19RTM

Definition at line 265 of file versionlie.c.

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 8 of file versionlie.c.

Typedef Documentation

◆ GETVERSIONEXAPROC

typedef BOOL(WINAPI* GETVERSIONEXAPROC) (LPOSVERSIONINFOEXA)

Definition at line 97 of file versionlie.c.

◆ VersionLieInfo

Function Documentation

◆ APIHook_GetVersion()

DWORD WINAPI SHIM_OBJ_NAME() APIHook_GetVersion ( )

Definition at line 103 of file versionlie.c.

104 {
105  return g_Win95.FullVersion;
106 }
VersionLieInfo g_Win95
Definition: versionlie.c:28
DWORD FullVersion
Definition: versionlie.c:17

◆ APIHook_GetVersionExA()

BOOL WINAPI SHIM_OBJ_NAME() APIHook_GetVersionExA ( LPOSVERSIONINFOEXA  lpOsVersionInfo)

Definition at line 108 of file versionlie.c.

109 {
110  if (CALL_SHIM(1, GETVERSIONEXAPROC)(lpOsVersionInfo))
111  {
112  return FakeVersion(lpOsVersionInfo, &g_Win95);
113  }
114  return FALSE;
115 }
BOOL(WINAPI * GETVERSIONEXAPROC)(LPOSVERSIONINFOEXA)
Definition: versionlie.c:97
VersionLieInfo g_Win95
Definition: versionlie.c:28
#define FALSE
Definition: types.h:117
BOOL FakeVersion(LPOSVERSIONINFOEXA pResult, VersionLieInfo *pFake)
Definition: versionlie.c:62

◆ APIHook_GetVersionExW()

BOOL WINAPI SHIM_OBJ_NAME() APIHook_GetVersionExW ( LPOSVERSIONINFOEXA  lpOsVersionInfo)

Definition at line 118 of file versionlie.c.

119 {
120  if (CALL_SHIM(2, GETVERSIONEXAPROC)(lpOsVersionInfo))
121  {
122  return FakeVersion(lpOsVersionInfo, &g_Win95);
123  }
124  return FALSE;
125 }
BOOL(WINAPI * GETVERSIONEXAPROC)(LPOSVERSIONINFOEXA)
Definition: versionlie.c:97
VersionLieInfo g_Win95
Definition: versionlie.c:28
#define FALSE
Definition: types.h:117
BOOL FakeVersion(LPOSVERSIONINFOEXA pResult, VersionLieInfo *pFake)
Definition: versionlie.c:62

◆ FakeVersion()

BOOL FakeVersion ( LPOSVERSIONINFOEXA  pResult,
VersionLieInfo pFake 
)

Definition at line 62 of file versionlie.c.

63 {
64  if (pResult->dwOSVersionInfoSize == sizeof(OSVERSIONINFOEXA) || pResult->dwOSVersionInfoSize == sizeof(OSVERSIONINFOA) ||
65  pResult->dwOSVersionInfoSize == sizeof(OSVERSIONINFOEXW) || pResult->dwOSVersionInfoSize == sizeof(OSVERSIONINFOW))
66  {
67  pResult->dwMajorVersion = pFake->dwMajorVersion;
68  pResult->dwMinorVersion = pFake->dwMinorVersion;
69  pResult->dwBuildNumber = pFake->dwBuildNumber;
70  pResult->dwPlatformId = pFake->dwPlatformId;
71  if (pResult->dwOSVersionInfoSize == sizeof(OSVERSIONINFOEXA) || pResult->dwOSVersionInfoSize == sizeof(OSVERSIONINFOA))
72  {
73  if (FAILED(StringCbCopyA(pResult->szCSDVersion, sizeof(pResult->szCSDVersion), pFake->szCSDVersionA)))
74  return FALSE;
76  {
77  pResult->wServicePackMajor = pFake->wServicePackMajor;
78  pResult->wServicePackMinor = pFake->wServicePackMinor;
79  }
80  }
81  else
82  {
83  LPOSVERSIONINFOEXW pResultW = (LPOSVERSIONINFOEXW)pResult;
84  if (FAILED(StringCbCopyW(pResultW->szCSDVersion, sizeof(pResultW->szCSDVersion), pFake->szCSDVersionW)))
85  return FALSE;
87  {
88  pResultW->wServicePackMajor = pFake->wServicePackMajor;
89  pResultW->wServicePackMinor = pFake->wServicePackMinor;
90  }
91  }
92  return TRUE;
93  }
94  return FALSE;
95 }
ULONG dwOSVersionInfoSize
Definition: rtltypes.h:269
#define TRUE
Definition: types.h:120
ULONG dwMajorVersion
Definition: rtltypes.h:256
struct _OSVERSIONINFOEXW * LPOSVERSIONINFOEXW
#define FALSE
Definition: types.h:117
USHORT wServicePackMinor
Definition: rtltypes.h:262
WORD wServicePackMinor
Definition: versionlie.c:23
WORD wServicePackMajor
Definition: versionlie.c:22
STRSAFEAPI StringCbCopyA(STRSAFE_LPSTR pszDest, size_t cbDest, STRSAFE_LPCSTR pszSrc)
Definition: strsafe.h:161
ULONG dwMinorVersion
Definition: rtltypes.h:257
ULONG dwOSVersionInfoSize
Definition: rtltypes.h:255
WCHAR szCSDVersionW[20]
Definition: versionlie.c:25
USHORT wServicePackMajor
Definition: rtltypes.h:261
WCHAR szCSDVersion[128]
Definition: rtltypes.h:274
char szCSDVersionA[20]
Definition: versionlie.c:24
DWORD dwBuildNumber
Definition: versionlie.c:20
CHAR szCSDVersion[128]
Definition: rtltypes.h:260
WORD dwMinorVersion
Definition: versionlie.c:19
USHORT wServicePackMajor
Definition: rtltypes.h:275
WORD dwMajorVersion
Definition: versionlie.c:18
#define VER_PLATFORM_WIN32_WINDOWS
Definition: rtltypes.h:235
ULONG dwPlatformId
Definition: rtltypes.h:259
WORD dwPlatformId
Definition: versionlie.c:21
STRSAFEAPI StringCbCopyW(STRSAFE_LPWSTR pszDest, size_t cbDest, STRSAFE_LPCWSTR pszSrc)
Definition: strsafe.h:166
ULONG dwBuildNumber
Definition: rtltypes.h:258
USHORT wServicePackMinor
Definition: rtltypes.h:276

Referenced by APIHook_GetVersionExA(), and APIHook_GetVersionExW().

Variable Documentation

◆ g_Win10RTM

VersionLieInfo g_Win10RTM = { 0x47ba000a, 10, 0, 18362, VER_PLATFORM_WIN32_NT, 0, 0 }

Definition at line 55 of file versionlie.c.

Referenced by START_TEST().

◆ g_Win2000

VersionLieInfo g_Win2000 = { 0x08930005, 5, 0, 2195, VER_PLATFORM_WIN32_NT, 0, 0 }

Definition at line 32 of file versionlie.c.

Referenced by START_TEST().

◆ g_Win2000SP1

VersionLieInfo g_Win2000SP1 = { 0x08930005, 5, 0, 2195, VER_PLATFORM_WIN32_NT, 1, 0 }

Definition at line 33 of file versionlie.c.

Referenced by START_TEST().

◆ g_Win2000SP2

VersionLieInfo g_Win2000SP2 = { 0x08930005, 5, 0, 2195, VER_PLATFORM_WIN32_NT, 2, 0 }

Definition at line 34 of file versionlie.c.

Referenced by START_TEST().

◆ g_Win2000SP3

VersionLieInfo g_Win2000SP3 = { 0x08930005, 5, 0, 2195, VER_PLATFORM_WIN32_NT, 3, 0 }

Definition at line 35 of file versionlie.c.

Referenced by START_TEST().

◆ g_Win2k16RTM

VersionLieInfo g_Win2k16RTM = { 0x3fab000a, 10, 0, 16299, VER_PLATFORM_WIN32_NT, 0, 0 }

Definition at line 57 of file versionlie.c.

Referenced by START_TEST().

◆ g_Win2k19RTM

VersionLieInfo g_Win2k19RTM = { 0x4563000a, 10, 0, 17763, VER_PLATFORM_WIN32_NT, 0, 0 }

Definition at line 58 of file versionlie.c.

Referenced by START_TEST().

◆ g_Win2k3RTM

VersionLieInfo g_Win2k3RTM = { 0x0ece0205, 5, 2, 3790, VER_PLATFORM_WIN32_NT, 0, 0 }

Definition at line 42 of file versionlie.c.

Referenced by START_TEST().

◆ g_Win2k3SP1

VersionLieInfo g_Win2k3SP1 = { 0x0ece0205, 5, 2, 3790, VER_PLATFORM_WIN32_NT, 1, 0 }

Definition at line 43 of file versionlie.c.

Referenced by START_TEST().

◆ g_Win7RTM

VersionLieInfo g_Win7RTM = { 0x1db00106, 6, 1, 7600, VER_PLATFORM_WIN32_NT, 0, 0 }

Definition at line 49 of file versionlie.c.

Referenced by START_TEST().

◆ g_Win7SP1

VersionLieInfo g_Win7SP1 = { 0x1db10106, 6, 1, 7601, VER_PLATFORM_WIN32_NT, 1, 0 }

Definition at line 50 of file versionlie.c.

Referenced by START_TEST().

◆ g_Win81RTM

VersionLieInfo g_Win81RTM = { 0x25800306, 6, 3, 9600, VER_PLATFORM_WIN32_NT, 0, 0 }

Definition at line 53 of file versionlie.c.

Referenced by START_TEST().

◆ g_Win8RTM

VersionLieInfo g_Win8RTM = { 0x23f00206, 6, 2, 9200, VER_PLATFORM_WIN32_NT, 0, 0 }

Definition at line 52 of file versionlie.c.

Referenced by START_TEST().

◆ g_Win95

VersionLieInfo g_Win95 = { 0xC3B60004, 4, 0, 950, VER_PLATFORM_WIN32_WINDOWS, 0, 0 }

◆ g_Win98

VersionLieInfo g_Win98 = { 0xC0000A04, 4, 10, 0x040A08AE, VER_PLATFORM_WIN32_WINDOWS, 0, 0 }

Definition at line 30 of file versionlie.c.

Referenced by START_TEST().

◆ g_WinNT4SP5

VersionLieInfo g_WinNT4SP5 = { 0x05650004, 4, 0, 1381, VER_PLATFORM_WIN32_NT, 5, 0 }

Definition at line 29 of file versionlie.c.

Referenced by START_TEST().

◆ g_WinVistaRTM

VersionLieInfo g_WinVistaRTM = { 0x17700006, 6, 0, 6000, VER_PLATFORM_WIN32_NT, 0, 0 }

Definition at line 45 of file versionlie.c.

Referenced by START_TEST().

◆ g_WinVistaSP1

VersionLieInfo g_WinVistaSP1 = { 0x17710006, 6, 0, 6001, VER_PLATFORM_WIN32_NT, 1, 0 }

Definition at line 46 of file versionlie.c.

Referenced by START_TEST().

◆ g_WinVistaSP2

VersionLieInfo g_WinVistaSP2 = { 0x17720006, 6, 0, 6002, VER_PLATFORM_WIN32_NT, 2, 0 }

Definition at line 47 of file versionlie.c.

Referenced by START_TEST().

◆ g_WinXP

VersionLieInfo g_WinXP = { 0x0a280105, 5, 1, 2600, VER_PLATFORM_WIN32_NT, 0, 0 }

Definition at line 37 of file versionlie.c.

Referenced by START_TEST().

◆ g_WinXPSP1

VersionLieInfo g_WinXPSP1 = { 0x0a280105, 5, 1, 2600, VER_PLATFORM_WIN32_NT, 1, 0 }

Definition at line 38 of file versionlie.c.

Referenced by START_TEST().

◆ g_WinXPSP2

VersionLieInfo g_WinXPSP2 = { 0x0a280105, 5, 1, 2600, VER_PLATFORM_WIN32_NT, 2, 0 }

Definition at line 39 of file versionlie.c.

Referenced by START_TEST().

◆ g_WinXPSP3

VersionLieInfo g_WinXPSP3 = { 0x0a280105, 5, 1, 2600, VER_PLATFORM_WIN32_NT, 3, 0 }

Definition at line 40 of file versionlie.c.

Referenced by START_TEST().