IDebugClient3::OutputServers 方法 (dbgeng.h)

OutputServers 方法列出在给定计算机上运行的服务器。

语法

HRESULT OutputServers(
  [in] ULONG OutputControl,
  [in] PCSTR Machine,
  [in] ULONG Flags
);

参数

[in] OutputControl

指定输出服务器时要使用的输出控件。 有关可能的值,请参阅 DEBUG_OUTCTL_XXX

[in] Machine

指定将列出其服务器的计算机的名称。 计算机 具有以下形式:

\\computername

[in] Flags

指定确定要输出的服务器的位集。 可能的位标志为:

标志 描述
DEBUG_SERVERS_DEBUGGER 在计算机上输出调试服务器。
DEBUG_SERVERS_PROCESS 在计算机上输出进程服务器。

返回值

此方法也可能返回错误值。 有关更多详细信息 ,请参阅返回值

返回代码 说明
S_OK
方法成功。

注解

有关远程调试的详细信息,请参阅 远程调试

要求

要求
目标平台 桌面
标头 dbgeng.h (包括 Dbgeng.h)

另请参阅

ConnectProcessServer

DebugConnect

IDebugClient

IDebugClient2

IDebugClient3

IDebugClient4

IDebugClient5

StartProcessServer

StartServer