Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages
guids.h
00001 /* 00002 Copyright (C) 2005 by Jorrit Tyberghein 00003 Frank Richter 00004 00005 This library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Library General Public 00007 License as published by the Free Software Foundation; either 00008 version 2 of the License, or (at your option) any later version. 00009 00010 This library is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Library General Public License for more details. 00014 00015 You should have received a copy of the GNU Library General Public 00016 License along with this library; if not, write to the Free 00017 Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00018 */ 00019 00020 #ifndef __CS_CSPLUGINCOMMON_DIRECTX_GUIDS_H__ 00021 #define __CS_CSPLUGINCOMMON_DIRECTX_GUIDS_H__ 00022 00023 // Must appear first after cssysdef.h 00024 00025 #include "csextern_dx.h" 00026 #include <windows.h> 00027 00028 #ifdef CS_BUILD_SHARED_LIBS 00029 // Modify DEFINE_GUID macro to do DLL importing 00030 #undef DEFINE_GUID 00031 #undef GUID_EXT 00032 #define GUID_EXT extern CS_CSPLUGINCOMMON_DX_EXPORT 00033 00034 #ifdef INITGUID 00035 #define DEFINE_GUID(n,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) GUID_EXT const GUID n = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}} 00036 #else 00037 #define DEFINE_GUID(n,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) GUID_EXT const GUID n 00038 #endif 00039 00040 #endif // CS_BUILD_SHARED_LIBS 00041 00042 #endif // __CS_CSPLUGINCOMMON_DIRECTX_GUIDS_H__
Generated for Crystal Space by doxygen 1.4.4