Commit 00b57428 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

kernelbase: Add AppPolicyGetWindowingModel stub.

parent a06af679
......@@ -5,7 +5,7 @@
@ stdcall AppPolicyGetProcessTerminationMethod(ptr ptr) kernelbase.AppPolicyGetProcessTerminationMethod
@ stdcall AppPolicyGetShowDeveloperDiagnostic(ptr ptr) kernelbase.AppPolicyGetShowDeveloperDiagnostic
@ stdcall AppPolicyGetThreadInitializationType(ptr ptr) kernelbase.AppPolicyGetThreadInitializationType
@ stub AppPolicyGetWindowingModel
@ stdcall AppPolicyGetWindowingModel(ptr ptr) kernelbase.AppPolicyGetWindowingModel
@ stub GetApplicationUserModelIdFromToken
@ stub GetPackageFamilyNameFromToken
@ stub GetPackageFullNameFromToken
......
......@@ -47,7 +47,7 @@
@ stdcall AppPolicyGetProcessTerminationMethod(ptr ptr)
@ stdcall AppPolicyGetShowDeveloperDiagnostic(ptr ptr)
@ stdcall AppPolicyGetThreadInitializationType(ptr ptr)
# @ stub AppPolicyGetWindowingModel
@ stdcall AppPolicyGetWindowingModel(ptr ptr)
# @ stub AppXFreeMemory
# @ stub AppXGetApplicationData
# @ stub AppXGetDevelopmentMode
......
......@@ -62,6 +62,18 @@ LONG WINAPI AppPolicyGetShowDeveloperDiagnostic(HANDLE token, AppPolicyShowDevel
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.@)
......
......@@ -40,9 +40,18 @@ typedef enum AppPolicyShowDeveloperDiagnostic
AppPolicyShowDeveloperDiagnostic_ShowUI = 1,
} 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 AppPolicyGetShowDeveloperDiagnostic(HANDLE token, AppPolicyShowDeveloperDiagnostic *policy);
LONG WINAPI AppPolicyGetThreadInitializationType(HANDLE token, AppPolicyThreadInitializationType *policy);
LONG WINAPI AppPolicyGetWindowingModel(HANDLE processToken, AppPolicyWindowingModel *policy);
#if defined(__cplusplus)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment