This patch adds infstr.h and four of the macros that are supposed to be defined
in it. This is not a complete implementation of infstr.h, but it includes the
macros needed to compile devcon, a program distributed by Microsoft. It would
be nice to get this merged in. Thanks!
--David
diff --git a/mingw-w64-headers/include/infstr.h
b/mingw-w64-headers/include/infstr.h
new file mode 100644
index 0000000..879f8a8
--- /dev/null
+++ b/mingw-w64-headers/include/infstr.h
@@ -0,0 +1,20 @@
+/**
+ * This file has no copyright assigned and is placed in the Public Domain.
+ * This file is part of the mingw-w64 runtime package.
+ * No warranty is given; refer to the file DISCLAIMER.PD within this package.
+ */
+
+#ifndef _INC_INFSTR
+#define _INC_INFSTR
+
+#include <winapifamily.h>
+
+#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
+
+#define INFSTR_SECT_VERSION TEXT("Version")
+#define INFSTR_KEY_PROVIDER TEXT("Provider")
+#define INFSTR_KEY_HARDWARE_CLASSGUID TEXT("ClassGUID")
+#define INFSTR_DRIVERVERSION_SECTION TEXT("DriverVer")
+
+#endif
+#endif
------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public