123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719 |
- /* 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
|