Fix the Windows/razzle build after #19344 (#19590)

This commit is contained in:
Dustin L. Howett 2025-11-25 16:36:38 -06:00 committed by GitHub
parent fb75fb56c0
commit f8506f4779
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 17 additions and 3 deletions

View File

@ -26,7 +26,12 @@
"/doc/user-docs/", "/doc/user-docs/",
"/src/tools/ansi-color/", "/src/tools/ansi-color/",
"/src/tools/ColorTool/", "/src/tools/ColorTool/",
"/src/tools/scratch/",
"/src/tools/ConsoleBench/",
"/src/tools/schemes-fragment/",
"/scratch/", "/scratch/",
"/tools/ReleaseEngineering/",
"/policies/",
"Scratch.sln", "Scratch.sln",
], ],
"SuffixFilters": [ "SuffixFilters": [
@ -44,6 +49,11 @@
".rec", ".rec",
".err", ".err",
"XamlStyler.json", "XamlStyler.json",
".xlsx" ".xlsx",
".vcxproj",
".vcxproj.filters",
".Build.props",
".Build.targets",
"OpenConsole.slnx"
] ]
} }

View File

@ -1,2 +0,0 @@
DIRS=\
fmt \

View File

@ -81,6 +81,7 @@ SOURCES = \
..\writeData.cpp \ ..\writeData.cpp \
..\renderData.cpp \ ..\renderData.cpp \
..\renderFontDefaults.cpp \ ..\renderFontDefaults.cpp \
..\AccessibilityNotifier.cpp \
..\ConsoleArguments.cpp \ ..\ConsoleArguments.cpp \

View File

@ -12,6 +12,10 @@ using namespace Microsoft::Console::Interactivity::OneCore;
#pragma region IConsoleControl Members #pragma region IConsoleControl Members
void ConsoleControl::Control(ControlType /*command*/, PVOID /*ptr*/, DWORD /*len*/) noexcept
{
}
void ConsoleControl::NotifyWinEvent(DWORD /*event*/, HWND /*hwnd*/, LONG /*idObject*/, LONG /*idChild*/) noexcept void ConsoleControl::NotifyWinEvent(DWORD /*event*/, HWND /*hwnd*/, LONG /*idObject*/, LONG /*idChild*/) noexcept
{ {
} }

View File

@ -24,6 +24,7 @@ namespace Microsoft::Console::Interactivity::OneCore
{ {
public: public:
// IConsoleControl Members // IConsoleControl Members
void Control(ControlType command, PVOID ptr, DWORD len) noexcept override;
void NotifyWinEvent(DWORD event, HWND hwnd, LONG idObject, LONG idChild) noexcept override; void NotifyWinEvent(DWORD event, HWND hwnd, LONG idObject, LONG idChild) noexcept override;
void NotifyConsoleApplication(_In_ DWORD dwProcessId) noexcept override; void NotifyConsoleApplication(_In_ DWORD dwProcessId) noexcept override;
void SetForeground(_In_ HANDLE hProcess, _In_ BOOL fForeground) noexcept override; void SetForeground(_In_ HANDLE hProcess, _In_ BOOL fForeground) noexcept override;