Partager via


2.2.45 SERVICE_PRESHUTDOWN_INFO

The SERVICE_PRESHUTDOWN_INFO structure<15> defines the time-out value in milliseconds.

 typedef struct _SERVICE_PRESHUTDOWN_INFO {
   DWORD dwPreshutdownTimeout;
 } SERVICE_PRESHUTDOWN_INFO,
  *LPSERVICE_PRESHUTDOWN_INFO;

dwPreshutdownTimeout: Time, in milliseconds, that the SCM waits for the service to enter the SERVICE_STOPPED state after sending the SERVICE_CONTROL_PRESHUTDOWN message.