~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Wine Cross Reference
wine/include/basetyps.h

Version: ~ [ wine-1.1.33 ] ~ [ wine-1.1.32 ] ~ [ wine-1.1.31 ] ~ [ wine-1.1.30 ] ~ [ wine-1.1.29 ] ~ [ wine-1.1.28 ] ~ [ wine-1.1.27 ] ~ [ wine-1.1.26 ] ~ [ wine-1.1.25 ] ~ [ wine-1.1.24 ] ~ [ wine-1.1.23 ] ~ [ wine-1.1.22 ] ~ [ wine-1.1.21 ] ~ [ wine-1.1.20 ] ~ [ wine-1.1.19 ] ~ [ wine-1.1.18 ] ~ [ wine-1.1.17 ] ~ [ wine-1.1.16 ] ~ [ wine-1.1.15 ] ~ [ wine-1.1.14 ] ~ [ wine-1.1.13 ] ~ [ wine-1.1.12 ] ~ [ wine-1.1.11 ] ~ [ wine-1.1.10 ] ~ [ wine-1.1.9 ] ~ [ wine-1.1.8 ] ~ [ wine-1.1.7 ] ~ [ wine-1.0.1 ] ~ [ wine-1.1.6 ] ~ [ wine-1.1.5 ] ~ [ wine-1.1.4 ] ~ [ wine-1.1.3 ] ~ [ wine-1.1.2 ] ~ [ wine-1.1.1 ] ~ [ wine-1.1.0 ] ~ [ wine-1.0 ] ~

  1 /*
  2  * Copyright (C) 1998 Anders Norlander
  3  * Copyright (C) 2005 Steven Edwards
  4  *
  5  * This library is free software; you can redistribute it and/or
  6  * modify it under the terms of the GNU Lesser General Public
  7  * License as published by the Free Software Foundation; either
  8  * version 2.1 of the License, or (at your option) any later version.
  9  *
 10  * This library is distributed in the hope that it will be useful,
 11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 13  * Lesser General Public License for more details.
 14  *
 15  * You should have received a copy of the GNU Lesser General Public
 16  * License along with this library; if not, write to the Free Software
 17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 18  */
 19 
 20 #ifndef _BASETYPS_H_
 21 #define _BASETYPS_H_
 22 
 23 #ifdef __cplusplus
 24 # define EXTERN_C extern "C"
 25 #else
 26 # define EXTERN_C extern
 27 #endif
 28 
 29 #define STDMETHODCALLTYPE  __stdcall
 30 #define STDMETHODVCALLTYPE __cdecl
 31 #define STDAPICALLTYPE     __stdcall
 32 #define STDAPIVCALLTYPE    __cdecl
 33 #define STDAPI             EXTERN_C HRESULT STDAPICALLTYPE
 34 #define STDAPI_(t)         EXTERN_C t STDAPICALLTYPE
 35 #define STDMETHODIMP       HRESULT STDMETHODCALLTYPE
 36 #define STDMETHODIMP_(t)   t STDMETHODCALLTYPE
 37 #define STDAPIV            EXTERN_C HRESULT STDAPIVCALLTYPE
 38 #define STDAPIV_(t)        EXTERN_C t STDAPIVCALLTYPE
 39 #define STDMETHODIMPV      HRESULT STDMETHODVCALLTYPE
 40 #define STDMETHODIMPV_(t)  t STDMETHODVCALLTYPE
 41 
 42 #if defined(__cplusplus) && !defined(CINTERFACE)
 43 # define interface struct
 44 # define STDMETHOD(m) virtual HRESULT STDMETHODCALLTYPE m
 45 # define STDMETHOD_(t,m) virtual t STDMETHODCALLTYPE m
 46 # define PURE =0
 47 # define THIS_
 48 # define THIS void
 49 # define DECLARE_INTERFACE(i)    interface i
 50 # define DECLARE_INTERFACE_(i,b) interface i : public b
 51 #else
 52 # define STDMETHOD(m) HRESULT (STDMETHODCALLTYPE *m)
 53 # define STDMETHOD_(t,m) t (STDMETHODCALLTYPE *m)
 54 # define PURE
 55 # define THIS_ INTERFACE *,
 56 # define THIS INTERFACE *
 57 # ifdef CONST_VTABLE
 58 #  define DECLARE_INTERFACE(i) \
 59      typedef interface i { const struct i##Vtbl *lpVtbl; } i; \
 60      typedef struct i##Vtbl i##Vtbl; \
 61      struct i##Vtbl
 62 # else
 63 #  define DECLARE_INTERFACE(i) \
 64      typedef interface i { struct i##Vtbl *lpVtbl; } i; \
 65      typedef struct i##Vtbl i##Vtbl; \
 66      struct i##Vtbl
 67 # endif
 68 # define DECLARE_INTERFACE_(i,b) DECLARE_INTERFACE(i)
 69 #endif
 70 
 71 #include <guiddef.h>
 72 
 73 #ifndef _ERROR_STATUS_T_DEFINED
 74 typedef unsigned long error_status_t;
 75 #define _ERROR_STATUS_T_DEFINED
 76 #endif
 77 
 78 #ifndef _WCHAR_T_DEFINED
 79 typedef unsigned short wchar_t;
 80 #define _WCHAR_T_DEFINED
 81 #endif
 82 
 83 #endif /* _BASETYPS_H_ */
 84 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.