IDebugClient::ConnectProcessServer method

The ConnectProcessServer methods connect to a process server.

Syntax


HRESULT ConnectProcessServer(
  [in]  PCSTR    RemoteOptions,
  [out] PULONG64 Server
);

Parameters

RemoteOptions [in]

Specifies how the debugger engine will connect with the process server. These are the same options passed to the -premote option on the WinDbg and CDB command lines. For details on the syntax of this string, see Activating a Smart Client.

Server [out]

Receives a handle for the process server. This handle is used when creating or attaching to processes by using the process server.

Return value

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

Return codeDescription
S_OK

The method was successful.

 

Remarks

For more information about process servers and remote debugging, see Process Servers, Kernel Connection Servers, and Smart Clients.

Requirements

Target platform

Desktop

Header

Dbgeng.h (include Dbgeng.h)

See also

IDebugClient
IDebugClient2
IDebugClient3
IDebugClient4
IDebugClient5
StartProcessServer
DisconnectProcessServer
EndProcessServer
AttachProcess
CreateProcess2
CreateProcessAndAttach2
GetRunningProcessDescription
GetRunningProcessSystemIdByExecutableName
GetRunningProcessSystemIds

 

 

Send comments about this topic to Microsoft

Show: