msxml3: Prepare functions for IVBSAX... interfaces implementation.
[wine/gsoc_dplay.git] / dlls / dpnet / dpnet_private.h
blobdeaee60eeab63aa832a00e0c8664fc947f10456c
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;
38 typedef struct IDirectPlay8ThreadPoolImpl IDirectPlay8ThreadPoolImpl;
40 /* ------------------ */
41 /* IDirectPlay8Client */
42 /* ------------------ */
44 /*****************************************************************************
45 * IDirectPlay8Client implementation structure
47 struct IDirectPlay8ClientImpl
49 /* IUnknown fields */
50 const IDirectPlay8ClientVtbl *lpVtbl;
51 LONG ref;
52 /* IDirectPlay8Client fields */
55 /* ------------------- */
56 /* IDirectPlay8Address */
57 /* ------------------- */
59 /*****************************************************************************
60 * IDirectPlay8Address implementation structure
62 struct IDirectPlay8AddressImpl
64 /* IUnknown fields */
65 const IDirectPlay8AddressVtbl *lpVtbl;
66 LONG ref;
67 /* IDirectPlay8Address fields */
68 GUID SP_guid;
69 const WCHAR *url;
72 /*****************************************************************************
73 * IDirectPlay8LobbiedApplication implementation structure
75 struct IDirectPlay8LobbiedApplicationImpl
77 /* IUnknown fields */
78 const IDirectPlay8LobbiedApplicationVtbl *lpVtbl;
79 LONG ref;
80 /* IDirectPlay8LobbiedApplication fields */
83 /*****************************************************************************
84 * IDirectPlay8ThreadPool implementation structure
86 struct IDirectPlay8ThreadPoolImpl
88 /* IUnknown fields */
89 const IDirectPlay8ThreadPoolVtbl *lpVtbl;
90 LONG ref;
93 /**
94 * factories
96 extern HRESULT DPNET_CreateDirectPlay8Client(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj);
97 extern HRESULT DPNET_CreateDirectPlay8Server(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj);
98 extern HRESULT DPNET_CreateDirectPlay8Peer(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj);
99 extern HRESULT DPNET_CreateDirectPlay8Address(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj);
100 extern HRESULT DPNET_CreateDirectPlay8LobbiedApp(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj);
101 extern HRESULT DPNET_CreateDirectPlay8ThreadPool(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj);
104 * debug
106 extern const char *debugstr_SP(const GUID *id);
108 /* used for generic dumping (copied from ddraw) */
109 typedef struct {
110 DWORD val;
111 const char* name;
112 } flag_info;
114 typedef struct {
115 const GUID *guid;
116 const char* name;
117 } guid_info;
119 #define FE(x) { x, #x }
120 #define GE(x) { &x, #x }
124 #endif