[3/5] gameux: Add declaration of IGameStatistics interface (try 2)

Alexandre Julliard julliard at winehq.org
Mon Jun 7 08:14:46 CDT 2010


Mariusz Pluciński <vshader at gmail.com> writes:

>      [
> +      object,
> +      uuid(3887C9CA-04A0-42ae-BC4C-5FA6C7721145)
> +    ]
> +    interface IGameStatistics : IUnknown
> +    {
> +        HRESULT GetCategoryTitle([in] WORD categoryIndex,
> +                    [out, optional] LPWSTR* pTitle);
> +
> +        HRESULT GetLastPlayedCategory([out] UINT* pCategoryIndex);
> +        
> +        HRESULT GetMaxCategories([out] WORD* pMax);
> +
> +        HRESULT GetMaxCategoryLength([out] UINT* cch);
> +
> +        HRESULT GetMaxNameLength([out] UINT* cch);
> +
> +        HRESULT GetMaxStatsPerCategory([out] WORD* pMax);
> +
> +        HRESULT GetMaxValueLength([out] UINT* cch);
> +
> +        HRESULT GetStatistic([in] WORD categoryIndex,
> +                    [in] WORD statIndex,
> +                    [out, optional] LPWSTR* pName,
> +                    [out, optional] LPWSTR* pValue);
> +
> +        HRESULT Save([in] BOOL trackChanges);
> +
> +        HRESULT SetCategoryTitle([in] WORD categoryIndex,
> +                    [in] LPCWSTR title);
> +
> +        HRESULT SetLastPlayedCategory([in] UINT categoryIndex);
> +
> +        HRESULT SetStatistic([in] WORD categoryIndex,
> +                    [in] WORD statIndex,
> +                    [in, optional] LPCWSTR name,
> +                    [in, optional] LPCWSTR value);

This doesn't match the PSDK.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list