wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/Process/KillProcess

Version 2 (modified by Don Wilson, 7 years ago) ( diff )

--

KillProcess

Kill the specified process

void KillProcess(int nPid);

Parameters

  • nPid - process ID of the process to kill

Return Value

Function does not return a result.

Remarks

Examples

int n = GetProcessID("wtsvr");
if(n != 0)
{
   // This will kill the weight server process
   KillProcess(n);
}

See Also

Note: See TracWiki for help on using the wiki.