[PATCH 2/3] shcore: Add SubscribeFeatureStateChangeNotification stub
Alex Henrie
alexhenrie24 at gmail.com
Sun Nov 21 23:02:56 CST 2021
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52077
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
.../api-ms-win-core-featurestaging-l1-1-0.spec | 2 +-
dlls/shcore/main.c | 10 ++++++++++
dlls/shcore/shcore.spec | 2 +-
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/dlls/api-ms-win-core-featurestaging-l1-1-0/api-ms-win-core-featurestaging-l1-1-0.spec b/dlls/api-ms-win-core-featurestaging-l1-1-0/api-ms-win-core-featurestaging-l1-1-0.spec
index ab5127b7dfd..696e57f695a 100644
--- a/dlls/api-ms-win-core-featurestaging-l1-1-0/api-ms-win-core-featurestaging-l1-1-0.spec
+++ b/dlls/api-ms-win-core-featurestaging-l1-1-0/api-ms-win-core-featurestaging-l1-1-0.spec
@@ -1,5 +1,5 @@
@ stub GetFeatureEnabledState
@ stub RecordFeatureError
@ stub RecordFeatureUsage
-@ stub SubscribeFeatureStateChangeNotification
+@ stdcall SubscribeFeatureStateChangeNotification(ptr ptr ptr) shcore.SubscribeFeatureStateChangeNotification
@ stub UnsubscribeFeatureStateChangeNotification
diff --git a/dlls/shcore/main.c b/dlls/shcore/main.c
index 82b236bb47d..213569b4acf 100644
--- a/dlls/shcore/main.c
+++ b/dlls/shcore/main.c
@@ -27,6 +27,7 @@
#include "winuser.h"
#include "initguid.h"
#include "ocidl.h"
+#include "featurestagingapi.h"
#include "shellscalingapi.h"
#include "shlwapi.h"
@@ -2505,3 +2506,12 @@ BOOL WINAPI IsOS(DWORD feature)
return FALSE;
}
+
+/*************************************************************************
+ * SubscribeFeatureStateChangeNotification [SHCORE.@]
+ */
+void WINAPI SubscribeFeatureStateChangeNotification(FEATURE_STATE_CHANGE_SUBSCRIPTION *subscription,
+ FEATURE_STATE_CHANGE_CALLBACK *callback, void *context)
+{
+ FIXME("(%p, %p, %p) stub\n", subscription, callback, context);
+}
diff --git a/dlls/shcore/shcore.spec b/dlls/shcore/shcore.spec
index a0bc8a2463b..836a90ee5cf 100644
--- a/dlls/shcore/shcore.spec
+++ b/dlls/shcore/shcore.spec
@@ -92,7 +92,7 @@
@ stdcall SetCurrentProcessExplicitAppUserModelID(wstr)
@ stdcall SetProcessDpiAwareness(long)
@ stdcall SetProcessReference(ptr)
-# @ stub SubscribeFeatureStateChangeNotification
+@ stdcall SubscribeFeatureStateChangeNotification(ptr ptr ptr)
@ stub UnregisterScaleChangeEvent
# @ stub UnsubscribeFeatureStateChangeNotification
--
2.34.0
More information about the wine-devel
mailing list