2019-05-03 00:29:04 +02:00
|
|
|
/*++
|
|
|
|
Copyright (c) Microsoft Corporation
|
|
|
|
Licensed under the MIT license.
|
|
|
|
|
|
|
|
Module Name:
|
|
|
|
- srvinit.h
|
|
|
|
|
|
|
|
Abstract:
|
|
|
|
- This is the main initialization file for the console Server.
|
|
|
|
|
|
|
|
Author:
|
|
|
|
- Therese Stowell (ThereseS) 11-Nov-1990
|
|
|
|
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "conserv.h"
|
|
|
|
|
2019-06-11 22:27:09 +02:00
|
|
|
[[nodiscard]] NTSTATUS GetConsoleLangId(const UINT uiOutputCP, _Out_ LANGID* const pLangId);
|
2019-05-03 00:29:04 +02:00
|
|
|
|
|
|
|
PWSTR TranslateConsoleTitle(_In_ PCWSTR pwszConsoleTitle, const BOOL fUnexpand, const BOOL fSubstitute);
|
|
|
|
|
2019-06-11 22:27:09 +02:00
|
|
|
[[nodiscard]] NTSTATUS ConsoleInitializeConnectInfo(_In_ PCONSOLE_API_MSG Message, _Out_ PCONSOLE_API_CONNECTINFO Cac);
|
|
|
|
[[nodiscard]] NTSTATUS ConsoleAllocateConsole(PCONSOLE_API_CONNECTINFO p);
|
|
|
|
[[nodiscard]] NTSTATUS RemoveConsole(_In_ ConsoleProcessHandle* ProcessData);
|
2019-05-03 00:29:04 +02:00
|
|
|
|
2021-02-11 22:07:50 +01:00
|
|
|
[[nodiscard]] bool ConsoleConnectionDeservesVisibleWindow(PCONSOLE_API_CONNECTINFO p);
|
|
|
|
|
2019-05-03 00:29:04 +02:00
|
|
|
void ConsoleCheckDebug();
|