include/df/win32.hpp

00001 #ifndef _MT
00002  #define _MT 1
00003 #endif
00004 
00005 #define ENTER_STR "\r\n"
00006 
00007 #define SLASH_CHAR '\\'
00008 #define SLASH_STR "\\"
00009 
00010 #define MSG_BASE 0x400
00011 
00012 #undef GetEnvironmentVariable
00013 #undef GetEnvironmentStrings
00014 #undef SetEnvironmentVariable
00015 #undef ExpandEnvironmentStrings
00016 #undef GetUserName
00017 #undef GetComputerName
00018 #undef PostThreadMessage
00019 #undef MEM_SHARE
00020 #undef RAND_MAX
00021 #undef PostMessage
00022 #undef StartService
00023 #undef IGNORE
00024 #undef FindWindow
00025 #undef CreateWindow
00026 #undef RGB
00027 #undef OPAQUE
00028 #undef TRANSPARENT
00029 #undef ERROR
00030 #undef MAX_COMPUTERNAME_LENGTH
00031 
00032 #undef SEEK_SET
00033 #undef SEEK_CUR
00034 #undef SEEK_END
00035 
00036 #undef HKEY_CLASSES_ROOT   //registry.hpp
00037 #undef HKEY_CURRENT_USER
00038 #undef HKEY_LOCAL_MACHINE
00039 #undef HKEY_USERS
00040 #undef HKEY_PERFORMANCE_DATA
00041 #undef HKEY_CURRENT_CONFIG
00042 #undef HKEY_DYN_DATA
00043 #undef REG_SZ
00044 #undef REG_BINARY
00045 #undef REG_DWORD
00046 #undef REG_EXPAND_SZ
00047 
00048 #undef StartDoc  //Printer.hpp
00049 
00050 #undef MoveFile  //File.hpp
00051 #undef GetTempPath
00052 #undef CopyFile
00053 
00054 #define longlong long long
00055 
00056 #ifdef _INC_STDIO
00057   #define __STDIO__  //see stdc.hpp
00058 #endif
00059 
00060 #define CASE_SENSITIVE FALSE
00061 
00062 /*
00063 #define __cdecl __attribute__((cdecl))
00064 #define _cdecl __cdecl
00065 #define __stdcall __attribute__((stdcall))
00066 #define _stdcall __stdcall
00067 #define __fastcall __attribute__((fastcall))
00068 #define _fastcall __fastcall
00069 #define __noinline __attribute__((noinline))
00070 #define _noinline __noinline
00071 */
00072 #define DLLExport extern "C" __attribute__((dllexport))
00073 #define DLLExportCPP extern __attribute__((dllexport))
00074 #define DLLImport extern "C" __attribute__((dllimport))
00075 #define DLLImportCPP extern __attribute__((dllimport))
00076 
00077 #define OBJ_EXT ".o"
00078 #define LIB_EXT ".a"
00079 #define EXE_EXT ".exe"
00080 #define DLL_EXT ".dll"
00081 

Generated on Mon Mar 5 09:49:14 2007 for DigiForce by  doxygen 1.4.7