1//////////////////////////////////////////////////////////////////// 2// Copyright (C) Alexander Telyatnikov, Ivan Keliukh, Yegor Anchishkin, SKIF Software, 1999-2013. Kiev, Ukraine 3// All rights reserved 4// This file was released under the GPLv2 on June 2015. 5//////////////////////////////////////////////////////////////////// 6//+------------------------------------------------------------------------- 7// 8// File: protect_reg.h.h 9// 10// Description: Protection header template file 11//-------------------------------------------------------------------------- 12 13 14 15#define REG_DATE_XOR_0 0x167ff6c9 16#define REG_DATE_XOR_1 0x4f76baac 17 18#define REG_VERSION_XOR_0 0x938bcfa2 19#define REG_VERSION_XOR_1 0xf8d9614c 20 21#define REG_TRIAL_XOR_0 0x87cbadef 22#define REG_TRIAL_XOR_1 0xd8736da6 23 24// TYPE_X 0 - dword 25// TYPE_X 1 - string 26 27#define REG_DATE_TYPE_0 1 28#define REG_DATE_TYPE_1 1 29 30#define REG_VERSION_TYPE_0 1 31#define REG_VERSION_TYPE_1 0 32 33#define REG_TRIAL_TYPE_0 0 34#define REG_TRIAL_TYPE_1 0 35 36#if defined(_NTDDK_) || defined(_NTIFS_) || defined(NT_DEFINED) 37 38%BeginStringDefines% 39#define REG_DATE_KEY_NAME_0 L"\\REGISTRY\\MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Compatibility" 40#define REG_DATE_VAL_NAME_0 L"RUN32" 41#define REG_DATE_KEY_NAME_1 L"\\REGISTRY\\MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\ModuleCompatibility" 42#define REG_DATE_VAL_NAME_1 L"EXPLORER2" 43 44#define REG_VERSION_KEY_NAME_0 L"\\REGISTRY\\MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\WOW\\Compatibility" 45#define REG_VERSION_VAL_NAME_0 L"CMD32" 46#define REG_VERSION_KEY_NAME_1 L"\\REGISTRY\\MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion" 47#define REG_VERSION_VAL_NAME_1 L"InstallTime" 48 49#define REG_TRIAL_KEY_NAME_0 L"\\REGISTRY\\MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer" 50#define REG_TRIAL_VAL_NAME_0 L"SmallIcons" 51#define REG_TRIAL_KEY_NAME_1 L"\\REGISTRY\\MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Nls\\LocaleMapIDs" 52#define REG_TRIAL_VAL_NAME_1 L"CurrentLocaleID" 53%EndStringDefines% 54 55#define XCHAR PWCHAR 56 57#else // defined(_NTDDK_) || defined(_NTIFS_) || defined(NT_DEFINED) 58 59%PlaceStringDefines% 60 61#define XCHAR PCHAR 62 63#endif // defined(_NTDDK_) || defined(_NTIFS_) || defined(NT_DEFINED) and K' 64