himselfv / viper

Enhanced Windows Service manager application
29 stars 2 forks source link

Support for "Automatic (delayed load)" #22

Closed himselfv closed 5 years ago

himselfv commented 7 years ago

Original report by me.

Windows 7 (or 8, I don't remember) introduced a new start type called "Automatic (delayed load)". This is in fact just "Automatic" with additional "Delay load" flag set elsewhere.

This should be represented in this app similar to how it's done in the standard service manager.

himselfv commented 7 years ago

Added a function to query this value but it's not integrated into the UI at the moment. Many places in the UI assume "start type" is always just dword, and now we'll need to also reference this flag which breaks things. Have to think on this.

himselfv commented 5 years ago

Done by adding a custom StartType=SERVICE_DELAYED_AUTOSTART and functions in TServiceEntry for reading and setting StartTypeEx extended with this possibility.