Share via


IGameExplorer::RemoveGame

Bb173438.XDK_CHM_BANNER_left(en-us,VS.85).jpg Bb173438.XDK_CHM_BANNER_right(en-us,VS.85).jpg

IGameExplorer::RemoveGame

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

  HRESULT 
  RemoveGame(
  GUID guidInstanceID
);

Parameters

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

Return Values

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.

See Also

Game Explorer Task System