From 10a5414afe5513956f2f30adda0fa93c687a154c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariusz=20Pluci=C5=84ski?= Date: Sat, 29 May 2010 20:28:26 +0200 Subject: [PATCH] gameux: Add declaration of IGameStatisticsMgr interface. --- include/gameux.idl | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/include/gameux.idl b/include/gameux.idl index b531fed97aa..07b98703354 100644 --- a/include/gameux.idl +++ b/include/gameux.idl @@ -39,6 +39,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) @@ -109,6 +121,22 @@ library gameuxLib [retval, out] UINT* pCategoryIndex); }; + [ + 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) ]