Debugging Tools for Windows |
The ConnectProcessServer and ConnectProcessServerWide methods connect to a process server.
HRESULT
IDebugClient::ConnectProcessServer(
IN PCSTR RemoteOptions,
OUT PULONG64 Server
);
HRESULT
IDebugClient5::ConnectProcessServerWide(
IN PCWSTR RemoteOptions,
OUT PULONG64 Server
);
#ifdef UNICODE
#define ConnectProcessServerT ConnectProcessServerWide
#else
#define ConnectProcessServerT ConnectProcessServer
#endif
This method may also return error values. See Return Values for more details.
ConnectProcessServer is available in all versions of IDebugClient. ConnectProcessServerWide is available in IDebugClient5 and later versions.
For more information about process servers and remote debugging, see Process Servers, Kernel Connection Servers, and Smart Clients.
Headers: Defined in dbgeng.h. Include dbgeng.h.
StartProcessServer, DisconnectProcessServer, EndProcessServer, AttachProcess, CreateProcess2, CreateProcessAndAttach2, GetRunningProcessDescription, GetRunningProcessSystemIdByExecutableName, GetRunningProcessSystemIds