shcore: Add SubscribeFeatureStateChangeNotification stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52077
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2021-11-21 22:02:56 -07:00 committed by Alexandre Julliard
parent 35d6f414ad
commit d9a63101b5
3 changed files with 12 additions and 2 deletions

View File

@ -1,5 +1,5 @@
@ stub GetFeatureEnabledState
@ stub RecordFeatureError
@ stub RecordFeatureUsage
@ stub SubscribeFeatureStateChangeNotification
@ stdcall SubscribeFeatureStateChangeNotification(ptr ptr ptr) shcore.SubscribeFeatureStateChangeNotification
@ stub UnsubscribeFeatureStateChangeNotification

View File

@ -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);
}

View File

@ -92,7 +92,7 @@
@ stdcall SetCurrentProcessExplicitAppUserModelID(wstr)
@ stdcall SetProcessDpiAwareness(long)
@ stdcall SetProcessReference(ptr)
# @ stub SubscribeFeatureStateChangeNotification
@ stdcall SubscribeFeatureStateChangeNotification(ptr ptr ptr)
@ stub UnregisterScaleChangeEvent
# @ stub UnsubscribeFeatureStateChangeNotification