Commit f2ad6305 authored by Mariusz Pluciński's avatar Mariusz Pluciński Committed by Alexandre Julliard

gameux: Add declaration of IGameStatistics interface.

parent 4a6ed210
...@@ -54,7 +54,59 @@ library gameuxLib ...@@ -54,7 +54,59 @@ library gameuxLib
HRESULT UpdateGame([in] GUID instanceID); HRESULT UpdateGame([in] GUID instanceID);
HRESULT VerifyAccess([in] BSTR sGDFBinaryPath, [out] BOOL* pHasAccess); HRESULT VerifyAccess([in] BSTR sGDFBinaryPath,
[out] BOOL* pHasAccess);
};
[
object,
uuid(3887C9CA-04A0-42ae-BC4C-5FA6C7721145)
]
interface IGameStatistics : IUnknown
{
HRESULT GetMaxCategoryLength(
[retval, out] UINT* cch);
HRESULT GetMaxNameLength(
[retval, out] UINT* cch);
HRESULT GetMaxValueLength(
[retval, out] UINT* cch);
HRESULT GetMaxCategories(
[retval, out] WORD* pMax);
HRESULT GetMaxStatsPerCategory(
[retval, out] WORD* pMax);
HRESULT SetCategoryTitle(
[in] WORD categoryIndex,
[string, in] LPCWSTR title);
HRESULT GetCategoryTitle(
[in] WORD categoryIndex,
[retval, string, out] LPWSTR* pTitle);
HRESULT GetStatistic(
[in] WORD categoryIndex,
[in] WORD statIndex,
[string, unique, out, in] LPWSTR* pName,
[string, unique, out, in] LPWSTR* pValue);
HRESULT SetStatistic(
[in] WORD categoryIndex,
[in] WORD statIndex,
[string, in] LPCWSTR name,
[string, in] LPCWSTR value);
HRESULT Save(
[in] BOOL trackChanges);
HRESULT SetLastPlayedCategory(
[in] UINT categoryIndex);
HRESULT GetLastPlayedCategory(
[retval, out] UINT* pCategoryIndex);
}; };
[ [
...@@ -64,4 +116,12 @@ library gameuxLib ...@@ -64,4 +116,12 @@ library gameuxLib
{ {
[default] interface IGameExplorer; [default] interface IGameExplorer;
}; };
[
uuid(DBC85A2C-C0DC-4961-B6E2-D28B62C11AD4)
]
coclass GameStatistics
{
[default] interface IGameStatistics;
};
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment