gameux: Add declaration of IGameStatisticsMgr interface.

This commit is contained in:
Mariusz Pluciński 2010-05-29 20:28:26 +02:00 committed by Alexandre Julliard
parent f2ad630540
commit 10a5414afe
1 changed files with 28 additions and 0 deletions

View File

@ -39,6 +39,18 @@ library gameuxLib
GIS_ALL_USERS = 3 GIS_ALL_USERS = 3
} GAME_INSTALL_SCOPE; } 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, object,
uuid(E7B2FB72-D728-49B3-A5F2-18EBF5F1349E) uuid(E7B2FB72-D728-49B3-A5F2-18EBF5F1349E)
@ -109,6 +121,22 @@ library gameuxLib
[retval, out] UINT* pCategoryIndex); [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) uuid(9A5EA990-3034-4D6F-9128-01F3C61022BC)
] ]