crt: Add functions to api-ms-win-devices-query for windowscoreheadless_apiset

Signed-off-by: Mark Harmstone <mark@harmstone.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am
index 3fddba0..e22b6cf 100644
--- a/mingw-w64-crt/Makefile.am
+++ b/mingw-w64-crt/Makefile.am
@@ -2986,7 +2986,7 @@
 		%/libapi-ms-win-core-xstate-l2-1-0_windowsapp.a \
 		%/libapi-ms-win-devices-config-l1-1-1_windowsapp.a \
 		%/libapi-ms-win-devices-config-l1-1-2_windowsapp.a \
-		%/libapi-ms-win-devices-query-l1-1-0.a \
+		%/libapi-ms-win-devices-query-l1-1-0_windowsapp.a \
 		%/libapi-ms-win-eventing-classicprovider-l1-1-0_windowsapp.a \
 		%/libapi-ms-win-eventing-consumer-l1-1-0.a \
 		%/libapi-ms-win-eventing-controller-l1-1-0_windowsapp.a \
diff --git a/mingw-w64-crt/lib-common/api-ms-win-devices-query-l1-1-0.def b/mingw-w64-crt/lib-common/api-ms-win-devices-query-l1-1-0.def
index 5d1c7ff..d40aa18 100644
--- a/mingw-w64-crt/lib-common/api-ms-win-devices-query-l1-1-0.def
+++ b/mingw-w64-crt/lib-common/api-ms-win-devices-query-l1-1-0.def
@@ -4,3 +4,11 @@
 
 DevCloseObjectQuery
 DevCreateObjectQuery
+DevCreateObjectQueryFromId
+DevCreateObjectQueryFromIds
+DevFindProperty
+DevFreeObjectProperties
+DevFreeObjects
+DevGetObjectProperties
+DevGetObjects
+DevSetObjectProperties
diff --git a/mingw-w64-crt/lib-common/api-ms-win-devices-query-l1-1-0_windowsapp.def b/mingw-w64-crt/lib-common/api-ms-win-devices-query-l1-1-0_windowsapp.def
new file mode 100644
index 0000000..5d1c7ff
--- /dev/null
+++ b/mingw-w64-crt/lib-common/api-ms-win-devices-query-l1-1-0_windowsapp.def
@@ -0,0 +1,6 @@
+LIBRARY api-ms-win-devices-query-l1-1-0
+
+EXPORTS
+
+DevCloseObjectQuery
+DevCreateObjectQuery
diff --git a/mingw-w64-crt/lib-common/windowsapp.mri b/mingw-w64-crt/lib-common/windowsapp.mri
index c6d8fbc..9ab7086 100644
--- a/mingw-w64-crt/lib-common/windowsapp.mri
+++ b/mingw-w64-crt/lib-common/windowsapp.mri
@@ -154,7 +154,7 @@
 ADDLIB libapi-ms-win-core-xstate-l2-1-0_windowsapp.a
 ADDLIB libapi-ms-win-devices-config-l1-1-1_windowsapp.a
 ADDLIB libapi-ms-win-devices-config-l1-1-2_windowsapp.a
-ADDLIB libapi-ms-win-devices-query-l1-1-0.a
+ADDLIB libapi-ms-win-devices-query-l1-1-0_windowsapp.a
 ADDLIB libapi-ms-win-eventing-classicprovider-l1-1-0_windowsapp.a
 ADDLIB libapi-ms-win-eventing-consumer-l1-1-0.a
 ADDLIB libapi-ms-win-eventing-controller-l1-1-0_windowsapp.a
diff --git a/mingw-w64-crt/lib32/api-ms-win-devices-query-l1-1-0.def b/mingw-w64-crt/lib32/api-ms-win-devices-query-l1-1-0.def
index 96f92c7..e5fb3e5 100644
--- a/mingw-w64-crt/lib32/api-ms-win-devices-query-l1-1-0.def
+++ b/mingw-w64-crt/lib32/api-ms-win-devices-query-l1-1-0.def
@@ -4,3 +4,11 @@
 
 DevCloseObjectQuery@4
 DevCreateObjectQuery@36
+DevCreateObjectQueryFromId@40
+DevCreateObjectQueryFromIds@40
+DevFindProperty@20
+DevFreeObjectProperties@8
+DevFreeObjects@8
+DevGetObjectProperties@28
+DevGetObjects@32
+DevSetObjectProperties@16
diff --git a/mingw-w64-crt/lib32/api-ms-win-devices-query-l1-1-0_windowsapp.def b/mingw-w64-crt/lib32/api-ms-win-devices-query-l1-1-0_windowsapp.def
new file mode 100644
index 0000000..96f92c7
--- /dev/null
+++ b/mingw-w64-crt/lib32/api-ms-win-devices-query-l1-1-0_windowsapp.def
@@ -0,0 +1,6 @@
+LIBRARY api-ms-win-devices-query-l1-1-0
+
+EXPORTS
+
+DevCloseObjectQuery@4
+DevCreateObjectQuery@36