<Retrieve process id from window words>
rc = DosKillProcess(1, /* Kill only this process */
pidServer); /* Process ID to be killed */
This example shows the use of the DosKillProcess() function to terminate a single process.