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