mirror of
https://github.com/reactos/reactos
synced 2025-10-06 00:12:51 +02:00
- [INCLUDE/WINE] Add synced Wine headers for the iphlpapi winetest to use. This helps us slowly decouple our headers and wine's headers. - [PSDK] Add definitions we are missing for other winetest syncs. - [WINETESTS][APITESTS] Fix breaking changes, remove duplicate definitions for debugstr_guid.
105 lines
2.3 KiB
C
105 lines
2.3 KiB
C
/*
|
|
* PROJECT: ReactOS SDK
|
|
* LICENSE: MIT (https://spdx.org/licenses/MIT)
|
|
* PURPOSE: Windows AppModel definitions
|
|
* COPYRIGHT: Copyright 2024 Timo Kreuzer (timo.kreuzer@reactos.org)
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef enum AppPolicyProcessTerminationMethod
|
|
{
|
|
AppPolicyProcessTerminationMethod_ExitProcess = 0,
|
|
AppPolicyProcessTerminationMethod_TerminateProcess = 1,
|
|
} AppPolicyProcessTerminationMethod;
|
|
|
|
typedef enum AppPolicyThreadInitializationType
|
|
{
|
|
AppPolicyThreadInitializationType_None = 0,
|
|
AppPolicyThreadInitializationType_InitializeWinRT = 1,
|
|
} AppPolicyThreadInitializationType;
|
|
|
|
typedef enum AppPolicyShowDeveloperDiagnostic
|
|
{
|
|
AppPolicyShowDeveloperDiagnostic_None = 0,
|
|
AppPolicyShowDeveloperDiagnostic_ShowUI = 1,
|
|
} AppPolicyShowDeveloperDiagnostic;
|
|
|
|
typedef enum AppPolicyWindowingModel
|
|
{
|
|
AppPolicyWindowingModel_None = 0,
|
|
AppPolicyWindowingModel_Universal = 1,
|
|
AppPolicyWindowingModel_ClassicDesktop = 2,
|
|
AppPolicyWindowingModel_ClassicPhone = 3
|
|
} AppPolicyWindowingModel;
|
|
|
|
typedef struct PACKAGE_VERSION
|
|
{
|
|
union
|
|
{
|
|
UINT64 Version;
|
|
struct
|
|
{
|
|
USHORT Revision;
|
|
USHORT Build;
|
|
USHORT Minor;
|
|
USHORT Major;
|
|
} DUMMYSTRUCTNAME;
|
|
} DUMMYUNIONNAME;
|
|
} PACKAGE_VERSION;
|
|
|
|
typedef struct PACKAGE_ID
|
|
{
|
|
UINT32 reserved;
|
|
UINT32 processorArchitecture;
|
|
PACKAGE_VERSION version;
|
|
PWSTR name;
|
|
PWSTR publisher;
|
|
PWSTR resourceId;
|
|
PWSTR publisherId;
|
|
} PACKAGE_ID;
|
|
|
|
WINBASEAPI
|
|
_Check_return_
|
|
_Success_(return == ERROR_SUCCESS)
|
|
LONG
|
|
WINAPI
|
|
AppPolicyGetProcessTerminationMethod(
|
|
_In_ HANDLE processToken,
|
|
_Out_ AppPolicyProcessTerminationMethod* policy);
|
|
|
|
WINBASEAPI
|
|
_Check_return_
|
|
_Success_(return == ERROR_SUCCESS)
|
|
LONG
|
|
WINAPI
|
|
AppPolicyGetThreadInitializationType(
|
|
_In_ HANDLE processToken,
|
|
_Out_ AppPolicyThreadInitializationType* policy);
|
|
|
|
WINBASEAPI
|
|
_Check_return_
|
|
_Success_(return == ERROR_SUCCESS)
|
|
LONG
|
|
WINAPI
|
|
AppPolicyGetShowDeveloperDiagnostic(
|
|
_In_ HANDLE processToken,
|
|
_Out_ AppPolicyShowDeveloperDiagnostic* policy);
|
|
|
|
WINBASEAPI
|
|
_Check_return_
|
|
_Success_(return == ERROR_SUCCESS)
|
|
LONG
|
|
WINAPI
|
|
AppPolicyGetWindowingModel(
|
|
_In_ HANDLE processToken,
|
|
_Out_ AppPolicyWindowingModel* policy);
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|