Win32: Rewrite the service wrapper