blob: f553073571bcb3da419cd9c5940d5f5f669c56b4 [file] [log] [blame]
Alexandre Julliard0799c1a2002-03-09 23:29:33 +00001/*
Huw D M Davies10b1b232000-07-15 19:53:50 +00002 * RPC interface
3 *
Alexandre Julliard0799c1a2002-03-09 23:29:33 +00004 * 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 Davies10b1b232000-07-15 19:53:50 +000019 */
Alexandre Julliard0799c1a2002-03-09 23:29:33 +000020
Patrik Stridvall1ed55772000-11-30 01:31:28 +000021#if !defined(RPC_NO_WINDOWS_H) && !defined(__WINE__)
22#include "windows.h"
23#endif
24
Francois Gougetd2cb1d12001-07-18 20:04:08 +000025#ifndef __WINE_RPC_H
26#define __WINE_RPC_H
27
Francois Gouget552fddc2000-11-08 05:06:10 +000028#define __RPC_FAR
29#define __RPC_API WINAPI
30#define __RPC_USER WINAPI
31#define __RPC_STUB WINAPI
32#define RPC_ENTRY WINAPI
Peter Hunnisett8cec3cff2001-07-11 20:19:06 +000033#define RPCRTAPI
Huw D M Davies10b1b232000-07-15 19:53:50 +000034typedef long RPC_STATUS;
35
Francois Gouget552fddc2000-11-08 05:06:10 +000036typedef void* I_RPC_HANDLE;
Huw D M Davies10b1b232000-07-15 19:53:50 +000037
38#ifndef GUID_DEFINED
39#define GUID_DEFINED
40typedef struct _GUID
41{
42 DWORD Data1;
43 WORD Data2;
44 WORD Data3;
45 BYTE Data4[8];
46} GUID;
47#endif
48
Huw D M Davies10b1b232000-07-15 19:53:50 +000049#ifndef UUID_DEFINED
50#define UUID_DEFINED
51typedef GUID UUID;
52#endif
53
54RPC_STATUS RPC_ENTRY UuidCreate(UUID *Uuid);
55
Francois Gouget552fddc2000-11-08 05:06:10 +000056#include "rpcdce.h"
Francois Gouget3cf87c62000-11-25 03:08:34 +000057/* #include "rpcnsi.h" */
Peter Hunnisett8cec3cff2001-07-11 20:19:06 +000058#include "rpcnterr.h"
Francois Gouget3cf87c62000-11-25 03:08:34 +000059/* #include "excpt.h" */
60#include "winerror.h"
Francois Gouget552fddc2000-11-08 05:06:10 +000061
Huw D M Davies10b1b232000-07-15 19:53:50 +000062#endif /*__WINE_RPC_H */