12 #ifndef __REQUIRED_RPCNDR_H_VERSION__ 13 #define __REQUIRED_RPCNDR_H_VERSION__ 475 17 #ifndef __REQUIRED_RPCSAL_H_VERSION__ 18 #define __REQUIRED_RPCSAL_H_VERSION__ 100 24 #ifndef __RPCNDR_H_VERSION__ 25 #error this stub requires an updated version of <rpcndr.h> 28 #ifndef COM_NO_WINDOWS_H 36 #if defined(_MSC_VER) && (_MSC_VER >= 1020) 42 #ifndef __IGameExplorer_FWD_DEFINED__ 43 #define __IGameExplorer_FWD_DEFINED__ 49 #ifndef __IGameStatistics_FWD_DEFINED__ 50 #define __IGameStatistics_FWD_DEFINED__ 56 #ifndef __IGameStatisticsMgr_FWD_DEFINED__ 57 #define __IGameStatisticsMgr_FWD_DEFINED__ 63 #ifndef __IGameExplorer2_FWD_DEFINED__ 64 #define __IGameExplorer2_FWD_DEFINED__ 70 #ifndef __GameExplorer_FWD_DEFINED__ 71 #define __GameExplorer_FWD_DEFINED__ 82 #ifndef __GameStatistics_FWD_DEFINED__ 83 #define __GameStatistics_FWD_DEFINED__ 97 #include "shobjidl_core.h" 107 #include <winapifamily.h> 108 #pragma region Desktop Family 109 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) 110 #define ID_GDF_XML __GDF_XML 111 #define ID_GDF_THUMBNAIL __GDF_THUMBNAIL 112 #define ID_ICON_ICO __ICON_ICO 113 #define ID_GDF_XML_STR L"__GDF_XML" 114 #define ID_GDF_THUMBNAIL_STR L"__GDF_THUMBNAIL" 116 enum GAME_INSTALL_SCOPE
118 GIS_NOT_INSTALLED = 1,
119 GIS_CURRENT_USER = 2,
121 } GAME_INSTALL_SCOPE;
125 extern RPC_IF_HANDLE __MIDL_itf_gameux_0000_0000_v0_0_c_ifspec;
126 extern RPC_IF_HANDLE __MIDL_itf_gameux_0000_0000_v0_0_s_ifspec;
128 #ifndef __IGameExplorer_INTERFACE_DEFINED__ 129 #define __IGameExplorer_INTERFACE_DEFINED__ 135 EXTERN_C
const IID IID_IGameExplorer;
137 #if defined(__cplusplus) && !defined(CINTERFACE) 139 MIDL_INTERFACE(
"E7B2FB72-D728-49B3-A5F2-18EBF5F1349E")
143 virtual HRESULT STDMETHODCALLTYPE AddGame(
146 GAME_INSTALL_SCOPE installScope,
149 virtual HRESULT STDMETHODCALLTYPE RemoveGame(
150 GUID guidInstanceID) = 0;
152 virtual HRESULT STDMETHODCALLTYPE UpdateGame(
153 GUID guidInstanceID) = 0;
155 virtual HRESULT STDMETHODCALLTYPE VerifyAccess(
164 typedef struct IGameExplorerVtbl
168 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
172 _COM_Outptr_
void **ppvObject);
174 ULONG ( STDMETHODCALLTYPE *AddRef )(
177 ULONG ( STDMETHODCALLTYPE *
Release )(
180 HRESULT ( STDMETHODCALLTYPE *AddGame )(
184 GAME_INSTALL_SCOPE installScope,
187 HRESULT ( STDMETHODCALLTYPE *RemoveGame )(
189 GUID guidInstanceID);
191 HRESULT ( STDMETHODCALLTYPE *UpdateGame )(
193 GUID guidInstanceID);
195 HRESULT ( STDMETHODCALLTYPE *VerifyAccess )(
205 CONST_VTBL
struct IGameExplorerVtbl *lpVtbl;
213 #define IGameExplorer_QueryInterface(This,riid,ppvObject) \ 214 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 216 #define IGameExplorer_AddRef(This) \ 217 ( (This)->lpVtbl -> AddRef(This) ) 219 #define IGameExplorer_Release(This) \ 220 ( (This)->lpVtbl -> Release(This) ) 223 #define IGameExplorer_AddGame(This,bstrGDFBinaryPath,bstrGameInstallDirectory,installScope,pguidInstanceID) \ 224 ( (This)->lpVtbl -> AddGame(This,bstrGDFBinaryPath,bstrGameInstallDirectory,installScope,pguidInstanceID) ) 226 #define IGameExplorer_RemoveGame(This,guidInstanceID) \ 227 ( (This)->lpVtbl -> RemoveGame(This,guidInstanceID) ) 229 #define IGameExplorer_UpdateGame(This,guidInstanceID) \ 230 ( (This)->lpVtbl -> UpdateGame(This,guidInstanceID) ) 232 #define IGameExplorer_VerifyAccess(This,bstrGDFBinaryPath,pfHasAccess) \ 233 ( (This)->lpVtbl -> VerifyAccess(This,bstrGDFBinaryPath,pfHasAccess) ) 250 enum GAMESTATS_OPEN_TYPE
252 GAMESTATS_OPEN_OPENORCREATE = 0,
253 GAMESTATS_OPEN_OPENONLY = 1
254 } GAMESTATS_OPEN_TYPE;
257 enum GAMESTATS_OPEN_RESULT
259 GAMESTATS_OPEN_CREATED = 0,
260 GAMESTATS_OPEN_OPENED = 1
261 } GAMESTATS_OPEN_RESULT;
265 extern RPC_IF_HANDLE __MIDL_itf_gameux_0000_0001_v0_0_c_ifspec;
266 extern RPC_IF_HANDLE __MIDL_itf_gameux_0000_0001_v0_0_s_ifspec;
268 #ifndef __IGameStatistics_INTERFACE_DEFINED__ 269 #define __IGameStatistics_INTERFACE_DEFINED__ 275 EXTERN_C
const IID IID_IGameStatistics;
277 #if defined(__cplusplus) && !defined(CINTERFACE) 279 MIDL_INTERFACE(
"3887C9CA-04A0-42ae-BC4C-5FA6C7721145")
283 virtual HRESULT STDMETHODCALLTYPE GetMaxCategoryLength(
286 virtual HRESULT STDMETHODCALLTYPE GetMaxNameLength(
289 virtual HRESULT STDMETHODCALLTYPE GetMaxValueLength(
292 virtual HRESULT STDMETHODCALLTYPE GetMaxCategories(
295 virtual HRESULT STDMETHODCALLTYPE GetMaxStatsPerCategory(
298 virtual HRESULT STDMETHODCALLTYPE SetCategoryTitle(
302 virtual HRESULT STDMETHODCALLTYPE GetCategoryTitle(
306 virtual HRESULT STDMETHODCALLTYPE GetStatistic(
312 virtual HRESULT STDMETHODCALLTYPE SetStatistic(
318 virtual HRESULT STDMETHODCALLTYPE Save(
319 BOOL trackChanges) = 0;
321 virtual HRESULT STDMETHODCALLTYPE SetLastPlayedCategory(
322 UINT categoryIndex) = 0;
324 virtual HRESULT STDMETHODCALLTYPE GetLastPlayedCategory(
332 typedef struct IGameStatisticsVtbl
336 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
340 _COM_Outptr_
void **ppvObject);
342 ULONG ( STDMETHODCALLTYPE *AddRef )(
345 ULONG ( STDMETHODCALLTYPE *
Release )(
348 HRESULT ( STDMETHODCALLTYPE *GetMaxCategoryLength )(
352 HRESULT ( STDMETHODCALLTYPE *GetMaxNameLength )(
356 HRESULT ( STDMETHODCALLTYPE *GetMaxValueLength )(
360 HRESULT ( STDMETHODCALLTYPE *GetMaxCategories )(
364 HRESULT ( STDMETHODCALLTYPE *GetMaxStatsPerCategory )(
368 HRESULT ( STDMETHODCALLTYPE *SetCategoryTitle )(
373 HRESULT ( STDMETHODCALLTYPE *GetCategoryTitle )(
378 HRESULT ( STDMETHODCALLTYPE *GetStatistic )(
385 HRESULT ( STDMETHODCALLTYPE *SetStatistic )(
392 HRESULT ( STDMETHODCALLTYPE *Save )(
396 HRESULT ( STDMETHODCALLTYPE *SetLastPlayedCategory )(
400 HRESULT ( STDMETHODCALLTYPE *GetLastPlayedCategory )(
405 } IGameStatisticsVtbl;
409 CONST_VTBL
struct IGameStatisticsVtbl *lpVtbl;
417 #define IGameStatistics_QueryInterface(This,riid,ppvObject) \ 418 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 420 #define IGameStatistics_AddRef(This) \ 421 ( (This)->lpVtbl -> AddRef(This) ) 423 #define IGameStatistics_Release(This) \ 424 ( (This)->lpVtbl -> Release(This) ) 427 #define IGameStatistics_GetMaxCategoryLength(This,cch) \ 428 ( (This)->lpVtbl -> GetMaxCategoryLength(This,cch) ) 430 #define IGameStatistics_GetMaxNameLength(This,cch) \ 431 ( (This)->lpVtbl -> GetMaxNameLength(This,cch) ) 433 #define IGameStatistics_GetMaxValueLength(This,cch) \ 434 ( (This)->lpVtbl -> GetMaxValueLength(This,cch) ) 436 #define IGameStatistics_GetMaxCategories(This,pMax) \ 437 ( (This)->lpVtbl -> GetMaxCategories(This,pMax) ) 439 #define IGameStatistics_GetMaxStatsPerCategory(This,pMax) \ 440 ( (This)->lpVtbl -> GetMaxStatsPerCategory(This,pMax) ) 442 #define IGameStatistics_SetCategoryTitle(This,categoryIndex,title) \ 443 ( (This)->lpVtbl -> SetCategoryTitle(This,categoryIndex,title) ) 445 #define IGameStatistics_GetCategoryTitle(This,categoryIndex,pTitle) \ 446 ( (This)->lpVtbl -> GetCategoryTitle(This,categoryIndex,pTitle) ) 448 #define IGameStatistics_GetStatistic(This,categoryIndex,statIndex,pName,pValue) \ 449 ( (This)->lpVtbl -> GetStatistic(This,categoryIndex,statIndex,pName,pValue) ) 451 #define IGameStatistics_SetStatistic(This,categoryIndex,statIndex,name,value) \ 452 ( (This)->lpVtbl -> SetStatistic(This,categoryIndex,statIndex,name,value) ) 454 #define IGameStatistics_Save(This,trackChanges) \ 455 ( (This)->lpVtbl -> Save(This,trackChanges) ) 457 #define IGameStatistics_SetLastPlayedCategory(This,categoryIndex) \ 458 ( (This)->lpVtbl -> SetLastPlayedCategory(This,categoryIndex) ) 460 #define IGameStatistics_GetLastPlayedCategory(This,pCategoryIndex) \ 461 ( (This)->lpVtbl -> GetLastPlayedCategory(This,pCategoryIndex) ) 474 #ifndef __IGameStatisticsMgr_INTERFACE_DEFINED__ 475 #define __IGameStatisticsMgr_INTERFACE_DEFINED__ 481 EXTERN_C
const IID IID_IGameStatisticsMgr;
483 #if defined(__cplusplus) && !defined(CINTERFACE) 485 MIDL_INTERFACE(
"AFF3EA11-E70E-407d-95DD-35E612C41CE2")
489 virtual HRESULT STDMETHODCALLTYPE GetGameStatistics(
491 GAMESTATS_OPEN_TYPE openType,
492 __RPC__out GAMESTATS_OPEN_RESULT *pOpenResult,
495 virtual HRESULT STDMETHODCALLTYPE RemoveGameStatistics(
503 typedef struct IGameStatisticsMgrVtbl
507 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
511 _COM_Outptr_
void **ppvObject);
513 ULONG ( STDMETHODCALLTYPE *AddRef )(
516 ULONG ( STDMETHODCALLTYPE *
Release )(
519 HRESULT ( STDMETHODCALLTYPE *GetGameStatistics )(
522 GAMESTATS_OPEN_TYPE openType,
523 __RPC__out GAMESTATS_OPEN_RESULT *pOpenResult,
526 HRESULT ( STDMETHODCALLTYPE *RemoveGameStatistics )(
531 } IGameStatisticsMgrVtbl;
535 CONST_VTBL
struct IGameStatisticsMgrVtbl *lpVtbl;
543 #define IGameStatisticsMgr_QueryInterface(This,riid,ppvObject) \ 544 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 546 #define IGameStatisticsMgr_AddRef(This) \ 547 ( (This)->lpVtbl -> AddRef(This) ) 549 #define IGameStatisticsMgr_Release(This) \ 550 ( (This)->lpVtbl -> Release(This) ) 553 #define IGameStatisticsMgr_GetGameStatistics(This,GDFBinaryPath,openType,pOpenResult,ppiStats) \ 554 ( (This)->lpVtbl -> GetGameStatistics(This,GDFBinaryPath,openType,pOpenResult,ppiStats) ) 556 #define IGameStatisticsMgr_RemoveGameStatistics(This,GDFBinaryPath) \ 557 ( (This)->lpVtbl -> RemoveGameStatistics(This,GDFBinaryPath) ) 570 #ifndef __IGameExplorer2_INTERFACE_DEFINED__ 571 #define __IGameExplorer2_INTERFACE_DEFINED__ 577 EXTERN_C
const IID IID_IGameExplorer2;
579 #if defined(__cplusplus) && !defined(CINTERFACE) 581 MIDL_INTERFACE(
"86874AA7-A1ED-450d-A7EB-B89E20B2FFF3")
585 virtual HRESULT STDMETHODCALLTYPE InstallGame(
588 GAME_INSTALL_SCOPE installScope) = 0;
590 virtual HRESULT STDMETHODCALLTYPE UninstallGame(
593 virtual HRESULT STDMETHODCALLTYPE CheckAccess(
602 typedef struct IGameExplorer2Vtbl
606 HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
610 _COM_Outptr_
void **ppvObject);
612 ULONG ( STDMETHODCALLTYPE *AddRef )(
615 ULONG ( STDMETHODCALLTYPE *
Release )(
618 HRESULT ( STDMETHODCALLTYPE *InstallGame )(
622 GAME_INSTALL_SCOPE installScope);
624 HRESULT ( STDMETHODCALLTYPE *UninstallGame )(
628 HRESULT ( STDMETHODCALLTYPE *CheckAccess )(
634 } IGameExplorer2Vtbl;
638 CONST_VTBL
struct IGameExplorer2Vtbl *lpVtbl;
646 #define IGameExplorer2_QueryInterface(This,riid,ppvObject) \ 647 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 649 #define IGameExplorer2_AddRef(This) \ 650 ( (This)->lpVtbl -> AddRef(This) ) 652 #define IGameExplorer2_Release(This) \ 653 ( (This)->lpVtbl -> Release(This) ) 656 #define IGameExplorer2_InstallGame(This,binaryGDFPath,installDirectory,installScope) \ 657 ( (This)->lpVtbl -> InstallGame(This,binaryGDFPath,installDirectory,installScope) ) 659 #define IGameExplorer2_UninstallGame(This,binaryGDFPath) \ 660 ( (This)->lpVtbl -> UninstallGame(This,binaryGDFPath) ) 662 #define IGameExplorer2_CheckAccess(This,binaryGDFPath,pHasAccess) \ 663 ( (This)->lpVtbl -> CheckAccess(This,binaryGDFPath,pHasAccess) ) 677 #ifndef __gameuxLib_LIBRARY_DEFINED__ 678 #define __gameuxLib_LIBRARY_DEFINED__ 684 EXTERN_C
const IID LIBID_gameuxLib;
686 EXTERN_C
const CLSID CLSID_GameExplorer;
694 EXTERN_C
const CLSID CLSID_GameStatistics;
GLuint const GLchar * name
Definition: glext.h:6671
interface IGameExplorer IGameExplorer
Definition: gameux.h:44
const char * pValue
Definition: jsonsax_full.h:952
#define __RPC__inout
Definition: rpcsal.h:214
#define __RPC__in
Definition: rpcsal.h:161
#define __RPC__out
Definition: rpcsal.h:201
typedef HRESULT(WINAPI *PFN_D3D12_SERIALIZE_ROOT_SIGNATURE)(_In_ const D3D12_ROOT_SIGNATURE_DESC *pRootSignature
unsigned char *__RPC_USER BSTR_UserMarshal(__RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR *)
unsigned char *__RPC_USER BSTR_UserMarshal64(__RPC__in unsigned long *, __RPC__inout_xcount(0) unsigned char *, __RPC__in BSTR *)
#define __RPC__deref_out_opt_string
Definition: rpcsal.h:255
unsigned char *__RPC_USER BSTR_UserUnmarshal64(__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 *)
interface DECLSPEC_UUID("C530AD7D-9B16-4395-A979-BA2ECFF83ADD") ID3D10ShaderReflectionType
interface IGameStatistics IGameStatistics
Definition: gameux.h:51
struct GameExplorer GameExplorer
Definition: gameux.h:76
#define __RPC__inout_xcount(size)
Definition: rpcsal.h:220
unsigned long __RPC_USER BSTR_UserSize64(__RPC__in unsigned long *, unsigned long, __RPC__in BSTR *)
RPC_IF_HANDLE __MIDL_itf_gameux_0000_0005_v0_0_c_ifspec
struct GameStatistics GameStatistics
Definition: gameux.h:88
#define __RPC__deref_out_opt
Definition: rpcsal.h:254
static INLINE ULONG Release(void *object)
Definition: dxgi_common.h:253
void __RPC_USER BSTR_UserFree64(__RPC__in unsigned long *, __RPC__in BSTR *)
unsigned int BOOL
Definition: gctypes.h:51
RPC_IF_HANDLE __MIDL_itf_gameux_0000_0005_v0_0_s_ifspec
unsigned char *__RPC_USER BSTR_UserUnmarshal(__RPC__in unsigned long *, __RPC__in_xcount(0) unsigned char *, __RPC__out BSTR *)
#define __RPC__in_string
Definition: rpcsal.h:162
Definition: glslang_tab.cpp:136
interface IGameExplorer2 IGameExplorer2
Definition: gameux.h:65
GLsizei const GLfloat * value
Definition: glext.h:6709
interface IGameStatisticsMgr IGameStatisticsMgr
Definition: gameux.h:58
#define __RPC__deref_opt_inout_opt_string
Definition: rpcsal.h:308
#define __RPC__in_opt
Definition: rpcsal.h:226
#define __RPC__in_xcount(size)
Definition: rpcsal.h:167
unsigned long __RPC_USER BSTR_UserSize(__RPC__in unsigned long *, unsigned long, __RPC__in BSTR *)