IGameExplorer::RemoveGame 

IGameExplorer::RemoveGame

Note    This documentation is preliminary and is subject to change.

Unregisters an instance of a game from the Game Explorer. Also removes parental controls permissions for the game and 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

This function 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 legacy titles, this function will attempt to remove the tasks, and fail without an error if no tasks exist.

Requirements

Header: Declared in GameUX.h.

See Also

Game Explorer Task System