The stopserviceevent function returns the handle associated with the StopServiceEvent that is sent to services as a signal to stop running. This function returns zero if the program is not a service. The type of the value returned by this function is always word. This function is usually used with the wait function in services to repond to requests to stop running. See the Irie Pascal User's Manual for more information about writing services.
Operating Systems: All Standard Pascal: No