2.2.22 SC_RPC_CONFIG_INFOW

The SC_RPC_CONFIG_INFOW structure SHOULD<3> define, based on a supplied level, either the service configuration or a list of failure actions. String values are stored as Unicode.

 typedef struct _SC_RPC_CONFIG_INFOW {
   DWORD dwInfoLevel;
   [switch_is(dwInfoLevel)] union {
     [case(1)] 
       LPSERVICE_DESCRIPTIONW psd;
     [case(2)] 
       LPSERVICE_FAILURE_ACTIONSW psfa;
     [case(3)] 
       LPSERVICE_DELAYED_AUTO_START_INFO psda;
     [case(4)] 
       LPSERVICE_FAILURE_ACTIONS_FLAG psfaf;
     [case(5)] 
       LPSERVICE_SID_INFO pssid;
     [case(6)] 
       LPSERVICE_RPC_REQUIRED_PRIVILEGES_INFO psrp;
     [case(7)] 
       LPSERVICE_PRESHUTDOWN_INFO psps;
     [case(8)] 
       PSERVICE_TRIGGER_INFO psti;
     [case(9)] 
       LPSERVICE_PREFERRED_NODE_INFO pspn;
   };
 } SC_RPC_CONFIG_INFOW;

dwInfoLevel: A value that indicates the type of configuration information in the included data.

psd: A structure that contains a description of the service, as specified in section 2.2.35.

psfa: A structure that contains a list of failure actions, as specified in section 2.2.40.

psda: A structure that specifies whether the service is part of the delayed start group, as specified in section 2.2.33.

psfaf: A structure that specifies whether failure actions are queued when the service exits with a nonzero error code, as specified in section 2.2.41.

pssid: A structure that defines the type of service SID, as specified in section 2.2.46.

psrp: A structure that defines the privileges required by the service, as specified in section 2.2.48.

psps: A structure that defines the pre-shutdown settings for the service, as specified in section 2.2.45.

psti: A structure that defines the trigger settings for the service, as specified in section 2.2.54.<4>

pspn: A structure that defines the preferred node information for the service, as specified in section 2.2.55.<5>