共用方式為


IGameStatisticsMgr::RemoveGameStatistics Method

Removes all statistics for a given title (clears the underlying storage).

Syntax

virtual HRESULT RemoveGameStatistics(
         LPCWSTR GDFBinaryPath
)

Parameters

  • GDFBinaryPath
    [in] A string that contains the fully qualified path of the binary that contains the game definition file (GDF). The GDF must be present in the default resource location.

Return Value

Returns S_OK if the games statistics for the title was opened or created successfully.

Requirements

Header: Declared in gameux.h.

See Also

IGameStatisticsMgr::GetGameStatistics
IGameStatisticsMgr
IGameStatistics