IDebugClient4::WaitForProcessServerEnd method (dbgeng.h)
The WaitForProcessServerEnd method waits for a local process server to exit.
Syntax
HRESULT WaitForProcessServerEnd(
[in] ULONG Timeout
);
Parameters
[in] 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 |
---|---|
|
The method was successful. |
|
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
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h, Winbase.h) |