|
|
|
1 |
|
|
2 |
|
|
3 |
|
/* this ALWAYS GENERATED file contains the definitions for the interfaces */ |
4 |
|
|
5 |
|
|
6 |
|
/* File created by MIDL compiler version 7.00.0499 */ |
7 |
|
/* Compiler settings for gameux.idl: |
8 |
|
Oicf, W1, Zp8, env=Win32 (32b run) |
9 |
|
protocol : dce , ms_ext, c_ext, robust |
10 |
|
error checks: allocation ref bounds_check enum stub_data |
11 |
|
VC __declspec() decoration level: |
12 |
|
__declspec(uuid()), __declspec(selectany), __declspec(novtable) |
13 |
|
DECLSPEC_UUID(), MIDL_INTERFACE() |
14 |
|
*/ |
15 |
|
//@@MIDL_FILE_HEADING( ) |
16 |
|
|
17 |
|
#pragma warning( disable: 4049 ) /* more than 64k source lines */ |
18 |
|
|
19 |
|
|
20 |
|
/* verify that the <rpcndr.h> version is high enough to compile this file*/ |
21 |
|
#ifndef __REQUIRED_RPCNDR_H_VERSION__ |
22 |
|
#define __REQUIRED_RPCNDR_H_VERSION__ 500 |
23 |
|
#endif |
24 |
|
|
25 |
|
/* verify that the <rpcsal.h> version is high enough to compile this file*/ |
26 |
|
#ifndef __REQUIRED_RPCSAL_H_VERSION__ |
27 |
|
#define __REQUIRED_RPCSAL_H_VERSION__ 100 |
28 |
|
#endif |
29 |
|
|
30 |
|
#include "rpc.h" |
31 |
|
#include "rpcndr.h" |
32 |
|
|
33 |
|
#ifndef __RPCNDR_H_VERSION__ |
34 |
|
#error this stub requires an updated version of <rpcndr.h> |
35 |
|
#endif // __RPCNDR_H_VERSION__ |
36 |
|
|
37 |
|
#ifndef COM_NO_WINDOWS_H |
38 |
|
#include "windows.h" |
39 |
|
#include "ole2.h" |
40 |
|
#endif /*COM_NO_WINDOWS_H*/ |
41 |
|
|
42 |
|
#ifndef __gameux_h__ |
43 |
|
#define __gameux_h__ |
44 |
|
|
45 |
|
#if defined(_MSC_VER) && (_MSC_VER >= 1020) |
46 |
|
#pragma once |
47 |
|
#endif |
48 |
|
|
49 |
|
/* Forward Declarations */ |
50 |
|
|
51 |
|
#ifndef __IGameExplorer_FWD_DEFINED__ |
52 |
|
#define __IGameExplorer_FWD_DEFINED__ |
53 |
|
typedef interface IGameExplorer IGameExplorer; |
54 |
|
#endif /* __IGameExplorer_FWD_DEFINED__ */ |
55 |
|
|
56 |
|
|
57 |
|
#ifndef __GameExplorer_FWD_DEFINED__ |
58 |
|
#define __GameExplorer_FWD_DEFINED__ |
59 |
|
|
60 |
|
#ifdef __cplusplus |
61 |
|
typedef class GameExplorer GameExplorer; |
62 |
|
#else |
63 |
|
typedef struct GameExplorer GameExplorer; |
64 |
|
#endif /* __cplusplus */ |
65 |
|
|
66 |
|
#endif /* __GameExplorer_FWD_DEFINED__ */ |
67 |
|
|
68 |
|
|
69 |
|
/* header files for imported files */ |
70 |
|
#include "oaidl.h" |
71 |
|
#include "ocidl.h" |
72 |
|
#include "shobjidl.h" |
73 |
|
|
74 |
|
#ifdef __cplusplus |
75 |
|
extern "C"{ |
76 |
|
#endif |
77 |
|
|
78 |
|
|
79 |
|
/* interface __MIDL_itf_gameux_0000_0000 */ |
80 |
|
/* [local] */ |
81 |
|
|
82 |
|
#define ID_GDF_XML __GDF_XML |
83 |
|
#define ID_GDF_THUMBNAIL __GDF_THUMBNAIL |
84 |
|
#define ID_ICON_ICO __ICON_ICO |
85 |
|
#define ID_GDF_XML_STR L"__GDF_XML" |
86 |
|
#define ID_GDF_THUMBNAIL_STR L"__GDF_THUMBNAIL" |
87 |
|
typedef /* [v1_enum] */ |
88 |
|
enum GAME_INSTALL_SCOPE |
89 |
|
{ GIS_NOT_INSTALLED = 1, |
90 |
|
GIS_CURRENT_USER = 2, |
91 |
|
GIS_ALL_USERS = 3 |
92 |
|
} GAME_INSTALL_SCOPE; |
93 |
|
|
94 |
|
|
95 |
|
|
96 |
|
extern RPC_IF_HANDLE __MIDL_itf_gameux_0000_0000_v0_0_c_ifspec; |
97 |
|
extern RPC_IF_HANDLE __MIDL_itf_gameux_0000_0000_v0_0_s_ifspec; |
98 |
|
|
99 |
|
#ifndef __IGameExplorer_INTERFACE_DEFINED__ |
100 |
|
#define __IGameExplorer_INTERFACE_DEFINED__ |
101 |
|
|
102 |
|
/* interface IGameExplorer */ |
103 |
|
/* [unique][helpstring][uuid][object] */ |
104 |
|
|
105 |
|
|
106 |
|
EXTERN_C const IID IID_IGameExplorer; |
107 |
|
|
108 |
|
#if defined(__cplusplus) && !defined(CINTERFACE) |
109 |
|
|
110 |
|
MIDL_INTERFACE("E7B2FB72-D728-49B3-A5F2-18EBF5F1349E") |
111 |
|
IGameExplorer : public IUnknown |
112 |
|
{ |
113 |
|
public: |
114 |
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddGame( |
115 |
|
/* [in] */ __RPC__in BSTR bstrGDFBinaryPath, |
116 |
|
/* [in] */ __RPC__in BSTR bstrGameInstallDirectory, |
117 |
|
/* [in] */ GAME_INSTALL_SCOPE installScope, |
118 |
|
/* [out][in] */ __RPC__inout GUID *pguidInstanceID) = 0; |
119 |
|
|
120 |
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemoveGame( |
121 |
|
/* [in] */ GUID guidInstanceID) = 0; |
122 |
|
|
123 |
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE UpdateGame( |
124 |
|
/* [in] */ GUID guidInstanceID) = 0; |
125 |
|
|
126 |
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE VerifyAccess( |
127 |
|
/* [in] */ __RPC__in BSTR bstrGDFBinaryPath, |
128 |
|
/* [out] */ __RPC__out BOOL *pfHasAccess) = 0; |
129 |
|
|
130 |
|
}; |
131 |
|
|
132 |
|
#else /* C style interface */ |
133 |
|
|
134 |
|
typedef struct IGameExplorerVtbl |
145 |
|
IGameExplorer * This); |
146 |
|
|
147 |
|
ULONG ( STDMETHODCALLTYPE *Release )( |
148 |
|
IGameExplorer * This); |
149 |
|
|
150 |
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddGame )( |
151 |
|
IGameExplorer * This, |
152 |
|
/* [in] */ __RPC__in BSTR bstrGDFBinaryPath, |
153 |
|
/* [in] */ __RPC__in BSTR bstrGameInstallDirectory, |
154 |
|
/* [in] */ GAME_INSTALL_SCOPE installScope, |
155 |
|
/* [out][in] */ __RPC__inout GUID *pguidInstanceID); |
156 |
|
|
157 |
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemoveGame )( |
158 |
|
IGameExplorer * This, |
159 |
|
/* [in] */ GUID guidInstanceID); |
160 |
|
|
161 |
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UpdateGame )( |
162 |
|
IGameExplorer * This, |
163 |
|
/* [in] */ GUID guidInstanceID); |
164 |
|
|
165 |
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *VerifyAccess )( |
166 |
|
IGameExplorer * This, |
167 |
|
/* [in] */ __RPC__in BSTR bstrGDFBinaryPath, |
168 |
|
/* [out] */ __RPC__out BOOL *pfHasAccess); |
169 |
|
|
170 |
|
END_INTERFACE |
171 |
|
} IGameExplorerVtbl; |
172 |
|
|
173 |
|
interface IGameExplorer |
174 |
|
{ |
175 |
|
CONST_VTBL struct IGameExplorerVtbl *lpVtbl; |
176 |
|
}; |
177 |
|
|
178 |
|
|
179 |
|
|
180 |
|
#ifdef COBJMACROS |
181 |
|
|
182 |
|
|
183 |
|
#define IGameExplorer_QueryInterface(This,riid,ppvObject) \ |
184 |
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
185 |
|
|
186 |
|
#define IGameExplorer_AddRef(This) \ |
187 |
|
( (This)->lpVtbl -> AddRef(This) ) |
188 |
|
|
189 |
|
#define IGameExplorer_Release(This) \ |
190 |
|
( (This)->lpVtbl -> Release(This) ) |
191 |
|
|
192 |
|
|
193 |
|
#define IGameExplorer_AddGame(This,bstrGDFBinaryPath,bstrGameInstallDirectory,installScope,pguidInstanceID) \ |
194 |
|
( (This)->lpVtbl -> AddGame(This,bstrGDFBinaryPath,bstrGameInstallDirectory,installScope,pguidInstanceID) ) |
195 |
|
|
196 |
|
#define IGameExplorer_RemoveGame(This,guidInstanceID) \ |
197 |
|
( (This)->lpVtbl -> RemoveGame(This,guidInstanceID) ) |
198 |
|
|
199 |
|
#define IGameExplorer_UpdateGame(This,guidInstanceID) \ |
200 |
|
( (This)->lpVtbl -> UpdateGame(This,guidInstanceID) ) |
201 |
|
|
202 |
|
#define IGameExplorer_VerifyAccess(This,bstrGDFBinaryPath,pfHasAccess) \ |
203 |
|
( (This)->lpVtbl -> VerifyAccess(This,bstrGDFBinaryPath,pfHasAccess) ) |
204 |
|
|
205 |
|
#endif /* COBJMACROS */ |
206 |
|
|
207 |
|
|
208 |
|
#endif /* C style interface */ |
209 |
|
|
210 |
|
|
211 |
|
|
212 |
|
|
213 |
|
#endif /* __IGameExplorer_INTERFACE_DEFINED__ */ |
214 |
|
|
215 |
|
|
216 |
|
|
217 |
|
#ifndef __gameuxLib_LIBRARY_DEFINED__ |
218 |
|
#define __gameuxLib_LIBRARY_DEFINED__ |
219 |
|
|
220 |
|
/* library gameuxLib */ |
221 |
|
/* [helpstring][version][uuid] */ |
222 |
|
|
223 |
|
|
224 |
|
EXTERN_C const IID LIBID_gameuxLib; |
225 |
|
|
226 |
|
EXTERN_C const CLSID CLSID_GameExplorer; |
227 |
|
|
228 |
|
#ifdef __cplusplus |
229 |
|
|
230 |
|
class DECLSPEC_UUID("9A5EA990-3034-4D6F-9128-01F3C61022BC") |
231 |
|
GameExplorer; |
232 |
|
#endif |
233 |
|
#endif /* __gameuxLib_LIBRARY_DEFINED__ */ |
234 |
|
|
235 |
|
/* Additional Prototypes for ALL interfaces */ |
236 |
|
|
237 |
|
unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * ); |
238 |
|
unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * ); |
239 |
|
unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); |
240 |
|
void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * ); |
241 |
|
|
242 |
|
unsigned long __RPC_USER BSTR_UserSize64( unsigned long *, unsigned long , BSTR * ); |
243 |
|
unsigned char * __RPC_USER BSTR_UserMarshal64( unsigned long *, unsigned char *, BSTR * ); |
244 |
|
unsigned char * __RPC_USER BSTR_UserUnmarshal64(unsigned long *, unsigned char *, BSTR * ); |
245 |
|
void __RPC_USER BSTR_UserFree64( unsigned long *, BSTR * ); |
246 |
|
|
247 |
|
/* end of Additional Prototypes */ |
248 |
|
|
249 |
|
#ifdef __cplusplus |
250 |
|
} |
251 |
|
#endif |
252 |
|
|
253 |
|
#endif |
254 |
|
|
255 |
|
|
256 |
|
|
257 |
|
|
|
|
|