IDebugClient2::OutputServers method

The OutputServers method lists the servers running on a given computer.

Syntax

HRESULT OutputServers(
  ULONG OutputControl,
  PCSTR Machine,
  ULONG Flags
);

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

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

Return code Description
S_OK
The method was successful.

Remarks

For more information about remote debugging, see Remote Debugging.

Requirements

   
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See Also

ConnectProcessServer

DebugConnect

IDebugClient

IDebugClient2

IDebugClient3

IDebugClient4

IDebugClient5

StartProcessServer

StartServer