This function is called within a loop until the service is paused or stopped by the Service Control Manager. This is the main processing function for the service.
Arguments:
None
Return:
Number of milliseconds until the next call. Returning zero will cause the service to stop.
Usage:
This function is the main loop of the service. You would add code here to do something and then return the number of milliseconds until the next of_run call. Usually you would have something like this as the last line.
Return Seconds(5)