Hello,

this is needed by Dolphin.

Best regards
Oleg Tolmatcev
From 5fb27f7788cca0c3625328963513c2ebe5d48c42 Mon Sep 17 00:00:00 2001
From: Oleg Tolmatcev <[email protected]>
Date: Sun, 13 Aug 2023 13:27:22 +0200
Subject: [PATCH] headers: add symbols in cfgmgr32.h

---
 mingw-w64-headers/include/cfgmgr32.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/mingw-w64-headers/include/cfgmgr32.h 
b/mingw-w64-headers/include/cfgmgr32.h
index 5a73af5c..2faf8712 100644
--- a/mingw-w64-headers/include/cfgmgr32.h
+++ b/mingw-w64-headers/include/cfgmgr32.h
@@ -1191,6 +1191,13 @@ typedef DWORD (CALLBACK 
*PCM_NOTIFY_CALLBACK)(HCMNOTIFICATION hNotify, PVOID Con
 #define CM_WaitNoPendingInstallEvents CMP_WaitNoPendingInstallEvents
   DWORD WINAPI CM_WaitNoPendingInstallEvents(DWORD dwTimeout);
 
+#if WINVER >= _WIN32_WINNT_WIN8
+
+  CMAPI CONFIGRET WINAPI CM_Register_Notification(PCM_NOTIFY_FILTER pFilter, 
PVOID pContext, PCM_NOTIFY_CALLBACK pCallback, PHCMNOTIFICATION pNotifyContext);
+  CMAPI CONFIGRET WINAPI CM_Unregister_Notification(HCMNOTIFICATION 
NotifyContext);
+
+#endif // WINVER >= _WIN32_WINNT_WIN8
+
 #define CR_SUCCESS (0x00000000)
 #define CR_DEFAULT (0x00000001)
 #define CR_OUT_OF_MEMORY (0x00000002)
-- 
2.41.0.windows.1

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to