Attempts to terminate a real-time process by sending a DSM TERMINATE message to that process.
BOOLEAN TerminateRtProcess( RTHANDLE hProcess, BOOLEAN bForce, DWORD msWait );
hProcess
bForce
msWait
This call waits for msWait
milliseconds before determining whether the call fails. If it fails and the bForce
parameter is TRUE, then an attempt is made to delete the process (for details, see DeleteRtProcess).
For the TERMINATE message to be received successfully, the target process must be programmed to receive DSM messages.
TRUE
FALSE
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.1 | intime/rt/include/rtbase.h | rt.h | rt.lib |