共用方式為


2.2.19 SC_ACTION

The SC_ACTION structure defines an action that the SCM can perform.

 typedef struct {
   SC_ACTION_TYPE Type;
   DWORD Delay;
 } SC_ACTION,
  *LPSC_ACTION;

Type: The action to be performed. This member MUST be one of the values from the SC_ACTION_TYPE (section 2.2.18) enumeration.

Delay: The time, in milliseconds, to wait before performing the specified action.