Here is the fixed patch file. It will be helpful if you maintainers add
these rules in the minge-w64 contribution page.

On Sunday, October 7, 2018, Liu Hao <lh_mo...@126.com> wrote:
> 在 2018/10/7 14:49, Biswapriyo Nath 写道:
>> Patch for new device types in winioctl.h
>>
>
> Please do not submit patches that additionally and meaninglessly alter
> spaces - they shall be left alone. In case of necessity, submit a
> standalone patch.
>
>
> --
> Best regards,
> LH_Mouse
>
From 2e46128f1409f257370c4da3935536f061c2e2dd Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <nathbap...@gmail.com>
Date: Sun, 7 Oct 2018 11:27:07 +0530
Subject: [PATCH] include/winioctl.h: Add new device types.

Signed-off-by: Biswapriyo Nath <nathbap...@gmail.com>
---
 mingw-w64-headers/include/winioctl.h | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/mingw-w64-headers/include/winioctl.h b/mingw-w64-headers/include/winioctl.h
index 8eea890a..044d8783 100644
--- a/mingw-w64-headers/include/winioctl.h
+++ b/mingw-w64-headers/include/winioctl.h
@@ -105,6 +105,32 @@ DEFINE_GUID(GUID_DEVINTERFACE_SERENUM_BUS_ENUMERATOR,0x4D36E978,0xE325,0x11CE,0x
 #define FILE_DEVICE_KSEC 0x00000039
 #define FILE_DEVICE_FIPS 0x0000003A
 #define FILE_DEVICE_INFINIBAND 0x0000003B
+#define FILE_DEVICE_VMBUS 0x0000003E
+#define FILE_DEVICE_CRYPT_PROVIDER 0x0000003F
+#define FILE_DEVICE_WPD 0x00000040
+#define FILE_DEVICE_BLUETOOTH 0x00000041
+#define FILE_DEVICE_MT_COMPOSITE 0x00000042
+#define FILE_DEVICE_MT_TRANSPORT 0x00000043
+#define FILE_DEVICE_BIOMETRIC 0x00000044
+#define FILE_DEVICE_PMI 0x00000045
+#define FILE_DEVICE_EHSTOR 0x00000046
+#define FILE_DEVICE_DEVAPI 0x00000047
+#define FILE_DEVICE_GPIO 0x00000048
+#define FILE_DEVICE_USBEX 0x00000049
+#define FILE_DEVICE_CONSOLE 0x00000050
+#define FILE_DEVICE_NFP 0x00000051
+#define FILE_DEVICE_SYSENV 0x00000052
+#define FILE_DEVICE_VIRTUAL_BLOCK 0x00000053
+#define FILE_DEVICE_POINT_OF_SERVICE 0x00000054
+#define FILE_DEVICE_STORAGE_REPLICATION 0x00000055
+#define FILE_DEVICE_TRUST_ENV 0x00000056
+#define FILE_DEVICE_UCM 0x00000057
+#define FILE_DEVICE_UCMTCPCI 0x00000058
+#define FILE_DEVICE_PERSISTENT_MEMORY 0x00000059
+#define FILE_DEVICE_NVDIMM 0x0000005a
+#define FILE_DEVICE_HOLOGRAPHIC 0x0000005b
+#define FILE_DEVICE_SDFXHCI 0x0000005c
+#define FILE_DEVICE_UCMUCSI 0x0000005d
 
 #define CTL_CODE(DeviceType,Function,Method,Access) (((DeviceType) << 16) | ((Access) << 14) | ((Function) << 2) | (Method))
 
-- 
2.19.0

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to