mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-10-30 19:48:38 -05:00 
			
		
		
		
	dll: FspFsctlCreateVolume: use FILE_FLAG_OVERLAPPED when opening control device to allow concurrent DeviceIoControl's
This commit is contained in:
		| @@ -52,7 +52,7 @@ FSP_API NTSTATUS FspFsctlCreateVolume(PWSTR DevicePath, | |||||||
|     *DevicePathPtr = L'\0'; |     *DevicePathPtr = L'\0'; | ||||||
|  |  | ||||||
|     VolumeHandle = CreateFileW(DevicePathBuf, |     VolumeHandle = CreateFileW(DevicePathBuf, | ||||||
|         0, FILE_SHARE_READ | FILE_SHARE_WRITE, 0, OPEN_EXISTING, 0, 0); |         0, FILE_SHARE_READ | FILE_SHARE_WRITE, 0, OPEN_EXISTING, FILE_FLAG_OVERLAPPED, 0); | ||||||
|     if (INVALID_HANDLE_VALUE == VolumeHandle) |     if (INVALID_HANDLE_VALUE == VolumeHandle) | ||||||
|     { |     { | ||||||
|         Result = FspNtStatusFromWin32(GetLastError()); |         Result = FspNtStatusFromWin32(GetLastError()); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user