IDebugClient2::WaitForProcessServerEnd method

The WaitForProcessServerEnd method waits for a local process server to exit.

Syntax

HRESULT WaitForProcessServerEnd(
  ULONG Timeout
);

Parameters

Timeout

Specifies how long in milliseconds to wait for a process server to exit. If Timeout is INFINITE, this method will not return until a process server has ended.

Return Value

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

Return code Description
S_OK
The method was successful.
S_FALSE
A time-out occurred -- Timeout milliseconds passed without a local process server exiting.

Remarks

This method will only wait for the first local process server to end. After a process server has ended, subsequent calls to this method will return immediately.

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

The constant INFINITE is defined in Winbase.h.

Requirements

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

See Also

EndProcessServer

IDebugClient2

IDebugClient3

IDebugClient4

IDebugClient5

StartProcessServer