IGameStatistics::GetCategoryTitle Method
Retrieves the title for the indexed statistics category.
c++
virtual HRESULT GetCategoryTitle(
WORD categoryIndex,
LPWSTR *pTitle
)
- categoryIndex
[in] Index of the category you wish to retrieve. - pTitle
[out, optional] Receives the title name, if set.
Returns S_OK if successful. Otherwise, returns E_INVALIDARG if pTitle is NULL or categoryIndex is out of range.
Uninitialized statistics categories will return a NULL pointer. The returned title should be freed using CoTaskMemFree.
Header: Declared in gameux.h.