diff --git a/dlls/api-ms-win-appmodel-runtime-l1-1-2/api-ms-win-appmodel-runtime-l1-1-2.spec b/dlls/api-ms-win-appmodel-runtime-l1-1-2/api-ms-win-appmodel-runtime-l1-1-2.spec index 8ae7f0b4879..f98ec0e2da2 100644 --- a/dlls/api-ms-win-appmodel-runtime-l1-1-2/api-ms-win-appmodel-runtime-l1-1-2.spec +++ b/dlls/api-ms-win-appmodel-runtime-l1-1-2/api-ms-win-appmodel-runtime-l1-1-2.spec @@ -4,7 +4,7 @@ @ stub AppPolicyGetMediaFoundationCodecLoading @ stdcall AppPolicyGetProcessTerminationMethod(ptr ptr) kernelbase.AppPolicyGetProcessTerminationMethod @ stub AppPolicyGetShowDeveloperDiagnostic -@ stub AppPolicyGetThreadInitializationType +@ stdcall AppPolicyGetThreadInitializationType(ptr ptr) kernelbase.AppPolicyGetThreadInitializationType @ stub AppPolicyGetWindowingModel @ stub GetApplicationUserModelIdFromToken @ stub GetPackageFamilyNameFromToken diff --git a/dlls/kernelbase/kernelbase.spec b/dlls/kernelbase/kernelbase.spec index e228497a6ff..85b23237bbc 100644 --- a/dlls/kernelbase/kernelbase.spec +++ b/dlls/kernelbase/kernelbase.spec @@ -46,7 +46,7 @@ # @ stub AppPolicyGetMediaFoundationCodecLoading @ stdcall AppPolicyGetProcessTerminationMethod(ptr ptr) # @ stub AppPolicyGetShowDeveloperDiagnostic -# @ stub AppPolicyGetThreadInitializationType +@ stdcall AppPolicyGetThreadInitializationType(ptr ptr) # @ stub AppPolicyGetWindowingModel # @ stub AppXFreeMemory # @ stub AppXGetApplicationData diff --git a/dlls/kernelbase/main.c b/dlls/kernelbase/main.c index c55c2a75ca8..ff1b2f67623 100644 --- a/dlls/kernelbase/main.c +++ b/dlls/kernelbase/main.c @@ -36,6 +36,19 @@ LONG WINAPI AppPolicyGetProcessTerminationMethod(HANDLE token, AppPolicyProcessT return ERROR_SUCCESS; } +/*********************************************************************** + * AppPolicyGetThreadInitializationType (KERNELBASE.@) + */ +LONG WINAPI AppPolicyGetThreadInitializationType(HANDLE token, AppPolicyThreadInitializationType *policy) +{ + FIXME("%p, %p\n", token, policy); + + if(policy) + *policy = AppPolicyThreadInitializationType_None; + + return ERROR_SUCCESS; +} + /*********************************************************************** * QuirkIsEnabled3 (KERNELBASE.@) */