| 1 | = KillProcess = |
| 2 | Kill the specified process |
| 3 | |
| 4 | {{{ |
| 5 | void KillProcess(int nPid); |
| 6 | }}} |
| 7 | |
| 8 | == Parameters == |
| 9 | |
| 10 | * nPid - process ID of the process to kill |
| 11 | |
| 12 | == Return Value == |
| 13 | |
| 14 | Function does not return a result. |
| 15 | |
| 16 | == Remarks == |
| 17 | |
| 18 | |
| 19 | == Examples == |
| 20 | |
| 21 | {{{ |
| 22 | int n = GetProcessID("wtsvr"); |
| 23 | if(n != 0) |
| 24 | { |
| 25 | // This will kill the weight server process |
| 26 | KillProcess(n); |
| 27 | } |
| 28 | }}} |
| 29 | |
| 30 | == See Also == |
| 31 | |
| 32 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Display/GetProcessID GetProcessID] |
| 33 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Display/GetProcessIDExcludeSelf GetProcessIDExcludeSelf] |
| 34 | |
| 35 | |