--- truecrypt/common/common.h 2018/04/24 16:57:29 1.1.1.9 +++ truecrypt/common/common.h 2018/04/24 17:06:20 1.1.1.12 @@ -1,9 +1,9 @@ /* - Copyright (c) 2005-2008 TrueCrypt Foundation. All rights reserved. + Copyright (c) 2005-2009 TrueCrypt Developers Association. All rights reserved. - Governed by the TrueCrypt License 2.6 the full text of which is contained - in the file License.txt included in TrueCrypt binary and source code - distribution packages. + Governed by the TrueCrypt License 2.8 the full text of which is contained in + the file License.txt included in TrueCrypt binary and source code distribution + packages. */ #ifndef COMMON_H @@ -11,6 +11,27 @@ #include "Crypto.h" +typedef enum +{ + // IMPORTANT: If you add a new item here, update IsOSVersionAtLeast(). + + WIN_UNKNOWN = 0, + WIN_31, + WIN_95, + WIN_98, + WIN_ME, + WIN_NT3, + WIN_NT4, + WIN_2000, + WIN_XP, + WIN_XP64, + WIN_SERVER_2003, + WIN_VISTA, + WIN_SERVER_2008, + WIN_7, + WIN_SERVER_2008_R2, +} OSVersionEnum; + /* Volume types */ enum {