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