|
|
1.1.1.4 ! root 1: /*++ ! 2: ! 3: Copyright (c) 1991-1993 Microsoft Corporation ! 4: ! 5: Module Name: ! 6: ! 7: rpc.h ! 8: ! 9: Abstract: ! 10: ! 11: Master include file for RPC applications. ! 12: ! 13: --*/ 1.1 root 14: 15: #ifndef __RPC_H__ 16: #define __RPC_H__ 17: 1.1.1.4 ! root 18: #ifdef __cplusplus ! 19: extern "C" { ! 20: #endif ! 21: 1.1.1.2 root 22: #define __RPC_WIN32__ 1.1 root 23: 1.1.1.2 root 24: #ifndef __MIDL_USER_DEFINED 25: #define midl_user_allocate MIDL_user_allocate 26: #define midl_user_free MIDL_user_free 27: #define __MIDL_USER_DEFINED 28: #endif 1.1 root 29: 1.1.1.2 root 30: typedef void * I_RPC_HANDLE; 31: typedef long RPC_STATUS; 1.1.1.4 ! root 32: 1.1.1.2 root 33: #define RPC_UNICODE_SUPPORTED 1.1.1.4 ! root 34: #if (_MSC_VER >= 800) ! 35: #define __RPC_FAR ! 36: #define __RPC_API __stdcall ! 37: #define __RPC_USER __stdcall ! 38: #define __RPC_STUB __stdcall ! 39: #define RPC_ENTRY __stdcall 1.1.1.3 root 40: #else 1.1.1.4 ! root 41: #define __RPC_FAR ! 42: #define __RPC_API ! 43: #define __RPC_USER ! 44: #define __RPC_STUB 1.1.1.3 root 45: #define RPC_ENTRY 46: #endif 1.1 root 47: 48: #ifdef IN 49: #undef IN 50: #undef OUT 51: #undef OPTIONAL 1.1.1.2 root 52: #endif /* IN */ 1.1 root 53: 1.1.1.2 root 54: #include "rpcdce.h" 55: #include "rpcnsi.h" 1.1 root 56: #include "rpcnterr.h" 57: 1.1.1.2 root 58: #ifndef RPC_NO_WINDOWS_H 59: #include <windows.h> 60: #endif // RPC_NO_WINDOWS_H 61: 1.1 root 62: #include <excpt.h> 1.1.1.2 root 63: #include <winerror.h> 1.1 root 64: 65: #define RpcTryExcept \ 66: try \ 67: { 68: 69: // trystmts 70: 71: #define RpcExcept(expr) \ 72: } \ 73: except (expr) \ 74: { 75: 76: // exceptstmts 77: 78: #define RpcEndExcept \ 79: } 80: 81: #define RpcTryFinally \ 82: try \ 83: { 84: 85: // trystmts 86: 87: #define RpcFinally \ 88: } \ 89: finally \ 90: { 91: 92: // finallystmts 93: 94: #define RpcEndFinally \ 95: } 96: 97: #define RpcExceptionCode() GetExceptionCode() 98: #define RpcAbnormalTermination() AbnormalTermination() 99: 100: RPC_STATUS RPC_ENTRY 101: RpcImpersonateClient ( 1.1.1.2 root 102: IN RPC_BINDING_HANDLE BindingHandle OPTIONAL 1.1 root 103: ); 104: 105: RPC_STATUS RPC_ENTRY 106: RpcRevertToSelf ( 107: ); 108: 1.1.1.2 root 109: unsigned long RPC_ENTRY 110: I_RpcMapWin32Status ( 111: IN RPC_STATUS Status 112: ); 113: 1.1.1.4 ! root 114: #ifdef __cplusplus ! 115: } ! 116: #endif ! 117: 1.1 root 118: #endif // __RPC_H__ 1.1.1.4 ! root 119:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.