Skip to content

Commit d4b8bff

Browse files
authored
Fix CloseHandle definition (#2440)
1 parent e5c9ad3 commit d4b8bff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Files/Helpers/NativeIoDeviceControlHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static extern bool DeviceIoControl(
4040
IntPtr lpOverlapped
4141
);
4242

43-
[DllImport("api-ms-win-core-io-l1-1-0.dll", SetLastError = true)]
43+
[DllImport("api-ms-win-core-handle-l1-1-0.dll", SetLastError = true)]
4444
[return: MarshalAs(UnmanagedType.Bool)]
4545
public static extern bool CloseHandle(IntPtr hObject);
4646

0 commit comments

Comments
 (0)