Windows: Support correct status codes from service