Annotation of mstools/h/rpc.h, revision 1.1.1.3

1.1       root        1: /*********************************************************/
                      2: /**               Microsoft LAN Manager                 **/
1.1.1.2   root        3: /**          Copyright(c) Microsoft Corp., 1991         **/
1.1       root        4: /**                                                     **/
1.1.1.2   root        5: /**              Base Include file for NT               **/
1.1       root        6: /**                                                     **/
                      7: /*********************************************************/
                      8: 
                      9: #ifndef __RPC_H__
                     10: #define __RPC_H__
                     11: 
1.1.1.2   root       12: #define __RPC_WIN32__
1.1       root       13: 
1.1.1.2   root       14: #ifndef __MIDL_USER_DEFINED
                     15: #define midl_user_allocate MIDL_user_allocate
                     16: #define midl_user_free     MIDL_user_free
                     17: #define __MIDL_USER_DEFINED
                     18: #endif
1.1       root       19: 
1.1.1.2   root       20: typedef void * I_RPC_HANDLE;
                     21: typedef long RPC_STATUS;
1.1       root       22: #define PAPI
1.1.1.2   root       23: #define RPC_UNICODE_SUPPORTED
1.1.1.3 ! root       24: #if defined(i386)
        !            25: #define RPC_ENTRY __stdcall
        !            26: #else
        !            27: #define RPC_ENTRY
        !            28: #endif
1.1       root       29: 
                     30: #ifdef IN
                     31: #undef IN
                     32: #undef OUT
                     33: #undef OPTIONAL
1.1.1.2   root       34: #endif /* IN */
1.1       root       35: 
1.1.1.2   root       36: #include "rpcdce.h"
                     37: #include "rpcnsi.h"
1.1       root       38: #include "rpcnterr.h"
                     39: 
1.1.1.2   root       40: #ifndef RPC_NO_WINDOWS_H
                     41: #include <windows.h>
                     42: #endif // RPC_NO_WINDOWS_H
                     43: 
1.1       root       44: #include <excpt.h>
1.1.1.2   root       45: #include <winerror.h>
1.1       root       46: 
                     47: #define RpcTryExcept \
                     48:     try \
                     49:         {
                     50: 
                     51: // trystmts
                     52: 
                     53: #define RpcExcept(expr) \
                     54:         } \
                     55:     except (expr) \
                     56:         {
                     57: 
                     58: // exceptstmts
                     59: 
                     60: #define RpcEndExcept \
                     61:         }
                     62: 
                     63: #define RpcTryFinally \
                     64:     try \
                     65:         {
                     66: 
                     67: // trystmts
                     68: 
                     69: #define RpcFinally \
                     70:         } \
                     71:     finally \
                     72:         {
                     73: 
                     74: // finallystmts
                     75: 
                     76: #define RpcEndFinally \
                     77:         }
                     78: 
                     79: #define RpcExceptionCode() GetExceptionCode()
                     80: #define RpcAbnormalTermination() AbnormalTermination()
                     81: 
                     82: RPC_STATUS RPC_ENTRY
                     83: RpcImpersonateClient (
1.1.1.2   root       84:     IN RPC_BINDING_HANDLE BindingHandle OPTIONAL
1.1       root       85:     );
                     86: 
                     87: RPC_STATUS RPC_ENTRY
                     88: RpcRevertToSelf (
                     89:     );
                     90: 
1.1.1.2   root       91: unsigned long RPC_ENTRY
                     92: I_RpcMapWin32Status (
                     93:     IN RPC_STATUS Status
                     94:     );
                     95: 
1.1       root       96: #endif // __RPC_H__

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.