services: Start SERVICE_FILE_SYSTEM_DRIVER services with winedevice.

Sebastian Lackner sebastian at fds-team.de
Mon Feb 15 23:02:30 CST 2016


Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---

For https://bugs.winehq.org/show_bug.cgi?id=35824

 programs/services/services.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/programs/services/services.c b/programs/services/services.c
index 1335837..53a3846 100644
--- a/programs/services/services.c
+++ b/programs/services/services.c
@@ -631,7 +631,8 @@ static DWORD get_service_binary_path(const struct service_entry *service_entry,
 
     ExpandEnvironmentStringsW(service_entry->config.lpBinaryPathName, *path, size);
 
-    if (service_entry->config.dwServiceType == SERVICE_KERNEL_DRIVER)
+    if (service_entry->config.dwServiceType == SERVICE_KERNEL_DRIVER ||
+        service_entry->config.dwServiceType == SERVICE_FILE_SYSTEM_DRIVER)
     {
         static const WCHAR winedeviceW[] = {'\\','w','i','n','e','d','e','v','i','c','e','.','e','x','e',' ',0};
         WCHAR system_dir[MAX_PATH];
-- 
2.7.1



More information about the wine-patches mailing list