Debugging Tools for Windows

OutputServers

The OutputServers and OutputServersWide methods lists the servers running on a given computer.

HRESULT
  IDebugClient::OutputServers(
    IN ULONG  OutputControl,
    IN PCSTR  Machine,
    IN ULONG  Flags
    );

HRESULT
  IDebugClient5::OutputServersWide(
    IN ULONG  OutputControl,
    IN PCWSTR  Machine,
    IN ULONG  Flags
    );

#ifdef UNICODE
#define OutputServersT OutputServersWide
#else
#define OutputServersT OutputServers
#endif

Parameters

OutputControl
Specifies the output control to use while outputting the servers. For possible values, see DEBUG_OUTCTL_XXX.
Machine
Specifies the name of the computer whose servers will be listed. Machine has the following form:

\\computername

Flags
Specifies a bit-set that determines which servers to output. The possible bit flags are:
Flag Description
DEBUG_SERVERS_DEBUGGER Output the debugging servers on the computer.
DEBUG_SERVERS_PROCESS Output the process servers on the computer.

Return Value

S_OK
The method was successful.

This method may also return error values. See Return Values for more details.

Interface Version

OutputServers is available in all versions of IDebugClient. OutputServersWide is available in IDebugClient5 and later versions.

Comments

For more information about remote debugging, see Remote Debugging.

Requirements

Headers: Defined in dbgeng.h. Include dbgeng.h.

See Also

StartServer, DebugConnect, StartProcessServer, ConnectProcessServer

Build machine: CAPEBUILD