Partager via


XtfStartTitleOSByGameConfig

Starts or restarts the Game OS based on the contents of a MicrosoftGame.config file that is stored in memory as a string.

Syntax

HRESULT XtfStartTitleOSByGameConfig(
         PCWSTR address,
         UINT32 flags,
         PCWSTR gameconfigContents
)  

Parameters

address
Type: PCWSTR

[in] The IP address of the console.

flags
Type: UINT32

[in] Currently unused, but reserved for future behavior changes.

gameconfigContents
Type: PCWSTR

[in] The contents of a MicrosoftGame.config file.

Return value

Type: HRESULT

Returns S_OK if successful; otherwise, returns an error code.

Remarks

Use this function to start or restart the game OS based on the contents of a MicrosoftGame.config file that is stored in memory as a string. If a value for address or gameconfigContents isn't specified, an error occurs.

For more information about the contents of a MicrosoftGame.config file, see MicrosoftGame.config Overview.

Requirements

Header: xtfapi.h

Library: XtfApi.lib

Supported platforms: Windows (for Xbox console tools)

See also

XTF Transport Errors (NDA topic)Autorisation obligatoire
Additional Xtf APIs