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

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
                     23: #define RPC_ENTRY
1.1.1.2 ! root       24: #define RPC_UNICODE_SUPPORTED
1.1       root       25: 
                     26: #ifdef IN
                     27: #undef IN
                     28: #undef OUT
                     29: #undef OPTIONAL
1.1.1.2 ! root       30: #endif /* IN */
1.1       root       31: 
1.1.1.2 ! root       32: #include "rpcdce.h"
        !            33: #include "rpcnsi.h"
1.1       root       34: #include "rpcnterr.h"
                     35: 
1.1.1.2 ! root       36: #ifndef RPC_NO_WINDOWS_H
        !            37: #include <windows.h>
        !            38: #endif // RPC_NO_WINDOWS_H
        !            39: 
1.1       root       40: #include <excpt.h>
1.1.1.2 ! root       41: #include <winerror.h>
1.1       root       42: 
                     43: #define RpcTryExcept \
                     44:     try \
                     45:         {
                     46: 
                     47: // trystmts
                     48: 
                     49: #define RpcExcept(expr) \
                     50:         } \
                     51:     except (expr) \
                     52:         {
                     53: 
                     54: // exceptstmts
                     55: 
                     56: #define RpcEndExcept \
                     57:         }
                     58: 
                     59: #define RpcTryFinally \
                     60:     try \
                     61:         {
                     62: 
                     63: // trystmts
                     64: 
                     65: #define RpcFinally \
                     66:         } \
                     67:     finally \
                     68:         {
                     69: 
                     70: // finallystmts
                     71: 
                     72: #define RpcEndFinally \
                     73:         }
                     74: 
                     75: #define RpcExceptionCode() GetExceptionCode()
                     76: #define RpcAbnormalTermination() AbnormalTermination()
                     77: 
                     78: RPC_STATUS RPC_ENTRY
                     79: RpcImpersonateClient (
1.1.1.2 ! root       80:     IN RPC_BINDING_HANDLE BindingHandle OPTIONAL
1.1       root       81:     );
                     82: 
                     83: RPC_STATUS RPC_ENTRY
                     84: RpcRevertToSelf (
                     85:     );
                     86: 
1.1.1.2 ! root       87: unsigned long RPC_ENTRY
        !            88: I_RpcMapWin32Status (
        !            89:     IN RPC_STATUS Status
        !            90:     );
        !            91: 
1.1       root       92: #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.