1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
20 #include "shlwapi.h" // Path manipulation APIs
23 GVAL_IMPL(bool, g_fAppX);
24 INDEBUG(bool g_fIsAppXAsked;)
28 #ifdef DACCESS_COMPILE
29 bool DacIsAppXProcess()
35 // Returns true if host has deemed the process to be appx
38 INDEBUG(g_fIsAppXAsked = true;)
43 void SetIsAppXProcess(bool value)
45 _ASSERTE(!g_fIsAppXAsked);