IXtfConsoleControlClient::ShutdownConsole Method

Shuts down the development console.

Syntax

public:
HRESULT ShutdownConsole(
         DWORD dwFlags
)  

Parameters

dwFlags
Type: DWORD 

Flags that specify how to shut down the development console. This is a bitwise-OR combination of the macros listed in the following table.

Value Macro Description
0x1 XTFSHUTDOWN_REBOOT Shut down and reboot the development console.
0x00000002 XTFSHUTDOWN_POWER_MODE_AWARE Shut down and reboot the development console according to the console’s power mode settings.
0x80000000 XTFSHUTDOWN_DEFER Defer shutdown of the development console.

Return value

Type: HRESULT 

HRESULT success or error code.

Requirements

Header: Declared in xtfconsolecontrol.h.

Library: Use xtfconsolecontrol.lib.

See also

Reference

IXtfConsoleControlClient Interface

IXtfConsoleControlClient Members

XtfConsoleControl