ntdll/tests: Simplify ProcessImageFileName test.
[wine.git] / include / appmodel.h
blob34da979782dd3bcc0d048aa95080566f25c0b0f8
1 /*
2 * Copyright (C) 2017 Alistair Leslie-Hughes
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 #ifndef _APPMODEL_H_
19 #define _APPMODEL_H_
21 #if defined(__cplusplus)
22 extern "C" {
23 #endif
25 typedef enum AppPolicyProcessTerminationMethod
27 AppPolicyProcessTerminationMethod_ExitProcess = 0,
28 AppPolicyProcessTerminationMethod_TerminateProcess = 1,
29 } AppPolicyProcessTerminationMethod;
31 typedef enum AppPolicyThreadInitializationType
33 AppPolicyThreadInitializationType_None = 0,
34 AppPolicyThreadInitializationType_InitializeWinRT = 1,
35 } AppPolicyThreadInitializationType;
37 typedef enum AppPolicyShowDeveloperDiagnostic
39 AppPolicyShowDeveloperDiagnostic_None = 0,
40 AppPolicyShowDeveloperDiagnostic_ShowUI = 1,
41 } AppPolicyShowDeveloperDiagnostic;
43 typedef enum AppPolicyWindowingModel
45 AppPolicyWindowingModel_None = 0,
46 AppPolicyWindowingModel_Universal = 1,
47 AppPolicyWindowingModel_ClassicDesktop = 2,
48 AppPolicyWindowingModel_ClassicPhone = 3
49 } AppPolicyWindowingModel;
51 LONG WINAPI AppPolicyGetProcessTerminationMethod(HANDLE token, AppPolicyProcessTerminationMethod *policy);
52 LONG WINAPI AppPolicyGetShowDeveloperDiagnostic(HANDLE token, AppPolicyShowDeveloperDiagnostic *policy);
53 LONG WINAPI AppPolicyGetThreadInitializationType(HANDLE token, AppPolicyThreadInitializationType *policy);
54 LONG WINAPI AppPolicyGetWindowingModel(HANDLE processToken, AppPolicyWindowingModel *policy);
56 #if defined(__cplusplus)
58 #endif
60 #endif /* _APPMODEL_H_ */