usp10: Update tests in test_ScriptItemIzeShapePlace to match Windows results.
[wine/multimedia.git] / dlls / dpnet / dpnet_private.h
blob06b3aef56f44f5d731a0158fd5b3e7ca80554983
1 /*
2 * DirectPlay8 (dpnet) private include file
4 * Copyright 2004 Raphael Junqueira
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WINE_DPNET_PRIVATE_H
22 #define __WINE_DPNET_PRIVATE_H
24 #ifndef __WINE_CONFIG_H
25 # error You must include config.h to use this header
26 #endif
28 #include "dplay8.h"
30 *#include "dplobby8.h"
31 *#include "dplay8sp.h"
34 /* DirectPlay8 Interfaces: */
35 typedef struct IDirectPlay8ClientImpl IDirectPlay8ClientImpl;
36 typedef struct IDirectPlay8AddressImpl IDirectPlay8AddressImpl;
38 /* ------------------ */
39 /* IDirectPlay8Client */
40 /* ------------------ */
42 /*****************************************************************************
43 * IDirectPlay8Client implementation structure
45 struct IDirectPlay8ClientImpl
47 /* IUnknown fields */
48 const IDirectPlay8ClientVtbl *lpVtbl;
49 LONG ref;
50 /* IDirectPlay8Client fields */
53 /* IUnknown: */
54 extern ULONG WINAPI IDirectPlay8ClientImpl_AddRef(PDIRECTPLAY8CLIENT iface);
56 /* ------------------- */
57 /* IDirectPlay8Address */
58 /* ------------------- */
60 /*****************************************************************************
61 * IDirectPlay8Address implementation structure
63 struct IDirectPlay8AddressImpl
65 /* IUnknown fields */
66 const IDirectPlay8AddressVtbl *lpVtbl;
67 LONG ref;
68 /* IDirectPlay8Address fields */
69 GUID SP_guid;
70 const WCHAR *url;
73 /* IUnknown: */
74 extern HRESULT WINAPI IDirectPlay8AddressImpl_QueryInterface(PDIRECTPLAY8ADDRESS iface, REFIID riid, LPVOID *ppobj);
75 extern ULONG WINAPI IDirectPlay8AddressImpl_AddRef(PDIRECTPLAY8ADDRESS iface);
76 extern ULONG WINAPI IDirectPlay8AddressImpl_Release(PDIRECTPLAY8ADDRESS iface);
78 /* IDirectPlay8Address: */
82 /**
83 * factories
85 extern HRESULT DPNET_CreateDirectPlay8Client(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj);
86 extern HRESULT DPNET_CreateDirectPlay8Server(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj);
87 extern HRESULT DPNET_CreateDirectPlay8Peer(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj);
88 extern HRESULT DPNET_CreateDirectPlay8Address(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj);
90 /**
91 * debug
93 extern const char *debugstr_SP(const GUID *id);
95 /* used for generic dumping (copied from ddraw) */
96 typedef struct {
97 DWORD val;
98 const char* name;
99 } flag_info;
101 typedef struct {
102 const GUID *guid;
103 const char* name;
104 } guid_info;
106 #define FE(x) { x, #x }
107 #define GE(x) { &x, #x }
111 #endif