terminal/src/inc/conint.h
Dustin Howett 3822d5b662 Merged PR 5677497: [Git2Git] Merged PR 5655213: Allow conhost to handoff to registered default app handler
Contains:
- Delegation Configurator that can lookup/edit/save configuration information to registry
- Conhost can lookup the CLSID of a registered default
- Conhost has the ability to handoff a starting visible-window interactive session to the registered default
- Velocity key since this is a big deal and we want to be careful
- IDL for the interface

Related work items: MSFT-16458099
Retrieved from https://microsoft.visualstudio.com os.2020 OS official/rs_wdx_dxp_windev 0ca55027d8180fbbaa145f2fe7a15005856c0f7c
2021-02-11 21:07:50 +00:00

53 lines
1.2 KiB
C++

/*++
Copyright (c) Microsoft Corporation.
Licensed under the MIT license.
Module Name:
conint.h
Abstract:
This module defines an abstraction for calling certain OS support
functionality that we can't make completely public due to obligations
we have with our partner teams about disclosure of their API surface.
Author:
miniksa 17-Apr-2019
Revision History:
--*/
#pragma once
namespace Microsoft::Console::Internal
{
namespace ProcessPolicy
{
[[nodiscard]] HRESULT CheckAppModelPolicy(const HANDLE hToken,
bool& fIsWrongWayBlocked) noexcept;
[[nodiscard]] HRESULT CheckIntegrityLevelPolicy(const HANDLE hOtherToken,
bool& fIsWrongWayBlocked) noexcept;
}
namespace EdpPolicy
{
void AuditClipboard(const std::wstring_view destinationName) noexcept;
}
namespace Theming
{
[[nodiscard]] HRESULT TrySetDarkMode(HWND hwnd) noexcept;
}
namespace DefaultApp
{
[[nodiscard]] HRESULT CheckDefaultAppPolicy(bool& isEnabled) noexcept;
}
}