00001
00048 #if !defined(NOWINFIXUP) && defined(WIN32)
00049
00050
00051
00052
00053
00054
00055 #ifndef __cplusplus
00056 #define inline __inline // Inline keyword only good for C++, __inline good for C
00057 #endif
00058
00059 #ifdef BANDINFO // Obsolete GDI escape
00060 #undef BANDINFO
00061 #endif
00062
00063
00064
00065 #ifdef GetMessage
00066 #undef GetMessage
00067 inline BOOL GetMessage (LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax) { return (GetMessageA(lpMsg,hWnd,wMsgFilterMin,wMsgFilterMax)); }
00068 #endif
00069
00070 #ifdef GetObject
00071 #undef GetObject
00072 inline int GetObject (HGDIOBJ pDesc, int riid, LPVOID ppv) { return (GetObjectA(pDesc,riid,ppv)); }
00073 #endif
00074
00075 #ifdef GetForm
00076 #undef GetForm
00077 inline int GetForm (HANDLE hPrinter, LPSTR pFormName, DWORD Level, LPBYTE pForm, DWORD cbBuf, LPDWORD pcbNeeded) { return (GetFormA(hPrinter,pFormName,Level,pForm,cbBuf,pcbNeeded)); }
00078 #endif
00079
00080 #ifdef GetUserName
00081 #undef GetUserName
00082 inline BOOL GetUserName ( LPTSTR lpBuffer, LPDWORD nSize) { return (GetUserNameA(lpBuffer, nSize)); }
00083 #endif
00084
00085
00086
00087
00088
00089
00090 #endif // NOWINFIXUP && WIN32