Hi,

The attached patch was contributed to us by Conrad Meyer [1] and adds a
declaration for the function HidD_GetHidGuid [2] to hidsdi.h. Could it
be applied in the mingw-w64 repo?

Regards,

Erik van Pienbroek
Fedora MinGW SIG

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=917400
[2]: http://msdn.microsoft.com/en-us/library/ff538924%28v=vs.85%29.aspx

--- mingw-w64-headers/include/hidsdi.h.orig	2013-05-09 13:02:00.501973553 +0200
+++ mingw-w64-headers/include/hidsdi.h	2013-05-09 13:02:42.189673325 +0200
@@ -41,6 +41,10 @@
 HidD_SetFeature(HANDLE HidDeviceObject, PVOID ReportBuffer,
 		ULONG ReportBufferLength);
 
+  /* http://msdn.microsoft.com/en-us/library/ff538924(v=vs.85).aspx */
+HIDAPI VOID NTAPI
+HidD_GetHidGuid(LPGUID HidGuid);
+
 #ifdef __cplusplus
 }
 #endif
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to