IXtfConsoleControlClient::ShutdownConsole
Shuts down the development console.Syntax
Parameters
dwFlagsType: DWORD A bitwise-OR combination of flags that specify how to shut down the development console. The following table lists the available flags:
Return value
Type: HRESULT ReturnsS_OK if successful; otherwise, returns an HRESULT error code.
Remarks
This function shuts down the current development console, depending on the combination of flags specified indwFlags. If the system isn’t ready to accept a shutdown request at the time the function is invoked, the function includes retry logic, such as attempting to shut down the console using the Host OS as a fallback if the System OS is not accessible. The function attempts to shut down the console until the function either succeeds or times out after 5 minutes and returns an error.
For more information about shutting down and rebooting a console using XBOX Tools Framework (XTF), see Reboot (xbreboot.exe) (NDA topic).
Requirements
Header: xtfconsolecontrol.h Library: xtfconsolecontrol.lib Supported platforms: Windows (for XBOX console tools)See also
IXtfConsoleControlClientXtfConsoleControl
