Adobe.com
Contents Suites Classes Class Index Member Index

AIWinDef.h

Go to the documentation of this file.
00001 #ifndef __AIWinDef__
00002 #define __AIWinDef__
00003 
00004 /*
00005  *               Name:  AIWinDef.h
00006  *       Date:  Started 2010
00007  *
00008  * ADOBE SYSTEMS INCORPORATED
00009  * Copyright 2010 Adobe Systems Incorporated.
00010  * All rights reserved.
00011  *
00012  * NOTICE:  Adobe permits you to use, modify, and distribute this file
00013  * in accordance with the terms of the Adobe license agreement
00014  * accompanying it. If you have received this file from a source other
00015  * than Adobe, then your use, modification, or distribution of it
00016  * requires the prior written permission of Adobe.
00017  *
00018  */
00019 
00020 #ifdef WIN_ENV
00021         #ifndef _INC_WINDOWS    // if windows.h is not included
00022 
00023                 // A way to declare handle similar to how Windows does it
00024                 #define DECLARE_AI_WINDOWS_HANDLE(name) struct name##__; typedef struct name##__ *name
00025 
00026                 // Declare handles that we are interested in
00027                 DECLARE_AI_WINDOWS_HANDLE(HDC);
00028                 DECLARE_AI_WINDOWS_HANDLE(HINSTANCE);
00029                 DECLARE_AI_WINDOWS_HANDLE(HFONT);
00030                 DECLARE_AI_WINDOWS_HANDLE(HWND);
00031 
00032                 #undef DECLARE_AI_WINDOWS_HANDLE
00033 
00034         #endif  //      _INC_WINDOWS
00035 #endif  //      WIN_ENV
00036 
00037 #endif  //      __AIWinDef__


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2016 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks