Alexandre Julliard | 0799c1a | 2002-03-09 23:29:33 +0000 | [diff] [blame] | 1 | /* |
Huw D M Davies | 10b1b23 | 2000-07-15 19:53:50 +0000 | [diff] [blame] | 2 | * RPC interface |
| 3 | * |
Alexandre Julliard | 0799c1a | 2002-03-09 23:29:33 +0000 | [diff] [blame] | 4 | * Copyright (C) the Wine project |
| 5 | * |
| 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. |
| 10 | * |
| 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. |
| 15 | * |
| 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
Huw D M Davies | 10b1b23 | 2000-07-15 19:53:50 +0000 | [diff] [blame] | 19 | */ |
Alexandre Julliard | 0799c1a | 2002-03-09 23:29:33 +0000 | [diff] [blame] | 20 | |
Patrik Stridvall | 1ed5577 | 2000-11-30 01:31:28 +0000 | [diff] [blame] | 21 | #if !defined(RPC_NO_WINDOWS_H) && !defined(__WINE__) |
| 22 | #include "windows.h" |
| 23 | #endif |
| 24 | |
Francois Gouget | d2cb1d1 | 2001-07-18 20:04:08 +0000 | [diff] [blame] | 25 | #ifndef __WINE_RPC_H |
| 26 | #define __WINE_RPC_H |
| 27 | |
Francois Gouget | 552fddc | 2000-11-08 05:06:10 +0000 | [diff] [blame] | 28 | #define __RPC_FAR |
| 29 | #define __RPC_API WINAPI |
| 30 | #define __RPC_USER WINAPI |
| 31 | #define __RPC_STUB WINAPI |
| 32 | #define RPC_ENTRY WINAPI |
Peter Hunnisett | 8cec3cff | 2001-07-11 20:19:06 +0000 | [diff] [blame] | 33 | #define RPCRTAPI |
Huw D M Davies | 10b1b23 | 2000-07-15 19:53:50 +0000 | [diff] [blame] | 34 | typedef long RPC_STATUS; |
| 35 | |
Francois Gouget | 552fddc | 2000-11-08 05:06:10 +0000 | [diff] [blame] | 36 | typedef void* I_RPC_HANDLE; |
Huw D M Davies | 10b1b23 | 2000-07-15 19:53:50 +0000 | [diff] [blame] | 37 | |
| 38 | #ifndef GUID_DEFINED |
| 39 | #define GUID_DEFINED |
| 40 | typedef struct _GUID |
| 41 | { |
| 42 | DWORD Data1; |
| 43 | WORD Data2; |
| 44 | WORD Data3; |
| 45 | BYTE Data4[8]; |
| 46 | } GUID; |
| 47 | #endif |
| 48 | |
Huw D M Davies | 10b1b23 | 2000-07-15 19:53:50 +0000 | [diff] [blame] | 49 | #ifndef UUID_DEFINED |
| 50 | #define UUID_DEFINED |
| 51 | typedef GUID UUID; |
| 52 | #endif |
| 53 | |
| 54 | RPC_STATUS RPC_ENTRY UuidCreate(UUID *Uuid); |
| 55 | |
Francois Gouget | 552fddc | 2000-11-08 05:06:10 +0000 | [diff] [blame] | 56 | #include "rpcdce.h" |
Francois Gouget | 3cf87c6 | 2000-11-25 03:08:34 +0000 | [diff] [blame] | 57 | /* #include "rpcnsi.h" */ |
Peter Hunnisett | 8cec3cff | 2001-07-11 20:19:06 +0000 | [diff] [blame] | 58 | #include "rpcnterr.h" |
Francois Gouget | 3cf87c6 | 2000-11-25 03:08:34 +0000 | [diff] [blame] | 59 | /* #include "excpt.h" */ |
| 60 | #include "winerror.h" |
Francois Gouget | 552fddc | 2000-11-08 05:06:10 +0000 | [diff] [blame] | 61 | |
Huw D M Davies | 10b1b23 | 2000-07-15 19:53:50 +0000 | [diff] [blame] | 62 | #endif /*__WINE_RPC_H */ |