ReactOS 0.4.16-dev-2279-gc890759
versionansi.c File Reference
#include <k32.h>
Include dependency graph for versionansi.c:

Go to the source code of this file.

Functions

BOOL WINAPI VerifyVersionInfoA (IN LPOSVERSIONINFOEXA lpVersionInformation, IN DWORD dwTypeMask, IN DWORDLONG dwlConditionMask)
 

Function Documentation

◆ VerifyVersionInfoA()

BOOL WINAPI VerifyVersionInfoA ( IN LPOSVERSIONINFOEXA  lpVersionInformation,
IN DWORD  dwTypeMask,
IN DWORDLONG  dwlConditionMask 
)

Definition at line 19 of file versionansi.c.

22{
24
25 /* NOTE: szCSDVersion is ignored, we don't need to convert it to Unicode */
26 viex.dwOSVersionInfoSize = sizeof(viex);
27 viex.dwMajorVersion = lpVersionInformation->dwMajorVersion;
28 viex.dwMinorVersion = lpVersionInformation->dwMinorVersion;
29 viex.dwBuildNumber = lpVersionInformation->dwBuildNumber;
30 viex.dwPlatformId = lpVersionInformation->dwPlatformId;
31 viex.wServicePackMajor = lpVersionInformation->wServicePackMajor;
32 viex.wServicePackMinor = lpVersionInformation->wServicePackMinor;
33 viex.wSuiteMask = lpVersionInformation->wSuiteMask;
34 viex.wProductType = lpVersionInformation->wProductType;
35 viex.wReserved = lpVersionInformation->wReserved;
36 return VerifyVersionInfoW(&viex, dwTypeMask, dwlConditionMask);
37}
BOOL WINAPI VerifyVersionInfoW(IN LPOSVERSIONINFOEXW lpVersionInformation, IN DWORD dwTypeMask, IN DWORDLONG dwlConditionMask)
Definition: version.c:118
ULONG dwMajorVersion
Definition: rtltypes.h:270
ULONG dwMinorVersion
Definition: rtltypes.h:271
ULONG dwOSVersionInfoSize
Definition: rtltypes.h:269
USHORT wServicePackMinor
Definition: rtltypes.h:276
ULONG dwPlatformId
Definition: rtltypes.h:273
UCHAR wProductType
Definition: rtltypes.h:278
USHORT wSuiteMask
Definition: rtltypes.h:277
ULONG dwBuildNumber
Definition: rtltypes.h:272
USHORT wServicePackMajor
Definition: rtltypes.h:275
_In_ DWORD _In_ int _In_ int _In_opt_ LPNLSVERSIONINFO lpVersionInformation
Definition: winnls.h:1267

Referenced by test_VerifyVersionInfo().