shcore: Add GetFeatureEnabledState stub.

Also for Windows PC Health Check.

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:57 -07:00 committed by Alexandre Julliard
parent d9a63101b5
commit 67d0509f2f
3 changed files with 11 additions and 2 deletions

View File

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

View File

@ -2515,3 +2515,12 @@ void WINAPI SubscribeFeatureStateChangeNotification(FEATURE_STATE_CHANGE_SUBSCRI
{
FIXME("(%p, %p, %p) stub\n", subscription, callback, context);
}
/*************************************************************************
* GetFeatureEnabledState [SHCORE.@]
*/
FEATURE_ENABLED_STATE WINAPI GetFeatureEnabledState(UINT32 feature, FEATURE_CHANGE_TIME change_time)
{
FIXME("(%u, %u) stub\n", feature, change_time);
return FEATURE_ENABLED_STATE_DEFAULT;
}

View File

@ -9,7 +9,7 @@
@ stdcall GetCurrentProcessExplicitAppUserModelID(ptr)
@ stdcall GetDpiForMonitor(long long ptr ptr)
@ stub GetDpiForShellUIComponent
# @ stub GetFeatureEnabledState
@ stdcall GetFeatureEnabledState(long long)
# @ stub GetFeatureVariant
@ stdcall GetProcessDpiAwareness(long ptr)
@ stdcall GetProcessReference(ptr)