From 86ea5bfb4eee650fd05057240d06323937c4dd37 Mon Sep 17 00:00:00 2001 From: Mariusz PluciƄski Date: Sat, 29 May 2010 20:28:26 +0200 Subject: gameux: Add declaration of IGameStatisticsMgr interface --- include/gameux.idl | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/include/gameux.idl b/include/gameux.idl index e77de10..3ee46e7 100644 --- a/include/gameux.idl +++ b/include/gameux.idl @@ -31,6 +31,7 @@ library gameuxLib interface IGameExplorer; interface IGameStatistics; + interface IGameStatisticsMgr; typedef enum { @@ -39,6 +40,18 @@ library gameuxLib GIS_ALL_USERS = 3 } GAME_INSTALL_SCOPE; + typedef enum + { + GAMESTATS_OPEN_OPENORCREATE = 0, + GAMESTATS_OPEN_OPENONLY = 1 + } GAMESTATS_OPEN_TYPE; + + typedef enum + { + GAMESTATS_OPEN_CREATED = 0, + GAMESTATS_OPEN_OPENED = 1 + } GAMESTATS_OPEN_RESULT; + [ object, uuid(E7B2FB72-D728-49B3-A5F2-18EBF5F1349E) @@ -110,6 +123,22 @@ library gameuxLib }; [ + object, + uuid(AFF3EA11-E70E-407d-95DD-35E612C41CE2) + ] + interface IGameStatisticsMgr : IUnknown + { + HRESULT GetGameStatistics( + [string, in] LPCWSTR GDFBinaryPath, + [in] GAMESTATS_OPEN_TYPE openType, + [out] GAMESTATS_OPEN_RESULT* pOpenResult, + [retval, out] IGameStatistics** ppiStats); + + HRESULT RemoveGameStatistics( + [string, in] LPCWSTR GDFBinaryPath); + }; + + [ uuid(9A5EA990-3034-4D6F-9128-01F3C61022BC) ] coclass GameExplorer -- 1.6.2.5