Add VER_SET_CONDITION macro
authorGed Murphy <gedmurphy@reactos.org>
Thu, 10 Dec 2009 09:28:48 +0000 (09:28 +0000)
committerGed Murphy <gedmurphy@reactos.org>
Thu, 10 Dec 2009 09:28:48 +0000 (09:28 +0000)
svn path=/trunk/; revision=44516

reactos/include/psdk/winnt.h

index d2e7d0d..149332b 100644 (file)
@@ -4647,6 +4647,8 @@ typedef OSVERSIONINFOA OSVERSIONINFO,*POSVERSIONINFO,*LPOSVERSIONINFO;
 typedef OSVERSIONINFOEXA OSVERSIONINFOEX,*POSVERSIONINFOEX,*LPOSVERSIONINFOEX;
 #endif
 
+#define VER_SET_CONDITION(lc,t,c) ((lc) = VerSetConditionMask((lc),(t),(c)))
+
 #if (_WIN32_WINNT >= 0x0500)
 ULONGLONG WINAPI VerSetConditionMask(ULONGLONG,DWORD,BYTE);
 #endif