IGameStatistics::Save Method
Saves all changes made since the interface was created.
Syntax
virtual HRESULT Save(
BOOL trackChanges
)
Parameters
- trackChanges
[in] If TRUE, the system will first check if the underlying storage has been modified since it was last loaded.
Return Value
Returns S_OK if the data was saved successfully. Returns E_FAIL if trackChanges is TRUE and the file has changed since it was last loaded.
Remarks
If another process has changed the file since it was originally loaded, the Save operation will fail with return code E_FAIL.
Requirements
Header: Declared in gameux.h.