Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | pmbaty | 1 | |
2 | |||
3 | /* this ALWAYS GENERATED file contains the definitions for the interfaces */ |
||
4 | |||
5 | |||
6 | /* File created by MIDL compiler version 7.00.0550 */ |
||
7 | /* Compiler settings for gameux.idl: |
||
8 | Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0550 |
||
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__ 475 |
||
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 __IGameStatistics_FWD_DEFINED__ |
||
58 | #define __IGameStatistics_FWD_DEFINED__ |
||
59 | typedef interface IGameStatistics IGameStatistics; |
||
60 | #endif /* __IGameStatistics_FWD_DEFINED__ */ |
||
61 | |||
62 | |||
63 | #ifndef __IGameStatisticsMgr_FWD_DEFINED__ |
||
64 | #define __IGameStatisticsMgr_FWD_DEFINED__ |
||
65 | typedef interface IGameStatisticsMgr IGameStatisticsMgr; |
||
66 | #endif /* __IGameStatisticsMgr_FWD_DEFINED__ */ |
||
67 | |||
68 | |||
69 | #ifndef __IGameExplorer2_FWD_DEFINED__ |
||
70 | #define __IGameExplorer2_FWD_DEFINED__ |
||
71 | typedef interface IGameExplorer2 IGameExplorer2; |
||
72 | #endif /* __IGameExplorer2_FWD_DEFINED__ */ |
||
73 | |||
74 | |||
75 | #ifndef __GameExplorer_FWD_DEFINED__ |
||
76 | #define __GameExplorer_FWD_DEFINED__ |
||
77 | |||
78 | #ifdef __cplusplus |
||
79 | typedef class GameExplorer GameExplorer; |
||
80 | #else |
||
81 | typedef struct GameExplorer GameExplorer; |
||
82 | #endif /* __cplusplus */ |
||
83 | |||
84 | #endif /* __GameExplorer_FWD_DEFINED__ */ |
||
85 | |||
86 | |||
87 | #ifndef __GameStatistics_FWD_DEFINED__ |
||
88 | #define __GameStatistics_FWD_DEFINED__ |
||
89 | |||
90 | #ifdef __cplusplus |
||
91 | typedef class GameStatistics GameStatistics; |
||
92 | #else |
||
93 | typedef struct GameStatistics GameStatistics; |
||
94 | #endif /* __cplusplus */ |
||
95 | |||
96 | #endif /* __GameStatistics_FWD_DEFINED__ */ |
||
97 | |||
98 | |||
99 | /* header files for imported files */ |
||
100 | #include "oaidl.h" |
||
101 | #include "ocidl.h" |
||
102 | #include "shobjidl.h" |
||
103 | |||
104 | #ifdef __cplusplus |
||
105 | extern "C"{ |
||
106 | #endif |
||
107 | |||
108 | |||
109 | /* interface __MIDL_itf_gameux_0000_0000 */ |
||
110 | /* [local] */ |
||
111 | |||
112 | #define ID_GDF_XML __GDF_XML |
||
113 | #define ID_GDF_THUMBNAIL __GDF_THUMBNAIL |
||
114 | #define ID_ICON_ICO __ICON_ICO |
||
115 | #define ID_GDF_XML_STR L"__GDF_XML" |
||
116 | #define ID_GDF_THUMBNAIL_STR L"__GDF_THUMBNAIL" |
||
117 | typedef /* [v1_enum] */ |
||
118 | enum GAME_INSTALL_SCOPE |
||
119 | { GIS_NOT_INSTALLED = 1, |
||
120 | GIS_CURRENT_USER = 2, |
||
121 | GIS_ALL_USERS = 3 |
||
122 | } GAME_INSTALL_SCOPE; |
||
123 | |||
124 | |||
125 | |||
126 | extern RPC_IF_HANDLE __MIDL_itf_gameux_0000_0000_v0_0_c_ifspec; |
||
127 | extern RPC_IF_HANDLE __MIDL_itf_gameux_0000_0000_v0_0_s_ifspec; |
||
128 | |||
129 | #ifndef __IGameExplorer_INTERFACE_DEFINED__ |
||
130 | #define __IGameExplorer_INTERFACE_DEFINED__ |
||
131 | |||
132 | /* interface IGameExplorer */ |
||
133 | /* [unique][helpstring][uuid][object] */ |
||
134 | |||
135 | |||
136 | EXTERN_C const IID IID_IGameExplorer; |
||
137 | |||
138 | #if defined(__cplusplus) && !defined(CINTERFACE) |
||
139 | |||
140 | MIDL_INTERFACE("E7B2FB72-D728-49B3-A5F2-18EBF5F1349E") |
||
141 | IGameExplorer : public IUnknown |
||
142 | { |
||
143 | public: |
||
144 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddGame( |
||
145 | /* [in] */ __RPC__in BSTR bstrGDFBinaryPath, |
||
146 | /* [in] */ __RPC__in BSTR bstrGameInstallDirectory, |
||
147 | /* [in] */ GAME_INSTALL_SCOPE installScope, |
||
148 | /* [out][in] */ __RPC__inout GUID *pguidInstanceID) = 0; |
||
149 | |||
150 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemoveGame( |
||
151 | /* [in] */ GUID guidInstanceID) = 0; |
||
152 | |||
153 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE UpdateGame( |
||
154 | /* [in] */ GUID guidInstanceID) = 0; |
||
155 | |||
156 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE VerifyAccess( |
||
157 | /* [in] */ __RPC__in BSTR bstrGDFBinaryPath, |
||
158 | /* [out] */ __RPC__out BOOL *pfHasAccess) = 0; |
||
159 | |||
160 | }; |
||
161 | |||
162 | #else /* C style interface */ |
||
163 | |||
164 | typedef struct IGameExplorerVtbl |
||
165 | { |
||
166 | BEGIN_INTERFACE |
||
167 | |||
168 | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
||
169 | __RPC__in IGameExplorer * This, |
||
170 | /* [in] */ __RPC__in REFIID riid, |
||
171 | /* [annotation][iid_is][out] */ |
||
172 | __RPC__deref_out void **ppvObject); |
||
173 | |||
174 | ULONG ( STDMETHODCALLTYPE *AddRef )( |
||
175 | __RPC__in IGameExplorer * This); |
||
176 | |||
177 | ULONG ( STDMETHODCALLTYPE *Release )( |
||
178 | __RPC__in IGameExplorer * This); |
||
179 | |||
180 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddGame )( |
||
181 | __RPC__in IGameExplorer * This, |
||
182 | /* [in] */ __RPC__in BSTR bstrGDFBinaryPath, |
||
183 | /* [in] */ __RPC__in BSTR bstrGameInstallDirectory, |
||
184 | /* [in] */ GAME_INSTALL_SCOPE installScope, |
||
185 | /* [out][in] */ __RPC__inout GUID *pguidInstanceID); |
||
186 | |||
187 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemoveGame )( |
||
188 | __RPC__in IGameExplorer * This, |
||
189 | /* [in] */ GUID guidInstanceID); |
||
190 | |||
191 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UpdateGame )( |
||
192 | __RPC__in IGameExplorer * This, |
||
193 | /* [in] */ GUID guidInstanceID); |
||
194 | |||
195 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *VerifyAccess )( |
||
196 | __RPC__in IGameExplorer * This, |
||
197 | /* [in] */ __RPC__in BSTR bstrGDFBinaryPath, |
||
198 | /* [out] */ __RPC__out BOOL *pfHasAccess); |
||
199 | |||
200 | END_INTERFACE |
||
201 | } IGameExplorerVtbl; |
||
202 | |||
203 | interface IGameExplorer |
||
204 | { |
||
205 | CONST_VTBL struct IGameExplorerVtbl *lpVtbl; |
||
206 | }; |
||
207 | |||
208 | |||
209 | |||
210 | #ifdef COBJMACROS |
||
211 | |||
212 | |||
213 | #define IGameExplorer_QueryInterface(This,riid,ppvObject) \ |
||
214 | ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
||
215 | |||
216 | #define IGameExplorer_AddRef(This) \ |
||
217 | ( (This)->lpVtbl -> AddRef(This) ) |
||
218 | |||
219 | #define IGameExplorer_Release(This) \ |
||
220 | ( (This)->lpVtbl -> Release(This) ) |
||
221 | |||
222 | |||
223 | #define IGameExplorer_AddGame(This,bstrGDFBinaryPath,bstrGameInstallDirectory,installScope,pguidInstanceID) \ |
||
224 | ( (This)->lpVtbl -> AddGame(This,bstrGDFBinaryPath,bstrGameInstallDirectory,installScope,pguidInstanceID) ) |
||
225 | |||
226 | #define IGameExplorer_RemoveGame(This,guidInstanceID) \ |
||
227 | ( (This)->lpVtbl -> RemoveGame(This,guidInstanceID) ) |
||
228 | |||
229 | #define IGameExplorer_UpdateGame(This,guidInstanceID) \ |
||
230 | ( (This)->lpVtbl -> UpdateGame(This,guidInstanceID) ) |
||
231 | |||
232 | #define IGameExplorer_VerifyAccess(This,bstrGDFBinaryPath,pfHasAccess) \ |
||
233 | ( (This)->lpVtbl -> VerifyAccess(This,bstrGDFBinaryPath,pfHasAccess) ) |
||
234 | |||
235 | #endif /* COBJMACROS */ |
||
236 | |||
237 | |||
238 | #endif /* C style interface */ |
||
239 | |||
240 | |||
241 | |||
242 | |||
243 | #endif /* __IGameExplorer_INTERFACE_DEFINED__ */ |
||
244 | |||
245 | |||
246 | /* interface __MIDL_itf_gameux_0000_0001 */ |
||
247 | /* [local] */ |
||
248 | |||
249 | typedef /* [v1_enum] */ |
||
250 | enum GAMESTATS_OPEN_TYPE |
||
251 | { GAMESTATS_OPEN_OPENORCREATE = 0, |
||
252 | GAMESTATS_OPEN_OPENONLY = 1 |
||
253 | } GAMESTATS_OPEN_TYPE; |
||
254 | |||
255 | typedef /* [v1_enum] */ |
||
256 | enum GAMESTATS_OPEN_RESULT |
||
257 | { GAMESTATS_OPEN_CREATED = 0, |
||
258 | GAMESTATS_OPEN_OPENED = 1 |
||
259 | } GAMESTATS_OPEN_RESULT; |
||
260 | |||
261 | |||
262 | |||
263 | extern RPC_IF_HANDLE __MIDL_itf_gameux_0000_0001_v0_0_c_ifspec; |
||
264 | extern RPC_IF_HANDLE __MIDL_itf_gameux_0000_0001_v0_0_s_ifspec; |
||
265 | |||
266 | #ifndef __IGameStatistics_INTERFACE_DEFINED__ |
||
267 | #define __IGameStatistics_INTERFACE_DEFINED__ |
||
268 | |||
269 | /* interface IGameStatistics */ |
||
270 | /* [unique][helpstring][uuid][object] */ |
||
271 | |||
272 | |||
273 | EXTERN_C const IID IID_IGameStatistics; |
||
274 | |||
275 | #if defined(__cplusplus) && !defined(CINTERFACE) |
||
276 | |||
277 | MIDL_INTERFACE("3887C9CA-04A0-42ae-BC4C-5FA6C7721145") |
||
278 | IGameStatistics : public IUnknown |
||
279 | { |
||
280 | public: |
||
281 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetMaxCategoryLength( |
||
282 | /* [retval][out] */ __RPC__out UINT *cch) = 0; |
||
283 | |||
284 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetMaxNameLength( |
||
285 | /* [retval][out] */ __RPC__out UINT *cch) = 0; |
||
286 | |||
287 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetMaxValueLength( |
||
288 | /* [retval][out] */ __RPC__out UINT *cch) = 0; |
||
289 | |||
290 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetMaxCategories( |
||
291 | /* [retval][out] */ __RPC__out WORD *pMax) = 0; |
||
292 | |||
293 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetMaxStatsPerCategory( |
||
294 | /* [retval][out] */ __RPC__out WORD *pMax) = 0; |
||
295 | |||
296 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetCategoryTitle( |
||
297 | /* [in] */ WORD categoryIndex, |
||
298 | /* [string][in] */ __RPC__in_string LPCWSTR title) = 0; |
||
299 | |||
300 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetCategoryTitle( |
||
301 | /* [in] */ WORD categoryIndex, |
||
302 | /* [retval][string][out] */ __RPC__deref_out_opt_string LPWSTR *pTitle) = 0; |
||
303 | |||
304 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStatistic( |
||
305 | /* [in] */ WORD categoryIndex, |
||
306 | /* [in] */ WORD statIndex, |
||
307 | /* [string][unique][out][in] */ __RPC__deref_opt_inout_opt_string LPWSTR *pName, |
||
308 | /* [string][unique][out][in] */ __RPC__deref_opt_inout_opt_string LPWSTR *pValue) = 0; |
||
309 | |||
310 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetStatistic( |
||
311 | /* [in] */ WORD categoryIndex, |
||
312 | /* [in] */ WORD statIndex, |
||
313 | /* [string][in] */ __RPC__in_string LPCWSTR name, |
||
314 | /* [string][in] */ __RPC__in_string LPCWSTR value) = 0; |
||
315 | |||
316 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Save( |
||
317 | /* [in] */ BOOL trackChanges) = 0; |
||
318 | |||
319 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetLastPlayedCategory( |
||
320 | /* [in] */ UINT categoryIndex) = 0; |
||
321 | |||
322 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetLastPlayedCategory( |
||
323 | /* [retval][out] */ __RPC__out UINT *pCategoryIndex) = 0; |
||
324 | |||
325 | }; |
||
326 | |||
327 | #else /* C style interface */ |
||
328 | |||
329 | typedef struct IGameStatisticsVtbl |
||
330 | { |
||
331 | BEGIN_INTERFACE |
||
332 | |||
333 | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
||
334 | __RPC__in IGameStatistics * This, |
||
335 | /* [in] */ __RPC__in REFIID riid, |
||
336 | /* [annotation][iid_is][out] */ |
||
337 | __RPC__deref_out void **ppvObject); |
||
338 | |||
339 | ULONG ( STDMETHODCALLTYPE *AddRef )( |
||
340 | __RPC__in IGameStatistics * This); |
||
341 | |||
342 | ULONG ( STDMETHODCALLTYPE *Release )( |
||
343 | __RPC__in IGameStatistics * This); |
||
344 | |||
345 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetMaxCategoryLength )( |
||
346 | __RPC__in IGameStatistics * This, |
||
347 | /* [retval][out] */ __RPC__out UINT *cch); |
||
348 | |||
349 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetMaxNameLength )( |
||
350 | __RPC__in IGameStatistics * This, |
||
351 | /* [retval][out] */ __RPC__out UINT *cch); |
||
352 | |||
353 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetMaxValueLength )( |
||
354 | __RPC__in IGameStatistics * This, |
||
355 | /* [retval][out] */ __RPC__out UINT *cch); |
||
356 | |||
357 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetMaxCategories )( |
||
358 | __RPC__in IGameStatistics * This, |
||
359 | /* [retval][out] */ __RPC__out WORD *pMax); |
||
360 | |||
361 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetMaxStatsPerCategory )( |
||
362 | __RPC__in IGameStatistics * This, |
||
363 | /* [retval][out] */ __RPC__out WORD *pMax); |
||
364 | |||
365 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetCategoryTitle )( |
||
366 | __RPC__in IGameStatistics * This, |
||
367 | /* [in] */ WORD categoryIndex, |
||
368 | /* [string][in] */ __RPC__in_string LPCWSTR title); |
||
369 | |||
370 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetCategoryTitle )( |
||
371 | __RPC__in IGameStatistics * This, |
||
372 | /* [in] */ WORD categoryIndex, |
||
373 | /* [retval][string][out] */ __RPC__deref_out_opt_string LPWSTR *pTitle); |
||
374 | |||
375 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetStatistic )( |
||
376 | __RPC__in IGameStatistics * This, |
||
377 | /* [in] */ WORD categoryIndex, |
||
378 | /* [in] */ WORD statIndex, |
||
379 | /* [string][unique][out][in] */ __RPC__deref_opt_inout_opt_string LPWSTR *pName, |
||
380 | /* [string][unique][out][in] */ __RPC__deref_opt_inout_opt_string LPWSTR *pValue); |
||
381 | |||
382 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetStatistic )( |
||
383 | __RPC__in IGameStatistics * This, |
||
384 | /* [in] */ WORD categoryIndex, |
||
385 | /* [in] */ WORD statIndex, |
||
386 | /* [string][in] */ __RPC__in_string LPCWSTR name, |
||
387 | /* [string][in] */ __RPC__in_string LPCWSTR value); |
||
388 | |||
389 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Save )( |
||
390 | __RPC__in IGameStatistics * This, |
||
391 | /* [in] */ BOOL trackChanges); |
||
392 | |||
393 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetLastPlayedCategory )( |
||
394 | __RPC__in IGameStatistics * This, |
||
395 | /* [in] */ UINT categoryIndex); |
||
396 | |||
397 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetLastPlayedCategory )( |
||
398 | __RPC__in IGameStatistics * This, |
||
399 | /* [retval][out] */ __RPC__out UINT *pCategoryIndex); |
||
400 | |||
401 | END_INTERFACE |
||
402 | } IGameStatisticsVtbl; |
||
403 | |||
404 | interface IGameStatistics |
||
405 | { |
||
406 | CONST_VTBL struct IGameStatisticsVtbl *lpVtbl; |
||
407 | }; |
||
408 | |||
409 | |||
410 | |||
411 | #ifdef COBJMACROS |
||
412 | |||
413 | |||
414 | #define IGameStatistics_QueryInterface(This,riid,ppvObject) \ |
||
415 | ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
||
416 | |||
417 | #define IGameStatistics_AddRef(This) \ |
||
418 | ( (This)->lpVtbl -> AddRef(This) ) |
||
419 | |||
420 | #define IGameStatistics_Release(This) \ |
||
421 | ( (This)->lpVtbl -> Release(This) ) |
||
422 | |||
423 | |||
424 | #define IGameStatistics_GetMaxCategoryLength(This,cch) \ |
||
425 | ( (This)->lpVtbl -> GetMaxCategoryLength(This,cch) ) |
||
426 | |||
427 | #define IGameStatistics_GetMaxNameLength(This,cch) \ |
||
428 | ( (This)->lpVtbl -> GetMaxNameLength(This,cch) ) |
||
429 | |||
430 | #define IGameStatistics_GetMaxValueLength(This,cch) \ |
||
431 | ( (This)->lpVtbl -> GetMaxValueLength(This,cch) ) |
||
432 | |||
433 | #define IGameStatistics_GetMaxCategories(This,pMax) \ |
||
434 | ( (This)->lpVtbl -> GetMaxCategories(This,pMax) ) |
||
435 | |||
436 | #define IGameStatistics_GetMaxStatsPerCategory(This,pMax) \ |
||
437 | ( (This)->lpVtbl -> GetMaxStatsPerCategory(This,pMax) ) |
||
438 | |||
439 | #define IGameStatistics_SetCategoryTitle(This,categoryIndex,title) \ |
||
440 | ( (This)->lpVtbl -> SetCategoryTitle(This,categoryIndex,title) ) |
||
441 | |||
442 | #define IGameStatistics_GetCategoryTitle(This,categoryIndex,pTitle) \ |
||
443 | ( (This)->lpVtbl -> GetCategoryTitle(This,categoryIndex,pTitle) ) |
||
444 | |||
445 | #define IGameStatistics_GetStatistic(This,categoryIndex,statIndex,pName,pValue) \ |
||
446 | ( (This)->lpVtbl -> GetStatistic(This,categoryIndex,statIndex,pName,pValue) ) |
||
447 | |||
448 | #define IGameStatistics_SetStatistic(This,categoryIndex,statIndex,name,value) \ |
||
449 | ( (This)->lpVtbl -> SetStatistic(This,categoryIndex,statIndex,name,value) ) |
||
450 | |||
451 | #define IGameStatistics_Save(This,trackChanges) \ |
||
452 | ( (This)->lpVtbl -> Save(This,trackChanges) ) |
||
453 | |||
454 | #define IGameStatistics_SetLastPlayedCategory(This,categoryIndex) \ |
||
455 | ( (This)->lpVtbl -> SetLastPlayedCategory(This,categoryIndex) ) |
||
456 | |||
457 | #define IGameStatistics_GetLastPlayedCategory(This,pCategoryIndex) \ |
||
458 | ( (This)->lpVtbl -> GetLastPlayedCategory(This,pCategoryIndex) ) |
||
459 | |||
460 | #endif /* COBJMACROS */ |
||
461 | |||
462 | |||
463 | #endif /* C style interface */ |
||
464 | |||
465 | |||
466 | |||
467 | |||
468 | #endif /* __IGameStatistics_INTERFACE_DEFINED__ */ |
||
469 | |||
470 | |||
471 | #ifndef __IGameStatisticsMgr_INTERFACE_DEFINED__ |
||
472 | #define __IGameStatisticsMgr_INTERFACE_DEFINED__ |
||
473 | |||
474 | /* interface IGameStatisticsMgr */ |
||
475 | /* [unique][helpstring][uuid][object] */ |
||
476 | |||
477 | |||
478 | EXTERN_C const IID IID_IGameStatisticsMgr; |
||
479 | |||
480 | #if defined(__cplusplus) && !defined(CINTERFACE) |
||
481 | |||
482 | MIDL_INTERFACE("AFF3EA11-E70E-407d-95DD-35E612C41CE2") |
||
483 | IGameStatisticsMgr : public IUnknown |
||
484 | { |
||
485 | public: |
||
486 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetGameStatistics( |
||
487 | /* [string][in] */ __RPC__in_string LPCWSTR GDFBinaryPath, |
||
488 | /* [in] */ GAMESTATS_OPEN_TYPE openType, |
||
489 | /* [out] */ __RPC__out GAMESTATS_OPEN_RESULT *pOpenResult, |
||
490 | /* [retval][out] */ __RPC__deref_out_opt IGameStatistics **ppiStats) = 0; |
||
491 | |||
492 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemoveGameStatistics( |
||
493 | /* [string][in] */ __RPC__in_string LPCWSTR GDFBinaryPath) = 0; |
||
494 | |||
495 | }; |
||
496 | |||
497 | #else /* C style interface */ |
||
498 | |||
499 | typedef struct IGameStatisticsMgrVtbl |
||
500 | { |
||
501 | BEGIN_INTERFACE |
||
502 | |||
503 | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
||
504 | __RPC__in IGameStatisticsMgr * This, |
||
505 | /* [in] */ __RPC__in REFIID riid, |
||
506 | /* [annotation][iid_is][out] */ |
||
507 | __RPC__deref_out void **ppvObject); |
||
508 | |||
509 | ULONG ( STDMETHODCALLTYPE *AddRef )( |
||
510 | __RPC__in IGameStatisticsMgr * This); |
||
511 | |||
512 | ULONG ( STDMETHODCALLTYPE *Release )( |
||
513 | __RPC__in IGameStatisticsMgr * This); |
||
514 | |||
515 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetGameStatistics )( |
||
516 | __RPC__in IGameStatisticsMgr * This, |
||
517 | /* [string][in] */ __RPC__in_string LPCWSTR GDFBinaryPath, |
||
518 | /* [in] */ GAMESTATS_OPEN_TYPE openType, |
||
519 | /* [out] */ __RPC__out GAMESTATS_OPEN_RESULT *pOpenResult, |
||
520 | /* [retval][out] */ __RPC__deref_out_opt IGameStatistics **ppiStats); |
||
521 | |||
522 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemoveGameStatistics )( |
||
523 | __RPC__in IGameStatisticsMgr * This, |
||
524 | /* [string][in] */ __RPC__in_string LPCWSTR GDFBinaryPath); |
||
525 | |||
526 | END_INTERFACE |
||
527 | } IGameStatisticsMgrVtbl; |
||
528 | |||
529 | interface IGameStatisticsMgr |
||
530 | { |
||
531 | CONST_VTBL struct IGameStatisticsMgrVtbl *lpVtbl; |
||
532 | }; |
||
533 | |||
534 | |||
535 | |||
536 | #ifdef COBJMACROS |
||
537 | |||
538 | |||
539 | #define IGameStatisticsMgr_QueryInterface(This,riid,ppvObject) \ |
||
540 | ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
||
541 | |||
542 | #define IGameStatisticsMgr_AddRef(This) \ |
||
543 | ( (This)->lpVtbl -> AddRef(This) ) |
||
544 | |||
545 | #define IGameStatisticsMgr_Release(This) \ |
||
546 | ( (This)->lpVtbl -> Release(This) ) |
||
547 | |||
548 | |||
549 | #define IGameStatisticsMgr_GetGameStatistics(This,GDFBinaryPath,openType,pOpenResult,ppiStats) \ |
||
550 | ( (This)->lpVtbl -> GetGameStatistics(This,GDFBinaryPath,openType,pOpenResult,ppiStats) ) |
||
551 | |||
552 | #define IGameStatisticsMgr_RemoveGameStatistics(This,GDFBinaryPath) \ |
||
553 | ( (This)->lpVtbl -> RemoveGameStatistics(This,GDFBinaryPath) ) |
||
554 | |||
555 | #endif /* COBJMACROS */ |
||
556 | |||
557 | |||
558 | #endif /* C style interface */ |
||
559 | |||
560 | |||
561 | |||
562 | |||
563 | #endif /* __IGameStatisticsMgr_INTERFACE_DEFINED__ */ |
||
564 | |||
565 | |||
566 | #ifndef __IGameExplorer2_INTERFACE_DEFINED__ |
||
567 | #define __IGameExplorer2_INTERFACE_DEFINED__ |
||
568 | |||
569 | /* interface IGameExplorer2 */ |
||
570 | /* [unique][helpstring][uuid][object] */ |
||
571 | |||
572 | |||
573 | EXTERN_C const IID IID_IGameExplorer2; |
||
574 | |||
575 | #if defined(__cplusplus) && !defined(CINTERFACE) |
||
576 | |||
577 | MIDL_INTERFACE("86874AA7-A1ED-450d-A7EB-B89E20B2FFF3") |
||
578 | IGameExplorer2 : public IUnknown |
||
579 | { |
||
580 | public: |
||
581 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE InstallGame( |
||
582 | /* [string][in] */ __RPC__in_string LPCWSTR binaryGDFPath, |
||
583 | /* [unique][in] */ __RPC__in_opt LPCWSTR installDirectory, |
||
584 | /* [in] */ GAME_INSTALL_SCOPE installScope) = 0; |
||
585 | |||
586 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE UninstallGame( |
||
587 | /* [string][in] */ __RPC__in_string LPCWSTR binaryGDFPath) = 0; |
||
588 | |||
589 | virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CheckAccess( |
||
590 | /* [string][in] */ __RPC__in_string LPCWSTR binaryGDFPath, |
||
591 | /* [retval][out] */ __RPC__out BOOL *pHasAccess) = 0; |
||
592 | |||
593 | }; |
||
594 | |||
595 | #else /* C style interface */ |
||
596 | |||
597 | typedef struct IGameExplorer2Vtbl |
||
598 | { |
||
599 | BEGIN_INTERFACE |
||
600 | |||
601 | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
||
602 | __RPC__in IGameExplorer2 * This, |
||
603 | /* [in] */ __RPC__in REFIID riid, |
||
604 | /* [annotation][iid_is][out] */ |
||
605 | __RPC__deref_out void **ppvObject); |
||
606 | |||
607 | ULONG ( STDMETHODCALLTYPE *AddRef )( |
||
608 | __RPC__in IGameExplorer2 * This); |
||
609 | |||
610 | ULONG ( STDMETHODCALLTYPE *Release )( |
||
611 | __RPC__in IGameExplorer2 * This); |
||
612 | |||
613 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *InstallGame )( |
||
614 | __RPC__in IGameExplorer2 * This, |
||
615 | /* [string][in] */ __RPC__in_string LPCWSTR binaryGDFPath, |
||
616 | /* [unique][in] */ __RPC__in_opt LPCWSTR installDirectory, |
||
617 | /* [in] */ GAME_INSTALL_SCOPE installScope); |
||
618 | |||
619 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UninstallGame )( |
||
620 | __RPC__in IGameExplorer2 * This, |
||
621 | /* [string][in] */ __RPC__in_string LPCWSTR binaryGDFPath); |
||
622 | |||
623 | /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CheckAccess )( |
||
624 | __RPC__in IGameExplorer2 * This, |
||
625 | /* [string][in] */ __RPC__in_string LPCWSTR binaryGDFPath, |
||
626 | /* [retval][out] */ __RPC__out BOOL *pHasAccess); |
||
627 | |||
628 | END_INTERFACE |
||
629 | } IGameExplorer2Vtbl; |
||
630 | |||
631 | interface IGameExplorer2 |
||
632 | { |
||
633 | CONST_VTBL struct IGameExplorer2Vtbl *lpVtbl; |
||
634 | }; |
||
635 | |||
636 | |||
637 | |||
638 | #ifdef COBJMACROS |
||
639 | |||
640 | |||
641 | #define IGameExplorer2_QueryInterface(This,riid,ppvObject) \ |
||
642 | ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
||
643 | |||
644 | #define IGameExplorer2_AddRef(This) \ |
||
645 | ( (This)->lpVtbl -> AddRef(This) ) |
||
646 | |||
647 | #define IGameExplorer2_Release(This) \ |
||
648 | ( (This)->lpVtbl -> Release(This) ) |
||
649 | |||
650 | |||
651 | #define IGameExplorer2_InstallGame(This,binaryGDFPath,installDirectory,installScope) \ |
||
652 | ( (This)->lpVtbl -> InstallGame(This,binaryGDFPath,installDirectory,installScope) ) |
||
653 | |||
654 | #define IGameExplorer2_UninstallGame(This,binaryGDFPath) \ |
||
655 | ( (This)->lpVtbl -> UninstallGame(This,binaryGDFPath) ) |
||
656 | |||
657 | #define IGameExplorer2_CheckAccess(This,binaryGDFPath,pHasAccess) \ |
||
658 | ( (This)->lpVtbl -> CheckAccess(This,binaryGDFPath,pHasAccess) ) |
||
659 | |||
660 | #endif /* COBJMACROS */ |
||
661 | |||
662 | |||
663 | #endif /* C style interface */ |
||
664 | |||
665 | |||
666 | |||
667 | |||
668 | #endif /* __IGameExplorer2_INTERFACE_DEFINED__ */ |
||
669 | |||
670 | |||
671 | |||
672 | #ifndef __gameuxLib_LIBRARY_DEFINED__ |
||
673 | #define __gameuxLib_LIBRARY_DEFINED__ |
||
674 | |||
675 | /* library gameuxLib */ |
||
676 | /* [helpstring][version][uuid] */ |
||
677 | |||
678 | |||
679 | EXTERN_C const IID LIBID_gameuxLib; |
||
680 | |||
681 | EXTERN_C const CLSID CLSID_GameExplorer; |
||
682 | |||
683 | #ifdef __cplusplus |
||
684 | |||
685 | class DECLSPEC_UUID("9A5EA990-3034-4D6F-9128-01F3C61022BC") |
||
686 | GameExplorer; |
||
687 | #endif |
||
688 | |||
689 | EXTERN_C const CLSID CLSID_GameStatistics; |
||
690 | |||
691 | #ifdef __cplusplus |
||
692 | |||
693 | class DECLSPEC_UUID("DBC85A2C-C0DC-4961-B6E2-D28B62C11AD4") |
||
694 | GameStatistics; |
||
695 | #endif |
||
696 | #endif /* __gameuxLib_LIBRARY_DEFINED__ */ |
||
697 | |||
698 | /* Additional Prototypes for ALL interfaces */ |
||
699 | |||
700 | unsigned long __RPC_USER BSTR_UserSize( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); |
||
701 | unsigned char * __RPC_USER BSTR_UserMarshal( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); |
||
702 | unsigned char * __RPC_USER BSTR_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); |
||
703 | void __RPC_USER BSTR_UserFree( __RPC__in unsigned long *, __RPC__in BSTR * ); |
||
704 | |||
705 | unsigned long __RPC_USER BSTR_UserSize64( __RPC__in unsigned long *, unsigned long , __RPC__in BSTR * ); |
||
706 | unsigned char * __RPC_USER BSTR_UserMarshal64( __RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR * ); |
||
707 | unsigned char * __RPC_USER BSTR_UserUnmarshal64(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR * ); |
||
708 | void __RPC_USER BSTR_UserFree64( __RPC__in unsigned long *, __RPC__in BSTR * ); |
||
709 | |||
710 | /* end of Additional Prototypes */ |
||
711 | |||
712 | #ifdef __cplusplus |
||
713 | } |
||
714 | #endif |
||
715 | |||
716 | #endif |
||
717 | |||
718 | |||
719 |