1*3a700b0aSSteve Yin /************************************************************** 2*3a700b0aSSteve Yin * 3*3a700b0aSSteve Yin * Licensed to the Apache Software Foundation (ASF) under one 4*3a700b0aSSteve Yin * or more contributor license agreements. See the NOTICE file 5*3a700b0aSSteve Yin * distributed with this work for additional information 6*3a700b0aSSteve Yin * regarding copyright ownership. The ASF licenses this file 7*3a700b0aSSteve Yin * to you under the Apache License, Version 2.0 (the 8*3a700b0aSSteve Yin * "License"); you may not use this file except in compliance 9*3a700b0aSSteve Yin * with the License. You may obtain a copy of the License at 10*3a700b0aSSteve Yin * 11*3a700b0aSSteve Yin * http://www.apache.org/licenses/LICENSE-2.0 12*3a700b0aSSteve Yin * 13*3a700b0aSSteve Yin * Unless required by applicable law or agreed to in writing, 14*3a700b0aSSteve Yin * software distributed under the License is distributed on an 15*3a700b0aSSteve Yin * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*3a700b0aSSteve Yin * KIND, either express or implied. See the License for the 17*3a700b0aSSteve Yin * specific language governing permissions and limitations 18*3a700b0aSSteve Yin * under the License. 19*3a700b0aSSteve Yin * 20*3a700b0aSSteve Yin *************************************************************/ 215fdc4257SSteve Yin 225fdc4257SSteve Yin // stdafx.h : include file for standard system include files, 235fdc4257SSteve Yin // or project specific include files that are used frequently, 245fdc4257SSteve Yin // but are changed infrequently 255fdc4257SSteve Yin 265fdc4257SSteve Yin #if !defined(AFX_STDAFX_H__5E2F9072_190F_47C7_8003_4D44FD308CB9__INCLUDED_) 275fdc4257SSteve Yin #define AFX_STDAFX_H__5E2F9072_190F_47C7_8003_4D44FD308CB9__INCLUDED_ 285fdc4257SSteve Yin 295fdc4257SSteve Yin #if _MSC_VER > 1000 305fdc4257SSteve Yin #pragma once 315fdc4257SSteve Yin #endif // _MSC_VER > 1000 325fdc4257SSteve Yin 335fdc4257SSteve Yin #define STRICT 345fdc4257SSteve Yin #ifndef _WIN32_WINNT 355fdc4257SSteve Yin #define _WIN32_WINNT 0x0400 365fdc4257SSteve Yin #endif 375fdc4257SSteve Yin //#define _ATL_APARTMENT_THREADED 385fdc4257SSteve Yin 395fdc4257SSteve Yin #include <atlbase.h> 405fdc4257SSteve Yin // You may derive a class from CComModule and use it if you want to override 415fdc4257SSteve Yin // something, but do not change the name of _Module 425fdc4257SSteve Yin extern CComModule _Module; 435fdc4257SSteve Yin #include <atlcom.h> 445fdc4257SSteve Yin 455fdc4257SSteve Yin #define ENTER_PROTECTED_BLOCK \ 465fdc4257SSteve Yin try \ 475fdc4257SSteve Yin { 485fdc4257SSteve Yin 495fdc4257SSteve Yin #define LEAVE_PROTECTED_BLOCK \ 505fdc4257SSteve Yin } \ 515fdc4257SSteve Yin catch(...) \ 525fdc4257SSteve Yin { \ 535fdc4257SSteve Yin return E_FAIL; \ 545fdc4257SSteve Yin } 555fdc4257SSteve Yin 565fdc4257SSteve Yin #define SAFE_SYSFREESTRING(x) { ::SysFreeString(x); x=NULL; } 575fdc4257SSteve Yin 585fdc4257SSteve Yin #include <windows.h> 595fdc4257SSteve Yin #undef OPAQUE 605fdc4257SSteve Yin #include "CheckEnableAccessible.h" 615fdc4257SSteve Yin //{{AFX_INSERT_LOCATION}} 625fdc4257SSteve Yin // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 635fdc4257SSteve Yin 645fdc4257SSteve Yin #endif // !defined(AFX_STDAFX_H__5E2F9072_190F_47C7_8003_4D44FD308CB9__INCLUDED) 65