object = QueryServiceConfig2(hService, InfoLevel )
Retrieves advanced service configuration options
InfoLevel | Type of value returned |
SERVICE_CONFIG_DESCRIPTION | Unicode string |
SERVICE_CONFIG_FAILURE_ACTIONS | Dict representing a SERVICE_FAILURE_ACTIONS struct |
SERVICE_CONFIG_DELAYED_AUTO_START_INFO | Boolean |
SERVICE_CONFIG_FAILURE_ACTIONS_FLAG | Boolean |
SERVICE_CONFIG_PRESHUTDOWN_INFO | int (shutdown timeout in milliseconds) |
SERVICE_CONFIG_SERVICE_SID_INFO | int (SERVICE_SID_TYPE_*) |
SERVICE_CONFIG_REQUIRED_PRIVILEGES_INFO | List of unicode strings |