home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / AutoPC / apcsdk10.exe / data1.cab / Emulation_Include_Files / rpcndr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-13  |  1.7 KB  |  80 lines

  1. /*++
  2. THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  3. ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  4. THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  5. PARTICULAR PURPOSE.
  6. Copyright (c) 1995, 1996, 1997  Microsoft Corporation
  7.  
  8. Module Name:
  9.  
  10. rpcndr.h
  11.  
  12. Abstract:
  13.  
  14. Notes:
  15.  
  16.  
  17. --*/
  18.  
  19. #ifndef __RPCNDR_H__
  20. #define __RPCNDR_H__
  21.  
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25.  
  26. /****************************************************************************
  27.  *  Other MIDL base types / predefined types:
  28.  ****************************************************************************/
  29.  
  30. #define small char
  31. typedef unsigned char byte;
  32. typedef unsigned char boolean;
  33.  
  34. #ifndef _WCHAR_T_DEFINED
  35. typedef unsigned short wchar_t;
  36. #define _WCHAR_T_DEFINED
  37. #endif
  38.  
  39. #ifndef _SIZE_T_DEFINED
  40. typedef unsigned int size_t;
  41. #define _SIZE_T_DEFINED
  42. #endif
  43.  
  44. #if   (_MSC_VER >= 800)
  45. #define __RPC_CALLEE       __stdcall
  46. #else
  47. #define __RPC_CALLEE
  48. #endif
  49.  
  50. /****************************************************************************
  51.  * Special things for VC5 Com support
  52.  ****************************************************************************/
  53.  
  54. #if _MSC_VER >= 1100
  55. #define DECLSPEC_UUID(x)    __declspec(uuid(x))
  56. #else
  57. #define DECLSPEC_UUID(x)
  58. #endif
  59.  
  60. #if _MSC_VER >= 1100
  61. #define EXTERN_GUID(itf,l1,s1,s2,c1,c2,c3,c4,c5,c6,c7,c8)  \
  62.   EXTERN_C const IID __declspec(selectany) itf = {l1,s1,s2,{c1,c2,c3,c4,c5,c6,c7,c8}}
  63. #else
  64. #define EXTERN_GUID(itf,l1,s1,s2,c1,c2,c3,c4,c5,c6,c7,c8) EXTERN_C const IID itf
  65. #endif
  66.  
  67.  
  68. #ifdef CONST_VTABLE
  69. #define CONST_VTBL const
  70. #else
  71. #define CONST_VTBL
  72. #endif
  73.  
  74.  
  75. #ifdef __cplusplus
  76. }
  77. #endif
  78.  
  79. #endif /* __RPCNDR_H__ */
  80.