In the latest sdk the {waveOut,midiOut}{Get,Set}Volume functions take
[wine/multimedia.git] / include / rpc.h
blob6bc48f053566c773f6130554b3c340a14bc9a04a
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #if !defined(RPC_NO_WINDOWS_H) && !defined(__WINE__)
22 #include "windows.h"
23 #endif
25 #ifndef __WINE_RPC_H
26 #define __WINE_RPC_H
28 #if defined(__PPC__) || defined(_MAC) /* ? */
29 #define __RPC_MAC__
30 #elif defined(_WIN64)
31 #define __RPC_WIN64__
32 #else
33 #define __RPC_WIN32__
34 #endif
36 #define __RPC_FAR
37 #define __RPC_API WINAPI
38 #define __RPC_USER WINAPI
39 #define __RPC_STUB WINAPI
40 #define RPC_ENTRY WINAPI
41 #define RPCRTAPI
42 typedef long RPC_STATUS;
44 typedef void* I_RPC_HANDLE;
46 #ifndef GUID_DEFINED
47 #define GUID_DEFINED
48 typedef struct _GUID
50 DWORD Data1;
51 WORD Data2;
52 WORD Data3;
53 BYTE Data4[8];
54 } GUID;
55 #endif
57 #ifndef UUID_DEFINED
58 #define UUID_DEFINED
59 typedef GUID UUID;
60 #endif
62 RPC_STATUS RPC_ENTRY UuidCreate(UUID *Uuid);
64 #include "rpcdce.h"
65 /* #include "rpcnsi.h" */
66 #include "rpcnterr.h"
67 #include "excpt.h"
68 #include "winerror.h"
70 #endif /*__WINE_RPC_H */