Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenbasetyps.h
Go to the documentation of this file.
00001 #ifndef _BASETYPS_H 00002 #define _BASETYPS_H 00003 00004 #ifndef __OBJC__ 00005 # ifdef __cplusplus 00006 # define EXTERN_C extern "C" 00007 # else 00008 # define EXTERN_C extern 00009 # endif /* __cplusplus */ 00010 # ifndef _MSC_VER 00011 # ifndef __int64 00012 # define __int64 long long 00013 # endif 00014 # ifndef __int32 00015 # define __int32 long 00016 # endif 00017 # ifndef __int16 00018 # define __int16 int 00019 # endif 00020 # ifndef __int8 00021 # define __int8 char 00022 # endif 00023 # endif 00024 # ifndef __small 00025 # define __small char 00026 # endif 00027 # ifndef __hyper 00028 # define __hyper __int64 00029 # endif 00030 #endif 00031 00032 #define STDMETHODCALLTYPE __stdcall 00033 #define STDMETHODVCALLTYPE __cdecl 00034 #define STDAPICALLTYPE __stdcall 00035 #define STDAPIVCALLTYPE __cdecl 00036 #define STDAPI EXTERN_C HRESULT STDAPICALLTYPE 00037 #define STDAPI_(t) EXTERN_C t STDAPICALLTYPE 00038 #define STDMETHODIMP HRESULT STDMETHODCALLTYPE 00039 #define STDMETHODIMP_(t) t STDMETHODCALLTYPE 00040 #define STDAPIV EXTERN_C HRESULT STDAPIVCALLTYPE 00041 #define STDAPIV_(t) EXTERN_C t STDAPIVCALLTYPE 00042 #define STDMETHODIMPV HRESULT STDMETHODVCALLTYPE 00043 #define STDMETHODIMPV_(t) t STDMETHODVCALLTYPE 00044 00045 #if defined(__cplusplus) && !defined(CINTERFACE) 00046 # define interface struct 00047 # define STDMETHOD(m) virtual HRESULT STDMETHODCALLTYPE m 00048 # define STDMETHOD_(t,m) virtual t STDMETHODCALLTYPE m 00049 # define PURE =0 00050 # define THIS_ 00051 # define THIS void 00052 # define DECLARE_INTERFACE(i) interface i 00053 # define DECLARE_INTERFACE_(i,b) interface i : public b 00054 #else 00055 # define interface struct 00056 # define STDMETHOD(m) HRESULT (STDMETHODCALLTYPE *m) 00057 # define STDMETHOD_(t,m) t (STDMETHODCALLTYPE *m) 00058 # define PURE 00059 # define THIS_ INTERFACE *, 00060 # define THIS INTERFACE * 00061 # ifdef CONST_VTABLE 00062 # define DECLARE_INTERFACE(i) \ 00063 typedef interface i { const struct i##Vtbl *lpVtbl; } i; \ 00064 typedef struct i##Vtbl i##Vtbl; \ 00065 struct i##Vtbl 00066 # else 00067 # define DECLARE_INTERFACE(i) \ 00068 typedef interface i { struct i##Vtbl *lpVtbl; } i; \ 00069 typedef struct i##Vtbl i##Vtbl; \ 00070 struct i##Vtbl 00071 # endif 00072 # define DECLARE_INTERFACE_(i,b) DECLARE_INTERFACE(i) 00073 #endif 00074 00075 #include <guiddef.h> 00076 00077 #ifndef _ERROR_STATUS_T_DEFINED 00078 #define _ERROR_STATUS_T_DEFINED 00079 typedef unsigned long error_status_t; 00080 #endif 00081 00082 #ifndef _WCHAR_T_DEFINED 00083 typedef unsigned short wchar_t; 00084 #define _WCHAR_T_DEFINED 00085 #endif 00086 00087 #endif /* _BASETYPS_H_ */ Generated on Fri May 25 2012 04:29:43 for ReactOS by
1.7.6.1
|