// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #if !defined(AFX_STDAFX_H__42522DF4_4621_4DC3_8967_8416F636D54C__INCLUDED_) #define AFX_STDAFX_H__42522DF4_4621_4DC3_8967_8416F636D54C__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers // MFC Includes #include // MFC core and standard components #include // MFC extensions #include // MFC Automation classes #include // MFC support for Internet Explorer 4 Common Controls #ifndef _AFX_NO_AFXCMN_SUPPORT #include // MFC support for Windows Common Controls #endif // _AFX_NO_AFXCMN_SUPPORT #include // MFC support for multi-threading // Win32 Includes #include #include // For UNLEN // ATL Includes #include // For CRegKey // ZLib Includes #define __MODULE__ "ALLSRVUI" #include #define ZLIB_SKIP_NEW_REDEF #include #include #include // TCLib Includes #include <..\TCLib\AutoHandle.h> // AGC and AllSrv Includes #include #include ///////////////////////////////////////////////////////////////////////////// // Determine if we're running on Windows NT or not. // // Return Value: *true* if the operation system is Windows NT or // Windows 2000. *false* if the operating system is Windows 95 or Windows 98. // inline bool IsWinNT() { OSVERSIONINFO osvi = {sizeof(osvi)}; GetVersionEx(&osvi); return !!(VER_PLATFORM_WIN32_NT & osvi.dwPlatformId); } ///////////////////////////////////////////////////////////////////////////// // Macros #ifndef sizeofArray /////////////////////////////////////////////////////////////////////////// // Counts the number of elements in a fixed-length array. // Parameters: x - The name of the array of which to compute the size. #define sizeofArray(x) (sizeof(x) / sizeof(x[0])) #endif // !sizeofArray ///////////////////////////////////////////////////////////////////////////// // Allegiance product registry keys // #include ///////////////////////////////////////////////////////////////////////////// // Constants const int c_cMaxChatsInRegistry = 30; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. ///////////////////////////////////////////////////////////////////////////// #endif // !defined(AFX_STDAFX_H__42522DF4_4621_4DC3_8967_8416F636D54C__INCLUDED_)