Huw D M Davies | 10b1b23 | 2000-07-15 19:53:50 +0000 | [diff] [blame] | 1 | /************************************** |
| 2 | * RPC interface |
| 3 | * |
| 4 | */ |
| 5 | #ifndef __WINE_RPC_H |
| 6 | #define __WINE_RPC_H |
| 7 | |
Patrik Stridvall | 1ed5577 | 2000-11-30 01:31:28 +0000 | [diff] [blame] | 8 | #if !defined(RPC_NO_WINDOWS_H) && !defined(__WINE__) |
| 9 | #include "windows.h" |
| 10 | #endif |
| 11 | |
Francois Gouget | 552fddc | 2000-11-08 05:06:10 +0000 | [diff] [blame] | 12 | #define __RPC_FAR |
| 13 | #define __RPC_API WINAPI |
| 14 | #define __RPC_USER WINAPI |
| 15 | #define __RPC_STUB WINAPI |
| 16 | #define RPC_ENTRY WINAPI |
Huw D M Davies | 10b1b23 | 2000-07-15 19:53:50 +0000 | [diff] [blame] | 17 | typedef long RPC_STATUS; |
| 18 | |
Francois Gouget | 552fddc | 2000-11-08 05:06:10 +0000 | [diff] [blame] | 19 | typedef void* I_RPC_HANDLE; |
Huw D M Davies | 10b1b23 | 2000-07-15 19:53:50 +0000 | [diff] [blame] | 20 | |
| 21 | #ifndef GUID_DEFINED |
| 22 | #define GUID_DEFINED |
| 23 | typedef struct _GUID |
| 24 | { |
| 25 | DWORD Data1; |
| 26 | WORD Data2; |
| 27 | WORD Data3; |
| 28 | BYTE Data4[8]; |
| 29 | } GUID; |
| 30 | #endif |
| 31 | |
Huw D M Davies | 10b1b23 | 2000-07-15 19:53:50 +0000 | [diff] [blame] | 32 | #ifndef UUID_DEFINED |
| 33 | #define UUID_DEFINED |
| 34 | typedef GUID UUID; |
| 35 | #endif |
| 36 | |
| 37 | RPC_STATUS RPC_ENTRY UuidCreate(UUID *Uuid); |
| 38 | |
Francois Gouget | 552fddc | 2000-11-08 05:06:10 +0000 | [diff] [blame] | 39 | #include "rpcdce.h" |
Francois Gouget | 3cf87c6 | 2000-11-25 03:08:34 +0000 | [diff] [blame] | 40 | /* #include "rpcnsi.h" */ |
| 41 | /* #include "rpcnterr.h" */ |
| 42 | /* #include "excpt.h" */ |
| 43 | #include "winerror.h" |
Francois Gouget | 552fddc | 2000-11-08 05:06:10 +0000 | [diff] [blame] | 44 | |
Huw D M Davies | 10b1b23 | 2000-07-15 19:53:50 +0000 | [diff] [blame] | 45 | #endif /*__WINE_RPC_H */ |