Ported 32-bit OLE32 functions from WINE.
[reactos.git] / reactos / include / ole32 / rpc.h
1 /**************************************
2 * RPC interface
3 *
4 */
5 #ifndef __WINE_RPC_H
6 #define __WINE_RPC_H
7
8 #if !defined(RPC_NO_WINDOWS_H) && !defined(__WINE__)
9 #include "windows.h"
10 #endif
11
12 #define __RPC_FAR
13 #define __RPC_API WINAPI
14 #define __RPC_USER WINAPI
15 #define __RPC_STUB WINAPI
16 #define RPC_ENTRY WINAPI
17 typedef long RPC_STATUS;
18
19 typedef void* I_RPC_HANDLE;
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
32 #ifndef UUID_DEFINED
33 #define UUID_DEFINED
34 typedef GUID UUID;
35 #endif
36
37 RPC_STATUS RPC_ENTRY UuidCreate(UUID *Uuid);
38
39 #include "rpcdce.h"
40 /* #include "rpcnsi.h" */
41 /* #include "rpcnterr.h" */
42 /* #include "excpt.h" */
43 //#include "winerror.h"
44
45 #endif /*__WINE_RPC_H */