gdiplus: Add more tests for regions and paths.
[wine.git] / dlls / dpnet / dpnet_private.h
blob40cd671239d7ea72a7d43ea4f82963792694491b
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"
29 #include "dplobby8.h"
31 *#include "dplay8sp.h"
34 /* DirectPlay8 Interfaces: */
35 typedef struct IDirectPlay8ClientImpl IDirectPlay8ClientImpl;
36 typedef struct IDirectPlay8AddressImpl IDirectPlay8AddressImpl;
37 typedef struct IDirectPlay8LobbiedApplicationImpl IDirectPlay8LobbiedApplicationImpl;
39 /* ------------------ */
40 /* IDirectPlay8Client */
41 /* ------------------ */
43 /*****************************************************************************
44 * IDirectPlay8Client implementation structure
46 struct IDirectPlay8ClientImpl
48 /* IUnknown fields */
49 const IDirectPlay8ClientVtbl *lpVtbl;
50 LONG ref;
51 /* IDirectPlay8Client fields */
54 /* ------------------- */
55 /* IDirectPlay8Address */
56 /* ------------------- */
58 /*****************************************************************************
59 * IDirectPlay8Address implementation structure
61 struct IDirectPlay8AddressImpl
63 /* IUnknown fields */
64 const IDirectPlay8AddressVtbl *lpVtbl;
65 LONG ref;
66 /* IDirectPlay8Address fields */
67 GUID SP_guid;
68 const WCHAR *url;
71 /*****************************************************************************
72 * IDirectPlay8LobbiedApplication implementation structure
74 struct IDirectPlay8LobbiedApplicationImpl
76 /* IUnknown fields */
77 const IDirectPlay8LobbiedApplicationVtbl *lpVtbl;
78 LONG ref;
79 /* IDirectPlay8LobbiedApplication fields */
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);
89 extern HRESULT DPNET_CreateDirectPlay8LobbiedApp(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj);
91 /**
92 * debug
94 extern const char *debugstr_SP(const GUID *id);
96 /* used for generic dumping (copied from ddraw) */
97 typedef struct {
98 DWORD val;
99 const char* name;
100 } flag_info;
102 typedef struct {
103 const GUID *guid;
104 const char* name;
105 } guid_info;
107 #define FE(x) { x, #x }
108 #define GE(x) { &x, #x }
112 #endif