IGameExplorer::RemoveGame Method

Removes an instance of a game from Games Explorer. Also removes permissions for the game from parental controls, as well as for any related rich media settings.

Syntax

HRESULT RemoveGame(
         GUID guidInstanceID
)

Parameters

  • guidInstanceID
    [in] GUID of the InstanceID associated with the game to be removed.

Return Value

Returns an HRESULT. Use the SUCCEEDED and FAILED macros to test the return value of this function.

Remarks

This function does not remove the tasks associated with an instance of a supported game. For older titles, this function attempts to remove the tasks, and fails without an error if no tasks exist.

Requirements

Header: Declared in GameUX.h.