Share via


IGameStatistics::GetLastPlayedCategory Method

Retrieves the category last set using SetLastPlayedCategory.

Syntax

virtual HRESULT GetLastPlayedCategory(
         UINT *pCategoryIndex
)

Parameters

  • pCategoryIndex
    [out] Retrieves the category matching the last game played by the user.

Return Value

S_OK if the data was retrieved successfully. Standard error codes otherwise.

Requirements

Header: Declared in gameux.h.

See Also

IGameStatistics::SetLastPlayedCategory
IGameStatistics