kernelbase: Add AppPolicyGetWindowingModel 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-06 00:08:58 +00:00 committed by Alexandre Julliard
parent a06af67969
commit 00b57428a5
4 changed files with 23 additions and 2 deletions

View File

@ -5,7 +5,7 @@
@ stdcall AppPolicyGetProcessTerminationMethod(ptr ptr) kernelbase.AppPolicyGetProcessTerminationMethod @ stdcall AppPolicyGetProcessTerminationMethod(ptr ptr) kernelbase.AppPolicyGetProcessTerminationMethod
@ stdcall AppPolicyGetShowDeveloperDiagnostic(ptr ptr) kernelbase.AppPolicyGetShowDeveloperDiagnostic @ stdcall AppPolicyGetShowDeveloperDiagnostic(ptr ptr) kernelbase.AppPolicyGetShowDeveloperDiagnostic
@ stdcall AppPolicyGetThreadInitializationType(ptr ptr) kernelbase.AppPolicyGetThreadInitializationType @ stdcall AppPolicyGetThreadInitializationType(ptr ptr) kernelbase.AppPolicyGetThreadInitializationType
@ stub AppPolicyGetWindowingModel @ stdcall AppPolicyGetWindowingModel(ptr ptr) kernelbase.AppPolicyGetWindowingModel
@ stub GetApplicationUserModelIdFromToken @ stub GetApplicationUserModelIdFromToken
@ stub GetPackageFamilyNameFromToken @ stub GetPackageFamilyNameFromToken
@ stub GetPackageFullNameFromToken @ stub GetPackageFullNameFromToken

View File

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

View File

@ -62,6 +62,18 @@ LONG WINAPI AppPolicyGetShowDeveloperDiagnostic(HANDLE token, AppPolicyShowDevel
return ERROR_SUCCESS; return ERROR_SUCCESS;
} }
/***********************************************************************
* AppPolicyGetWindowingModel (KERNELBASE.@)
*/
LONG WINAPI AppPolicyGetWindowingModel(HANDLE token, AppPolicyWindowingModel *policy)
{
FIXME("%p, %p\n", token, policy);
if(policy)
*policy = AppPolicyWindowingModel_ClassicDesktop;
return ERROR_SUCCESS;
}
/*********************************************************************** /***********************************************************************
* QuirkIsEnabled3 (KERNELBASE.@) * QuirkIsEnabled3 (KERNELBASE.@)

View File

@ -40,9 +40,18 @@ typedef enum AppPolicyShowDeveloperDiagnostic
AppPolicyShowDeveloperDiagnostic_ShowUI = 1, AppPolicyShowDeveloperDiagnostic_ShowUI = 1,
} AppPolicyShowDeveloperDiagnostic; } AppPolicyShowDeveloperDiagnostic;
typedef enum AppPolicyWindowingModel
{
AppPolicyWindowingModel_None = 0,
AppPolicyWindowingModel_Universal = 1,
AppPolicyWindowingModel_ClassicDesktop = 2,
AppPolicyWindowingModel_ClassicPhone = 3
} AppPolicyWindowingModel;
LONG WINAPI AppPolicyGetProcessTerminationMethod(HANDLE token, AppPolicyProcessTerminationMethod *policy); LONG WINAPI AppPolicyGetProcessTerminationMethod(HANDLE token, AppPolicyProcessTerminationMethod *policy);
LONG WINAPI AppPolicyGetShowDeveloperDiagnostic(HANDLE token, AppPolicyShowDeveloperDiagnostic *policy); LONG WINAPI AppPolicyGetShowDeveloperDiagnostic(HANDLE token, AppPolicyShowDeveloperDiagnostic *policy);
LONG WINAPI AppPolicyGetThreadInitializationType(HANDLE token, AppPolicyThreadInitializationType *policy); LONG WINAPI AppPolicyGetThreadInitializationType(HANDLE token, AppPolicyThreadInitializationType *policy);
LONG WINAPI AppPolicyGetWindowingModel(HANDLE processToken, AppPolicyWindowingModel *policy);
#if defined(__cplusplus) #if defined(__cplusplus)
} }