terminal/src/internal/stubs.cpp
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

38 lines
993 B
C++

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
#include "precomp.h"
#include "../inc/conint.h"
using namespace Microsoft::Console::Internal;
[[nodiscard]] HRESULT ProcessPolicy::CheckAppModelPolicy(const HANDLE /*hToken*/,
bool& fIsWrongWayBlocked) noexcept
{
fIsWrongWayBlocked = false;
return S_OK;
}
[[nodiscard]] HRESULT ProcessPolicy::CheckIntegrityLevelPolicy(const HANDLE /*hOtherToken*/,
bool& fIsWrongWayBlocked) noexcept
{
fIsWrongWayBlocked = false;
return S_OK;
}
void EdpPolicy::AuditClipboard(const std::wstring_view /*destinationName*/) noexcept
{
}
[[nodiscard]] HRESULT Theming::TrySetDarkMode(HWND /*hwnd*/) noexcept
{
return S_FALSE;
}
[[nodiscard]]
HRESULT DefaultApp::CheckDefaultAppPolicy(bool& isEnabled) noexcept
{
isEnabled = false;
return S_OK;
}