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:
parent
a06af67969
commit
00b57428a5
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue