mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 13:33:42 +00:00
d70848b8b7
It retrieves the handle to the desktop assigned to the specified thread belonging to a console application, which is going to be where the input thread of this console is.
124 lines
3.4 KiB
C
124 lines
3.4 KiB
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS Console Server DLL
|
|
* FILE: win32ss/user/winsrv/consrv/api.h
|
|
* PURPOSE: Public server APIs definitions
|
|
* PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/* alias.c */
|
|
CSR_API(SrvAddConsoleAlias);
|
|
CSR_API(SrvGetConsoleAlias);
|
|
CSR_API(SrvGetConsoleAliases);
|
|
CSR_API(SrvGetConsoleAliasesLength);
|
|
CSR_API(SrvGetConsoleAliasExes);
|
|
CSR_API(SrvGetConsoleAliasExesLength);
|
|
|
|
/* coninput.c */
|
|
CSR_API(SrvReadConsole);
|
|
CSR_API(SrvGetConsoleInput);
|
|
CSR_API(SrvWriteConsoleInput);
|
|
CSR_API(SrvFlushConsoleInputBuffer);
|
|
CSR_API(SrvGetConsoleNumberOfInputEvents);
|
|
|
|
/* conoutput.c */
|
|
CSR_API(SrvInvalidateBitMapRect);
|
|
CSR_API(SrvSetConsolePalette);
|
|
CSR_API(SrvReadConsoleOutput);
|
|
CSR_API(SrvWriteConsole);
|
|
CSR_API(SrvWriteConsoleOutput);
|
|
CSR_API(SrvReadConsoleOutputString);
|
|
CSR_API(SrvWriteConsoleOutputString);
|
|
CSR_API(SrvFillConsoleOutput);
|
|
CSR_API(SrvGetConsoleCursorInfo);
|
|
CSR_API(SrvSetConsoleCursorInfo);
|
|
CSR_API(SrvSetConsoleCursorPosition);
|
|
CSR_API(SrvSetConsoleTextAttribute);
|
|
CSR_API(SrvCreateConsoleScreenBuffer);
|
|
CSR_API(SrvGetConsoleScreenBufferInfo);
|
|
CSR_API(SrvSetConsoleActiveScreenBuffer);
|
|
CSR_API(SrvSetConsoleScreenBufferSize);
|
|
CSR_API(SrvScrollConsoleScreenBuffer);
|
|
CSR_API(SrvSetConsoleWindowInfo);
|
|
|
|
/* console.c */
|
|
CSR_API(SrvAllocConsole);
|
|
CSR_API(SrvAttachConsole);
|
|
CSR_API(SrvFreeConsole);
|
|
CSR_API(SrvGetConsoleMode);
|
|
CSR_API(SrvSetConsoleMode);
|
|
CSR_API(SrvGetConsoleTitle);
|
|
CSR_API(SrvSetConsoleTitle);
|
|
CSR_API(SrvGetConsoleCP);
|
|
CSR_API(SrvSetConsoleCP);
|
|
CSR_API(SrvGetConsoleProcessList);
|
|
CSR_API(SrvGenerateConsoleCtrlEvent);
|
|
CSR_API(SrvConsoleNotifyLastClose);
|
|
|
|
CSR_API(SrvGetConsoleMouseInfo);
|
|
CSR_API(SrvSetConsoleKeyShortcuts);
|
|
CSR_API(SrvGetConsoleKeyboardLayoutName);
|
|
CSR_API(SrvGetConsoleCharType);
|
|
CSR_API(SrvSetConsoleLocalEUDC);
|
|
CSR_API(SrvSetConsoleCursorMode);
|
|
CSR_API(SrvGetConsoleCursorMode);
|
|
CSR_API(SrvGetConsoleNlsMode);
|
|
CSR_API(SrvSetConsoleNlsMode);
|
|
CSR_API(SrvGetConsoleLangId);
|
|
|
|
/* frontendctl.c */
|
|
CSR_API(SrvGetConsoleHardwareState);
|
|
CSR_API(SrvSetConsoleHardwareState);
|
|
CSR_API(SrvGetConsoleDisplayMode);
|
|
CSR_API(SrvSetConsoleDisplayMode);
|
|
CSR_API(SrvGetLargestConsoleWindowSize);
|
|
CSR_API(SrvShowConsoleCursor);
|
|
CSR_API(SrvSetConsoleCursor);
|
|
CSR_API(SrvConsoleMenuControl);
|
|
CSR_API(SrvSetConsoleMenuClose);
|
|
|
|
/* Used by USERSRV!SrvGetThreadConsoleDesktop() */
|
|
NTSTATUS
|
|
NTAPI
|
|
GetThreadConsoleDesktop(
|
|
IN ULONG_PTR ThreadId,
|
|
OUT HDESK* ConsoleDesktop);
|
|
|
|
CSR_API(SrvGetConsoleWindow);
|
|
CSR_API(SrvSetConsoleIcon);
|
|
CSR_API(SrvGetConsoleSelectionInfo);
|
|
|
|
CSR_API(SrvGetConsoleNumberOfFonts);
|
|
CSR_API(SrvGetConsoleFontInfo);
|
|
CSR_API(SrvGetConsoleFontSize);
|
|
CSR_API(SrvGetConsoleCurrentFont);
|
|
CSR_API(SrvSetConsoleFont);
|
|
|
|
/* handle.c */
|
|
CSR_API(SrvOpenConsole);
|
|
CSR_API(SrvDuplicateHandle);
|
|
CSR_API(SrvGetHandleInformation);
|
|
CSR_API(SrvSetHandleInformation);
|
|
CSR_API(SrvCloseHandle);
|
|
CSR_API(SrvVerifyConsoleIoHandle);
|
|
|
|
/* lineinput.c */
|
|
CSR_API(SrvGetConsoleCommandHistory);
|
|
CSR_API(SrvGetConsoleCommandHistoryLength);
|
|
CSR_API(SrvExpungeConsoleCommandHistory);
|
|
CSR_API(SrvSetConsoleNumberOfCommands);
|
|
CSR_API(SrvGetConsoleHistory);
|
|
CSR_API(SrvSetConsoleHistory);
|
|
CSR_API(SrvSetConsoleCommandHistoryMode);
|
|
|
|
/* subsysreg.c */
|
|
CSR_API(SrvRegisterConsoleVDM);
|
|
CSR_API(SrvVDMConsoleOperation);
|
|
CSR_API(SrvRegisterConsoleOS2);
|
|
CSR_API(SrvSetConsoleOS2OemFormat);
|
|
CSR_API(SrvRegisterConsoleIME);
|
|
CSR_API(SrvUnregisterConsoleIME);
|
|
|
|
/* EOF */
|