lib/daemon-windows.c
/* Return 'true' if the Windows services manager has called the
 * control_handler() and asked the program to terminate. */
Return 'true' if the Windows services manager has called the
control_handler() and asked the program to terminate.
Return ' true ' if the Windows services manager has called the control_handler () and asked the program to terminate .
bool
should_service_stop(void)
{
    if (service_started) {
        if (service_status.dwCurrentState != SERVICE_RUNNING) {
            return true;
        } else {
            poll_wevent_wait(wevent);
        }
    }
    return false;
}
bool should_service_stop ( void ) { if ( service_started ) { if ( service_status . dwCurrentState != SERVICE_RUNNING ) { return true ; } else { poll_wevent_wait ( wevent ) ; } } return false ; }
Return 'true' if the Windows services manager has called the
 control_handler() and asked the program to terminate.
Return ' true ' if the Windows services manager has called the control_handler () and asked the program to terminate .