Lines Matching defs:state
31 uint32 *state )
49 *state = service_status.state;
68 uint32 state = 0;
73 while ( (state != watch_state ) && i<30 ) {
76 result = query_service_state(pipe_hnd, mem_ctx, hSCM, service, &state );
87 *final_state = state;
105 uint32 state = 0;
127 /* loop -- checking the state until we are where we want to be */
129 result = watch_service_state(pipe_hnd, mem_ctx, hSCM, service, watch_state, &state );
131 d_printf("%s service is %s.\n", service, svc_status_string(state));
244 d_printf("%s service is %s.\n", servicename, svc_status_string(service_status.state));
423 uint32 state = 0;
458 result = watch_service_state(pipe_hnd, mem_ctx, &hSCM, servicename, SVCCTL_RUNNING, &state );
460 if ( W_ERROR_IS_OK(result) && (state == SVCCTL_RUNNING) )