terminal/src/internal/stubs.cpp

32 lines
861 B
C++
Raw Normal View History

// 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;
}