comctl32: Set label width after editting.
[wine/gsoc_dplay.git] / include / rpc.h
blobc52e539267d7bdb4958ebcee63cba54762a95a10
1 /*
2 * RPC interface
4 * Copyright (C) the Wine project
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef RPC_NO_WINDOWS_H
22 # ifdef __WINESRC__
23 # include <windef.h>
24 # else
25 # include <windows.h>
26 # endif
27 #endif
29 #ifndef __WINE_RPC_H
30 #define __WINE_RPC_H
32 #if defined(__powerpc__) || defined(_MAC) /* ? */
33 # define __RPC_MAC__
34 /* Also define __RPC_WIN32__ to ensure compatibility */
35 # define __RPC_WIN32__
36 #elif defined(_WIN64)
37 # define __RPC_WIN64__
38 #else
39 # define __RPC_WIN32__
40 #endif
42 #include <basetsd.h>
44 #define __RPC_FAR
45 #define __RPC_API __stdcall
46 #define __RPC_USER __stdcall
47 #define __RPC_STUB __stdcall
48 #define RPC_ENTRY __stdcall
49 #define RPCRTAPI
50 typedef long RPC_STATUS;
52 typedef void* I_RPC_HANDLE;
54 #include <rpcdce.h>
55 /* #include <rpcnsi.h> */
56 #include <rpcnterr.h>
57 #include <excpt.h>
58 #include <winerror.h>
60 /* ignore exception handling for now */
61 #define RpcTryExcept if (1) {
62 #define RpcExcept(expr) } else {
63 #define RpcEndExcept }
64 #define RpcTryFinally
65 #define RpcFinally
66 #define RpcEndFinally
67 #define RpcExceptionCode() 0
68 /* #define RpcAbnormalTermination() abort() */
70 #endif /*__WINE_RPC_H */