kernelbase: Add AppPolicyGetProcessTerminationMethod 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:42 +00:00 committed by Alexandre Julliard
parent 85b3df00ab
commit ed4c5c7864
3 changed files with 18 additions and 2 deletions

View File

@ -2,7 +2,7 @@
@ stub AppPolicyGetCreateFileAccess
@ stub AppPolicyGetLifecycleManagement
@ stub AppPolicyGetMediaFoundationCodecLoading
@ stub AppPolicyGetProcessTerminationMethod
@ stdcall AppPolicyGetProcessTerminationMethod(ptr ptr) kernelbase.AppPolicyGetProcessTerminationMethod
@ stub AppPolicyGetShowDeveloperDiagnostic
@ stub AppPolicyGetThreadInitializationType
@ stub AppPolicyGetWindowingModel

View File

@ -44,7 +44,7 @@
# @ stub AppPolicyGetCreateFileAccess
# @ stub AppPolicyGetLifecycleManagement
# @ stub AppPolicyGetMediaFoundationCodecLoading
# @ stub AppPolicyGetProcessTerminationMethod
@ stdcall AppPolicyGetProcessTerminationMethod(ptr ptr)
# @ stub AppPolicyGetShowDeveloperDiagnostic
# @ stub AppPolicyGetThreadInitializationType
# @ stub AppPolicyGetWindowingModel

View File

@ -16,10 +16,26 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "windows.h"
#include "appmodel.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(kernelbase);
/***********************************************************************
* AppPolicyGetProcessTerminationMethod (KERNELBASE.@)
*/
LONG WINAPI AppPolicyGetProcessTerminationMethod(HANDLE token, AppPolicyProcessTerminationMethod *policy)
{
FIXME("%p, %p\n", token, policy);
if(policy)
*policy = AppPolicyProcessTerminationMethod_ExitProcess;
return ERROR_SUCCESS;
}
/***********************************************************************
* QuirkIsEnabled3 (KERNELBASE.@)
*/