This function requests that Embed stop a simulation.
EXPORT32 void PASCAL EXPORT stopSimulation( int stopVal);
If stopVal is 1, the current simulation run is stopped. If you have activated the Auto Restart parameter under the Range tab in dialog box for the System > System Properties command, Embed starts the next simulation run. If stopVal is 2, all simulation runs are stopped.