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.
66 lines
1.8 KiB
66 lines
1.8 KiB
//+-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
//
|
|
// Copyright (C) Microsoft Corporation, 1997 - 1999
|
|
//
|
|
// File: stdafx.h
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
|
|
// 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
|
|
|
|
// Include the template class(s)
|
|
#include <afxtempl.h>
|
|
|
|
#include <afxwin.h> // MFC core and standard components
|
|
#include <afxext.h> // MFC extensions
|
|
|
|
#ifndef _AFX_NO_OLE_SUPPORT
|
|
#include <afxole.h> // MFC OLE classes
|
|
#include <afxodlgs.h> // MFC OLE dialog classes
|
|
#include <afxdisp.h> // MFC OLE automation classes
|
|
#endif // _AFX_NO_OLE_SUPPORT
|
|
|
|
|
|
#ifndef _AFX_NO_DB_SUPPORT
|
|
#include <afxdb.h> // MFC ODBC database classes
|
|
#endif // _AFX_NO_DB_SUPPORT
|
|
|
|
#ifndef _AFX_NO_DAO_SUPPORT
|
|
#include <afxdao.h> // MFC DAO database classes
|
|
#endif // _AFX_NO_DAO_SUPPORT
|
|
|
|
#ifndef _AFX_NO_AFXCMN_SUPPORT
|
|
#include <afxcmn.h> // MFC support for Windows Common Controls
|
|
#endif // _AFX_NO_AFXCMN_SUPPORT
|
|
|
|
#include <atlbase.h>
|
|
|
|
// Define local message for notification
|
|
#ifndef _WM_READERSTATUSCHANGE
|
|
#define WM_READERSTATUSCHANGE (WM_USER+1)
|
|
#endif
|
|
|
|
#ifdef ISOLATION_AWARE_ENABLED
|
|
#include <shfusion.h>
|
|
|
|
class CThemeContextActivator
|
|
{
|
|
public:
|
|
CThemeContextActivator() : m_ulActivationCookie(0)
|
|
{ SHActivateContext (&m_ulActivationCookie); }
|
|
|
|
~CThemeContextActivator()
|
|
{ SHDeactivateContext (m_ulActivationCookie); }
|
|
|
|
private:
|
|
ULONG_PTR m_ulActivationCookie;
|
|
};
|
|
|
|
#endif
|