advapi32: Route all 4 EnumServicesStatus[Ex] calls to a single stubto avoid code duplication

Rolf Kalbermatter r.kalbermatter at hccnet.nl
Fri May 18 16:14:21 CDT 2007


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




More information about the wine-devel mailing list