IGameStatistics::SetCategoryTitle Method
Retrieves the category title name for the indexed statistics category.
Syntax
virtual HRESULT SetCategoryTitle(
WORD categoryIndex,
LPCWSTR title
)
Parameters
- categoryIndex
[in] The index of the statistics category you wish to set. - title
[in] The statistic title name you wish to set.
Return Value
Returns S_OK if successful. Returns E_INVALIDARG if title is NULL or categoryIndex is out of range.
Remarks
Uninitialized statistics categories will return NULL. The returned title should be freed using CoTaskMemFree.
Requirements
Header: Declared in gameux.h.