INtime SDK Help
ntxTerminateRtProcess
INtime SDK v7.1 > About INtime > INtime Kernel > Processes > ntxTerminateRtProcess

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
);

Parameters

hProcess
An NTXHANDLE for the target process.

Return Values

E_OK
Success
Any Other Status Code
Failure.

Status

E_OK 0x0000
No exceptional conditions occurred.
E_EXIST
Handle was not a valid process handle, or process was not ready to receive TERMINATE message.

Remarks

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.

Requirements

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

See Also

Processes, DeleteRtProcess, RtNotifyEvent