1 #ifndef RPC_NO_WINDOWS_H
8 #pragma GCC system_header
17 #define RPC_UNICODE_SUPPORTED
21 #define RPCRTAPI DECLSPEC_EXPORT
23 #define RPCRTAPI DECLSPEC_IMPORT
26 #ifndef __MIDL_USER_DEFINED
27 #define midl_user_allocate MIDL_user_allocate
28 #define midl_user_free MIDL_user_free
29 #define __MIDL_USER_DEFINED
31 #define RPC_UNICODE_SUPPORTED
33 #define __RPC_API __stdcall
34 #define __RPC_USER __stdcall
35 #define __RPC_STUB __stdcall
36 #define RPC_ENTRY __stdcall
37 typedef void *I_RPC_HANDLE
;
38 typedef long RPC_STATUS
;
46 /* SEH is not supported */
49 #define RpcTryExcept __try {
50 #define RpcExcept(x) } __except (x) {
51 #define RpcEndExcept }
52 #define RpcTryFinally __try {
53 #define RpcFinally } __finally {
54 #define RpcEndFinally }
55 #define RpcExceptionCode() GetExceptionCode()
56 #define RpcAbnormalTermination() AbnormalTermination()
59 RPC_STATUS RPC_ENTRY
RpcImpersonateClient(RPC_BINDING_HANDLE
);
60 RPC_STATUS RPC_ENTRY
RpcRevertToSelf(void);
61 long RPC_ENTRY
I_RpcMapWin32Status(RPC_STATUS
);