Waits for a process indicated by the given handle to terminate.
Visual Basic
Function ntxWaitForRtProcess(
ByVal hWait As Integer,
ByVal dwMilliseconds As Integer,
ByRef pdwExitCode as Integer )
Function ntxWaitForRtProcess(
ByVal hWait As Integer,
ByVal dwMilliseconds As Integer,
ByRef phProcess as Integer,
ByRef pdwExitCode as Integer )
C#
void ntxWaitForRtProcess(
Int32 hWait,
Int32 dwMilliseconds,
ref Int32 pdwExitCode )
void ntxWaitForRtProcess(
Int32 hWait,
Int32 dwMilliseconds,
ref Int32 phProcess,
ref Int32 pdwExitCode )
hWaitdwMillisecondsNO_WAIT |
The thread does not wait. |
INFINITE |
The thread waits for its request to be fully satisfied. |
| Any positive integer | Calling thread goes to sleep for this many milliseconds, after which it awakes. |
pdwExitCodephProcessE_OK 0x0000E_TIME 0x0001E_TYPE 0x8002hLocation is not a valid locationE_EXIST 0x0006hLocation is not a handle for a valid object| Versions | Defined in | Include | Link to |
|---|---|---|---|
| INtime 6.1 | intime/nt/include/ntx.h | ntx.h | ntxext.lib |