Attempts to terminate a real-time process by sending the TERMINATE message to that process. Does not attempt to delete the process object if the message fails.
NTXSTATUS ntxTerminateRtProcess(
NTXHANDLE hProcess
);
hProcess
E_OK
Any Other Status Code
E_OK 0x0000
E_EXIST
Any thread in the target real-time process which is waiting in a RtNotifyEvent loop will receive the TERMINATE message. Otherwise the call will have no effect.
| Versions | Defined in | Include | Link to |
|---|---|---|---|
| INtime 3.1 | intime/rt/include/ntx.h | ntx.h | ntx.lib |
| INtime 4.01 (for 64-bit Windows) | intime/rt/include/ntx.h | ntx.h | ntx64.lib |