Terminates the process.
HRESULT Terminate( 
   void 
);
int Terminate();
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
When a process is terminated, all programs within that process are terminated; none are allowed to run any more code.