mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-10-29 11:08:37 -05:00 
			
		
		
		
	src: dll: FspFsctlStartService: return STATUS_NO_SUCH_DEVICE when WinFsp FSD does not exist
This commit is contained in:
		| @@ -212,7 +212,11 @@ static NTSTATUS FspFsctlStartService(VOID) | ||||
|     SvcHandle = OpenServiceW(ScmHandle, DriverName, SERVICE_QUERY_STATUS | SERVICE_START); | ||||
|     if (0 == SvcHandle) | ||||
|     { | ||||
|         Result = FspNtStatusFromWin32(GetLastError()); | ||||
|         LastError = GetLastError(); | ||||
|         if (ERROR_SERVICE_DOES_NOT_EXIST != LastError) | ||||
|             Result = FspNtStatusFromWin32(LastError); | ||||
|         else | ||||
|             Result = STATUS_NO_SUCH_DEVICE; | ||||
|         goto exit; | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user