Hans Leidekker hans@codeweavers.com writes:
ENUM_SERVICE_STATUSW and ENUM_SERVICE_STATUS_PROCESSW embed pointers so we cannot use these structures on Wow64, where the service manager runs as a 64-bit process and the querying process can be 32-bit.
You should still keep the proper structure layout, for instance by using LONG_PTRs instead. You definitely don't want to make two server calls for every request.