2.2.21 SC_RPC_CONFIG_INFOA

The SC_RPC_CONFIG_INFOA structure defines the service configuration based on a supplied level. String values are stored in ANSI.

 typedef struct _SC_RPC_CONFIG_INFOA {
   DWORD dwInfoLevel;
   [switch_is(dwInfoLevel)] union {
     [case(1)] 
       LPSERVICE_DESCRIPTIONA psd;
     [case(2)] 
       LPSERVICE_FAILURE_ACTIONSA 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_INFOA;

dwInfoLevel: A DWORD 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.34.

The following structures SHOULD<2> be available:

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

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

psfaf: A structure that defines if 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.

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