Adds a development console to the IXtfConsoleManager.
public:
HRESULT AddConsole(
LPCWSTR pszAlias,
LPCWSTR pszAddress,
XTF_ADD_CONSOLE_FLAGS dwFlags
)
pszAlias
Type: LPCWSTR
Pointer to the name of the console to add.
pszAddress
Type: LPCWSTR
Pointer to the tools IP address of the console to add.
dwFlags
Type: XTF_ADD_CONSOLE_FLAGS
Flags that specify how to add the console. This is a bitwise-OR combination of the macros listed in the following table.
| Value | Macro | Description |
|---|---|---|
| 0 | XTF_ADD_CONSOLE_FLAGS_NONE | No flags. |
| 0x1 | XTF_ADD_CONSOLE_FLAGS_SETDEFAULT | Default flags. |
Type: HRESULT
HRESULT success or error code.
Header: Declared in xtfconsolemanager.h.
Library: Use xtfconsolemanager.lib.