1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 // stdafx.h : include file for standard system include files,
23 //      or project specific include files that are used frequently,
24 //      but are changed infrequently
25 
26 #if !defined(AFX_STDAFX_H__5E2F9072_190F_47C7_8003_4D44FD308CB9__INCLUDED_)
27 #define AFX_STDAFX_H__5E2F9072_190F_47C7_8003_4D44FD308CB9__INCLUDED_
28 
29 #if _MSC_VER > 1000
30 #pragma once
31 #endif // _MSC_VER > 1000
32 
33 #define STRICT
34 #ifndef _WIN32_WINNT
35 #define _WIN32_WINNT 0x0400
36 #endif
37 //#define _ATL_APARTMENT_THREADED
38 
39 #include <atlbase.h>
40 // You may derive a class from CComModule and use it if you want to override
41 // something, but do not change the name of _Module
42 extern CComModule _Module;
43 #include <atlcom.h>
44 
45 #define ENTER_PROTECTED_BLOCK	\
46 	try							\
47 	{
48 
49 #define LEAVE_PROTECTED_BLOCK	\
50 	}							\
51 	catch(...)					\
52 	{							\
53 		return E_FAIL;			\
54 	}
55 
56 #define SAFE_SYSFREESTRING(x) { ::SysFreeString(x); x=NULL; }
57 
58 #include <windows.h>
59 #undef OPAQUE
60 #include "CheckEnableAccessible.h"
61 //{{AFX_INSERT_LOCATION}}
62 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
63 
64 #endif // !defined(AFX_STDAFX_H__5E2F9072_190F_47C7_8003_4D44FD308CB9__INCLUDED)
65