Paul Chitescu wrote:
Changelog: advapi32: Route all 4 EnumServicesStatus[Ex] calls to a single stub to avoid code duplication
Most of the actual enumeration is common code so it makes sense to
implement it only once.
This is a possible approach. I had intended to just make use of EnumServicesStatusExW from all other functions with some translation in them. Your approach avoids translations at the cost of making the common enumeration function quite a bit more complicated.
I'm not sure which one I like more.
Rolf Kalbermatter