+ manager = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
+ ok(manager != NULL, "can't open service manager %u\n", GetLastError());
+ if (!manager) return;
+
+ service = CreateServiceA(manager, "TestService3", "TestService3",
+ SERVICE_ALL_ACCESS, SERVICE_WIN32_OWN_PROCESS, SERVICE_DEMAND_START,
+ SERVICE_ERROR_NORMAL, "C:\\doesnt_exist.exe", NULL, NULL, NULL, NULL, NULL);
+ ok(service != NULL, "can't create service %u\n", GetLastError());
+ CloseServiceHandle(service);
+ CloseServiceHandle(manager);
+ if (!service) goto error;
+