kernelbase: Add AppPolicyGetThreadInitializationType stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2017-10-05 01:20:44 +00:00 committed by Alexandre Julliard
parent ed4c5c7864
commit 825d5c8641
3 changed files with 15 additions and 2 deletions

View File

@ -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

View File

@ -46,7 +46,7 @@
# @ stub AppPolicyGetMediaFoundationCodecLoading
@ stdcall AppPolicyGetProcessTerminationMethod(ptr ptr)
# @ stub AppPolicyGetShowDeveloperDiagnostic
# @ stub AppPolicyGetThreadInitializationType
@ stdcall AppPolicyGetThreadInitializationType(ptr ptr)
# @ stub AppPolicyGetWindowingModel
# @ stub AppXFreeMemory
# @ stub AppXGetApplicationData

View File

@ -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.@)
*/