The WaitForProcessServerEnd method waits for a local process server to exit.
HRESULT WaitForProcessServerEnd( ULONG 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.
This method may also return error values. See Return Values for more details.
||The method was successful.|
||A time-out occurred -- Timeout milliseconds passed without a local process server exiting.|
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.
|Header||dbgeng.h (include Dbgeng.h, Winbase.h)|