kernelbase: Add AppPolicyGetShowDeveloperDiagnostic 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
825d5c8641
commit
a06af67969
|
@ -3,7 +3,7 @@
|
|||
@ stub AppPolicyGetLifecycleManagement
|
||||
@ stub AppPolicyGetMediaFoundationCodecLoading
|
||||
@ stdcall AppPolicyGetProcessTerminationMethod(ptr ptr) kernelbase.AppPolicyGetProcessTerminationMethod
|
||||
@ stub AppPolicyGetShowDeveloperDiagnostic
|
||||
@ stdcall AppPolicyGetShowDeveloperDiagnostic(ptr ptr) kernelbase.AppPolicyGetShowDeveloperDiagnostic
|
||||
@ stdcall AppPolicyGetThreadInitializationType(ptr ptr) kernelbase.AppPolicyGetThreadInitializationType
|
||||
@ stub AppPolicyGetWindowingModel
|
||||
@ stub GetApplicationUserModelIdFromToken
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
# @ stub AppPolicyGetLifecycleManagement
|
||||
# @ stub AppPolicyGetMediaFoundationCodecLoading
|
||||
@ stdcall AppPolicyGetProcessTerminationMethod(ptr ptr)
|
||||
# @ stub AppPolicyGetShowDeveloperDiagnostic
|
||||
@ stdcall AppPolicyGetShowDeveloperDiagnostic(ptr ptr)
|
||||
@ stdcall AppPolicyGetThreadInitializationType(ptr ptr)
|
||||
# @ stub AppPolicyGetWindowingModel
|
||||
# @ stub AppXFreeMemory
|
||||
|
|
|
@ -49,6 +49,20 @@ LONG WINAPI AppPolicyGetThreadInitializationType(HANDLE token, AppPolicyThreadIn
|
|||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* AppPolicyGetShowDeveloperDiagnostic (KERNELBASE.@)
|
||||
*/
|
||||
LONG WINAPI AppPolicyGetShowDeveloperDiagnostic(HANDLE token, AppPolicyShowDeveloperDiagnostic *policy)
|
||||
{
|
||||
FIXME("%p, %p\n", token, policy);
|
||||
|
||||
if(policy)
|
||||
*policy = AppPolicyShowDeveloperDiagnostic_ShowUI;
|
||||
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* QuirkIsEnabled3 (KERNELBASE.@)
|
||||
*/
|
||||
|
|
|
@ -34,7 +34,14 @@ typedef enum AppPolicyThreadInitializationType
|
|||
AppPolicyThreadInitializationType_InitializeWinRT = 1,
|
||||
} AppPolicyThreadInitializationType;
|
||||
|
||||
typedef enum AppPolicyShowDeveloperDiagnostic
|
||||
{
|
||||
AppPolicyShowDeveloperDiagnostic_None = 0,
|
||||
AppPolicyShowDeveloperDiagnostic_ShowUI = 1,
|
||||
} AppPolicyShowDeveloperDiagnostic;
|
||||
|
||||
LONG WINAPI AppPolicyGetProcessTerminationMethod(HANDLE token, AppPolicyProcessTerminationMethod *policy);
|
||||
LONG WINAPI AppPolicyGetShowDeveloperDiagnostic(HANDLE token, AppPolicyShowDeveloperDiagnostic *policy);
|
||||
LONG WINAPI AppPolicyGetThreadInitializationType(HANDLE token, AppPolicyThreadInitializationType *policy);
|
||||
|
||||
#if defined(__cplusplus)
|
||||
|
|
Loading…
Reference in New Issue