///////////////////////////////////////////////////////////////////////////// // // Copyright (c) 1997-1999 Microsoft Corporation // // Module Name: // StdAfx.h // // Description: // Pre-compiled header file. // // Author: // Charles Stacy Harris (stacyh) 28-Feb-1997 // Galen Barbee (galenb) July 1998 // // Revision History: // July 1998 GalenB Maaaaaajjjjjjjjjoooooorrrr clean up // // Notes: // ///////////////////////////////////////////////////////////////////////////// #ifndef _STDAFX_H_ #define _STDAFX_H_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 #define STRICT #include #include #include #include #include #include // // Enable cluster debug reporting // #if DBG #define CLRTL_INCLUDE_DEBUG_REPORTING #endif // DBG #if CLUSAPI_VERSION >= 0x0500 #include "ClRtlDbg.h" #define ASSERT _CLRTL_ASSERTE #define ATLASSERT ASSERT #else #undef ASSERT #define ASSERT _ASSERTE #endif #define _ATL_APARTMENT_THREADED #ifdef _DEBUG #define _ATL_DEBUG_QI #define _ATL_DEBUG_REFCOUNT #define _CRTDBG_MAP_ALLOC #endif #ifdef _ATL_DEBUG_REFCOUNT #define Release _DebugRelease #define AddRef _DebugAddRef #endif #include extern CComModule _Module; #include #include #include #include extern "C" { #include #include #include #include #include } #if CLUSAPI_VERSION >= 0x0500 #include #include #else #include "cluswrap.h" #endif // CLUSAPI_VERSION >= 0x0500 #include "InterfaceVer.h" #include "SmartPointer.h" #include "SmartHandle.h" #include "SupportErrorInfo.h" #include "msclus.h" HRESULT HrGetCluster( OUT ISCluster ** ppCluster, IN ISClusRefObject * pClusRefObject ); void ClearIDispatchEnum( IN OUT CComVariant ** ppvarVect ); void ClearVariantEnum( IN OUT CComVariant ** ppvarVect ); #include "TemplateFuncs.h" #endif // _STDAFX_H_