mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
2.3 KiB
68 lines
2.3 KiB
// stdafx.h : include file for standard system include files,
|
|
// or project specific include files that are used frequently, but
|
|
// are changed infrequently
|
|
//
|
|
|
|
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
|
|
|
|
#ifndef _UNICODE
|
|
#define _UNICODE // Microsoft Windows NT Cluster Administrator
|
|
// Extension DLLs need to be Unicode
|
|
// applications.
|
|
#endif
|
|
|
|
// Choose which threading model you want by commenting or uncommenting
|
|
// the proper constant definition. If you want multi-threading
|
|
// (i.e. "both"), comment both definitions out. Also change the
|
|
// THREADFLAGS_xxx set in the DECLARE_REGISTRY macro invokation in ExtObj.h
|
|
//#define _ATL_SINGLE_THREADED
|
|
#define _ATL_APARTMENT_THREADED
|
|
|
|
// Link against the Microsoft Windows NT Cluster API library.
|
|
#pragma comment(lib, "clusapi.lib")
|
|
|
|
// Link against the Cluster Administrator Extensions library.
|
|
#pragma comment(lib, "cluadmex.lib")
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Common Pragmas
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma warning(disable : 4100) // unreferenced formal parameters
|
|
#pragma warning(disable : 4702) // unreachable code
|
|
#pragma warning(disable : 4711) // function selected for automatic inline expansion
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Include Files
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#include <afxwin.h> // MFC core and standard components
|
|
#include <afxext.h> // MFC extensions
|
|
#include <afxdisp.h>
|
|
#include <afxtempl.h>
|
|
//#include <afxpriv.h> // used for OLE2T T2OLE conversions
|
|
#ifndef _AFX_NO_AFXCMN_SUPPORT
|
|
#include <afxcmn.h> // MFC support for Windows 95 Common Controls
|
|
#endif // _AFX_NO_AFXCMN_SUPPORT
|
|
|
|
#define __AFXCONV_H__
|
|
#include <afxpriv.h>
|
|
#undef __AFXCONV_H__
|
|
|
|
#include <atlbase.h>
|
|
//You may derive a class from CComModule and use it if you want to override
|
|
//something, but do not change the name of _Module
|
|
extern CComModule _Module;
|
|
#include <atlcom.h>
|
|
|
|
#ifndef _CLUSTER_API_
|
|
#include <clusapi.h> // for cluster definitions
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Common Types
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
typedef UINT IDS;
|
|
typedef UINT IDD;
|
|
typedef UINT IDC;
|