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 )
hWait
dwMilliseconds
NO_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. |
pdwExitCode
phProcess
E_OK 0x0000
E_TIME 0x0001
E_TYPE 0x8002
hLocation
is not a valid location
E_EXIST 0x0006
hLocation
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 |