1 /*
2 * DirectPlay8 (dpnet) private include file
3 *
4 * Copyright 2004 Raphael Junqueira
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21 #ifndef __WINE_DPNET_PRIVATE_H
22 #define __WINE_DPNET_PRIVATE_H
23
24 #ifndef __WINE_CONFIG_H
25 # error You must include config.h to use this header
26 #endif
27
28 #include "dplay8.h"
29 #include "dplobby8.h"
30 /*
31 *#include "dplay8sp.h"
32 */
33
34 /* DirectPlay8 Interfaces: */
35 typedef struct IDirectPlay8ClientImpl IDirectPlay8ClientImpl;
36 typedef struct IDirectPlay8AddressImpl IDirectPlay8AddressImpl;
37 typedef struct IDirectPlay8LobbiedApplicationImpl IDirectPlay8LobbiedApplicationImpl;
38 typedef struct IDirectPlay8PeerImpl IDirectPlay8PeerImpl;
39 typedef struct IDirectPlay8ThreadPoolImpl IDirectPlay8ThreadPoolImpl;
40
41 /* ------------------ */
42 /* IDirectPlay8Client */
43 /* ------------------ */
44
45 /*****************************************************************************
46 * IDirectPlay8Client implementation structure
47 */
48 struct IDirectPlay8ClientImpl
49 {
50 IDirectPlay8Client IDirectPlay8Client_iface;
51 LONG ref;
52 /* IDirectPlay8Client fields */
53 };
54
55 /* ------------------- */
56 /* IDirectPlay8Address */
57 /* ------------------- */
58
59 /*****************************************************************************
60 * IDirectPlay8Address implementation structure
61 */
62 struct IDirectPlay8AddressImpl
63 {
64 IDirectPlay8Address IDirectPlay8Address_iface;
65 LONG ref;
66 /* IDirectPlay8Address fields */
67 GUID SP_guid;
68 const WCHAR *url;
69 };
70
71 /*****************************************************************************
72 * IDirectPlay8LobbiedApplication implementation structure
73 */
74 struct IDirectPlay8LobbiedApplicationImpl
75 {
76 IDirectPlay8LobbiedApplication IDirectPlay8LobbiedApplication_iface;
77 LONG ref;
78 };
79
80 /*****************************************************************************
81 * IDirectPlay8Peer implementation structure
82 */
83 struct IDirectPlay8PeerImpl
84 {
85 IDirectPlay8Peer IDirectPlay8Peer_iface;
86 LONG ref;
87 };
88
89 /*****************************************************************************
90 * IDirectPlay8ThreadPool implementation structure
91 */
92 struct IDirectPlay8ThreadPoolImpl
93 {
94 IDirectPlay8ThreadPool IDirectPlay8ThreadPool_iface;
95 LONG ref;
96 };
97
98 /**
99 * factories
100 */
101 extern HRESULT DPNET_CreateDirectPlay8Client(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj) DECLSPEC_HIDDEN;
102 extern HRESULT DPNET_CreateDirectPlay8Server(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj) DECLSPEC_HIDDEN;
103 extern HRESULT DPNET_CreateDirectPlay8Peer(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj) DECLSPEC_HIDDEN;
104 extern HRESULT DPNET_CreateDirectPlay8Address(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj) DECLSPEC_HIDDEN;
105 extern HRESULT DPNET_CreateDirectPlay8LobbiedApp(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj) DECLSPEC_HIDDEN;
106 extern HRESULT DPNET_CreateDirectPlay8ThreadPool(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj) DECLSPEC_HIDDEN;
107
108 /* used for generic dumping (copied from ddraw) */
109 typedef struct {
110 DWORD val;
111 const char* name;
112 } flag_info;
113
114 typedef struct {
115 const GUID *guid;
116 const char* name;
117 } guid_info;
118
119 #define FE(x) { x, #x }
120 #define GE(x) { &x, #x }
121
122
123
124 #endif
125
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.