ReactOS 0.4.16-dev-334-g4d9f67c
appmodel.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS SDK
3 * LICENSE: MIT (https://spdx.org/licenses/MIT)
4 * PURPOSE: Windows AppModel definitions
5 * COPYRIGHT: Copyright 2024 Timo Kreuzer (timo.kreuzer@reactos.org)
6 */
7
8#pragma once
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
15{
19
21{
25
27{
31
33{
39
43LONG
45AppPolicyGetProcessTerminationMethod(
46 _In_ HANDLE processToken,
48
51_Success_(return == ERROR_SUCCESS)
52LONG
54AppPolicyGetThreadInitializationType(
55 _In_ HANDLE processToken,
57
60_Success_(return == ERROR_SUCCESS)
61LONG
63AppPolicyGetShowDeveloperDiagnostic(
64 _In_ HANDLE processToken,
66
69_Success_(return == ERROR_SUCCESS)
70LONG
72AppPolicyGetWindowingModel(
73 _In_ HANDLE processToken,
75
76#ifdef __cplusplus
77} // extern "C"
78#endif
AppPolicyShowDeveloperDiagnostic
Definition: appmodel.h:27
@ AppPolicyShowDeveloperDiagnostic_ShowUI
Definition: appmodel.h:29
@ AppPolicyShowDeveloperDiagnostic_None
Definition: appmodel.h:28
AppPolicyThreadInitializationType
Definition: appmodel.h:21
@ AppPolicyThreadInitializationType_None
Definition: appmodel.h:22
@ AppPolicyThreadInitializationType_InitializeWinRT
Definition: appmodel.h:23
AppPolicyWindowingModel
Definition: appmodel.h:33
@ AppPolicyWindowingModel_ClassicDesktop
Definition: appmodel.h:36
@ AppPolicyWindowingModel_Universal
Definition: appmodel.h:35
@ AppPolicyWindowingModel_None
Definition: appmodel.h:34
@ AppPolicyWindowingModel_ClassicPhone
Definition: appmodel.h:37
AppPolicyProcessTerminationMethod
Definition: appmodel.h:15
@ AppPolicyProcessTerminationMethod_TerminateProcess
Definition: appmodel.h:17
@ AppPolicyProcessTerminationMethod_ExitProcess
Definition: appmodel.h:16
WINBASEAPI _Check_return_ _Out_ AppPolicyProcessTerminationMethod * policy
Definition: appmodel.h:47
#define ERROR_SUCCESS
Definition: deptool.c:10
#define WINBASEAPI
Definition: green.h:8
#define _Success_(c)
Definition: no_sal2.h:84
#define _Check_return_
Definition: no_sal2.h:60
#define _Out_
Definition: no_sal2.h:160
#define _In_
Definition: no_sal2.h:158
long LONG
Definition: pedump.c:60
#define WINAPI
Definition: msvc.h:6