Author: hbelusca
Date: Sat Oct 12 15:44:22 2013
New Revision: 60630
URL:
http://svn.reactos.org/svn/reactos?rev=60630&view=rev
Log:
[CONSRV]: WINAPI -> NTAPI
Modified:
trunk/reactos/win32ss/user/winsrv/consrv/condrv/conoutput.c
trunk/reactos/win32ss/user/winsrv/consrv/conoutput.h
trunk/reactos/win32ss/user/winsrv/consrv/console.c
trunk/reactos/win32ss/user/winsrv/consrv/console.h
trunk/reactos/win32ss/user/winsrv/consrv/frontends/gui/guiterm.c
trunk/reactos/win32ss/user/winsrv/consrv/frontends/input.c
trunk/reactos/win32ss/user/winsrv/consrv/frontends/tui/tuiterm.c
trunk/reactos/win32ss/user/winsrv/consrv/include/conio.h
Modified: trunk/reactos/win32ss/user/winsrv/consrv/condrv/conoutput.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/winsrv/consrv…
==============================================================================
--- trunk/reactos/win32ss/user/winsrv/consrv/condrv/conoutput.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/winsrv/consrv/condrv/conoutput.c [iso-8859-1] Sat Oct 12
15:44:22 2013
@@ -119,7 +119,7 @@
static VOID
ConioSetActiveScreenBuffer(PCONSOLE_SCREEN_BUFFER Buffer);
-VOID WINAPI
+VOID NTAPI
ConioDeleteScreenBuffer(PCONSOLE_SCREEN_BUFFER Buffer)
{
PCONSOLE Console = Buffer->Header.Console;
Modified: trunk/reactos/win32ss/user/winsrv/consrv/conoutput.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/winsrv/consrv…
==============================================================================
--- trunk/reactos/win32ss/user/winsrv/consrv/conoutput.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/winsrv/consrv/conoutput.h [iso-8859-1] Sat Oct 12 15:44:22
2013
@@ -37,7 +37,7 @@
IN OUT PCONSOLE Console,
IN ULONG BufferType,
IN PVOID ScreenBufferInfo);
-VOID WINAPI ConioDeleteScreenBuffer(PCONSOLE_SCREEN_BUFFER Buffer);
+VOID NTAPI ConioDeleteScreenBuffer(PCONSOLE_SCREEN_BUFFER Buffer);
// VOID FASTCALL ConioSetActiveScreenBuffer(PCONSOLE_SCREEN_BUFFER Buffer);
// PCONSOLE_SCREEN_BUFFER
Modified: trunk/reactos/win32ss/user/winsrv/consrv/console.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/winsrv/consrv…
==============================================================================
--- trunk/reactos/win32ss/user/winsrv/consrv/console.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/winsrv/consrv/console.c [iso-8859-1] Sat Oct 12 15:44:22
2013
@@ -164,7 +164,7 @@
}
-NTSTATUS WINAPI
+NTSTATUS NTAPI
ConSrvInitConsole(OUT PHANDLE NewConsoleHandle,
OUT PCONSOLE* NewConsole,
IN OUT PCONSOLE_START_INFO ConsoleStartInfo,
@@ -295,7 +295,7 @@
return STATUS_SUCCESS;
}
-VOID WINAPI
+VOID NTAPI
ConSrvDeleteConsole(PCONSOLE Console)
{
DPRINT("ConSrvDeleteConsole\n");
Modified: trunk/reactos/win32ss/user/winsrv/consrv/console.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/winsrv/consrv…
==============================================================================
--- trunk/reactos/win32ss/user/winsrv/consrv/console.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/winsrv/consrv/console.h [iso-8859-1] Sat Oct 12 15:44:22
2013
@@ -11,12 +11,12 @@
// FIXME: Fix compilation
struct _CONSOLE;
-NTSTATUS WINAPI
+NTSTATUS NTAPI
ConSrvInitConsole(OUT PHANDLE NewConsoleHandle,
OUT struct _CONSOLE** /* PCONSOLE* */ NewConsole,
IN OUT PCONSOLE_START_INFO ConsoleStartInfo,
IN ULONG ConsoleLeaderProcessId);
-VOID WINAPI ConSrvDeleteConsole(struct _CONSOLE* /* PCONSOLE */ Console);
+VOID NTAPI ConSrvDeleteConsole(struct _CONSOLE* /* PCONSOLE */ Console);
NTSTATUS FASTCALL ConSrvGetConsole(PCONSOLE_PROCESS_DATA ProcessData,
struct _CONSOLE** /* PCONSOLE* */ Console,
Modified: trunk/reactos/win32ss/user/winsrv/consrv/frontends/gui/guiterm.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/winsrv/consrv…
==============================================================================
--- trunk/reactos/win32ss/user/winsrv/consrv/frontends/gui/guiterm.c [iso-8859-1]
(original)
+++ trunk/reactos/win32ss/user/winsrv/consrv/frontends/gui/guiterm.c [iso-8859-1] Sat Oct
12 15:44:22 2013
@@ -45,7 +45,7 @@
/* Not defined in any header file */
-extern VOID WINAPI PrivateCsrssManualGuiCheck(LONG Check);
+extern VOID NTAPI PrivateCsrssManualGuiCheck(LONG Check);
// See winsrv/usersrv/init.c line 234
@@ -248,7 +248,7 @@
GuiConsolePaste(PGUI_CONSOLE_DATA GuiData);
static VOID
GuiConsoleUpdateSelection(PCONSOLE Console, PCOORD coord);
-static VOID WINAPI
+static VOID NTAPI
GuiDrawRegion(IN OUT PFRONTEND This, SMALL_RECT* Region);
static VOID
GuiConsoleResizeWindow(PGUI_CONSOLE_DATA GuiData);
@@ -484,7 +484,7 @@
// TODO: Change window appearance.
// See:
//
http://stackoverflow.com/questions/2382464/win32-full-screen-and-hiding-tas…
- //
http://stackoverflow.com/questions/3549148/fullscreen-management-with-winapi
+ //
http://stackoverflow.com/questions/3549148/fullscreen-management-with-NTAPI
//
http://blogs.msdn.com/b/oldnewthing/archive/2010/04/12/9994016.aspx
//
http://stackoverflow.com/questions/1400654/how-do-i-put-my-opengl-app-into-…
//
http://nehe.gamedev.net/tutorial/creating_an_opengl_window_win32/13001/
@@ -2117,7 +2117,7 @@
}
}
-static DWORD WINAPI
+static DWORD NTAPI
GuiConsoleGuiThread(PVOID Data)
{
MSG msg;
@@ -2283,7 +2283,7 @@
* GUI Console Driver *
******************************************************************************/
-static VOID WINAPI
+static VOID NTAPI
GuiDeinitFrontEnd(IN OUT PFRONTEND This);
NTSTATUS NTAPI
@@ -2469,7 +2469,7 @@
return STATUS_SUCCESS;
}
-static VOID WINAPI
+static VOID NTAPI
GuiDeinitFrontEnd(IN OUT PFRONTEND This)
{
PGUI_CONSOLE_DATA GuiData = This->Data;
@@ -2496,7 +2496,7 @@
DPRINT("Quit GuiDeinitFrontEnd\n");
}
-static VOID WINAPI
+static VOID NTAPI
GuiDrawRegion(IN OUT PFRONTEND This,
SMALL_RECT* Region)
{
@@ -2508,7 +2508,7 @@
InvalidateRect(GuiData->hWindow, &RegionRect, FALSE);
}
-static VOID WINAPI
+static VOID NTAPI
GuiWriteStream(IN OUT PFRONTEND This,
SMALL_RECT* Region,
SHORT CursorStartX,
@@ -2567,7 +2567,7 @@
SetTimer(GuiData->hWindow, CONGUI_UPDATE_TIMER, CONGUI_UPDATE_TIME, NULL);
}
-static BOOL WINAPI
+static BOOL NTAPI
GuiSetCursorInfo(IN OUT PFRONTEND This,
PCONSOLE_SCREEN_BUFFER Buff)
{
@@ -2581,7 +2581,7 @@
return TRUE;
}
-static BOOL WINAPI
+static BOOL NTAPI
GuiSetScreenInfo(IN OUT PFRONTEND This,
PCONSOLE_SCREEN_BUFFER Buff,
SHORT OldCursorX,
@@ -2600,7 +2600,7 @@
return TRUE;
}
-static VOID WINAPI
+static VOID NTAPI
GuiResizeTerminal(IN OUT PFRONTEND This)
{
PGUI_CONSOLE_DATA GuiData = This->Data;
@@ -2614,7 +2614,7 @@
PostMessageW(GuiData->hWindow, PM_RESIZE_TERMINAL, 0, 0);
}
-static VOID WINAPI
+static VOID NTAPI
GuiSetActiveScreenBuffer(IN OUT PFRONTEND This)
{
PGUI_CONSOLE_DATA GuiData = This->Data;
@@ -2664,7 +2664,7 @@
// ConioDrawConsole(Console);
}
-static VOID WINAPI
+static VOID NTAPI
GuiReleaseScreenBuffer(IN OUT PFRONTEND This,
IN PCONSOLE_SCREEN_BUFFER ScreenBuffer)
{
@@ -2715,7 +2715,7 @@
}
}
-static BOOL WINAPI
+static BOOL NTAPI
GuiProcessKeyCallback(IN OUT PFRONTEND This,
MSG* msg,
BYTE KeyStateMenu,
@@ -2733,11 +2733,11 @@
return FALSE;
}
-static BOOL WINAPI
+static BOOL NTAPI
GuiSetMouseCursor(IN OUT PFRONTEND This,
HCURSOR hCursor);
-static VOID WINAPI
+static VOID NTAPI
GuiRefreshInternalInfo(IN OUT PFRONTEND This)
{
PGUI_CONSOLE_DATA GuiData = This->Data;
@@ -2759,7 +2759,7 @@
GuiSetMouseCursor(This, NULL);
}
-static VOID WINAPI
+static VOID NTAPI
GuiChangeTitle(IN OUT PFRONTEND This)
{
PGUI_CONSOLE_DATA GuiData = This->Data;
@@ -2767,7 +2767,7 @@
SetWindowText(GuiData->hWindow, GuiData->Console->Title.Buffer);
}
-static BOOL WINAPI
+static BOOL NTAPI
GuiChangeIcon(IN OUT PFRONTEND This,
HICON hWindowIcon)
{
@@ -2812,14 +2812,14 @@
return TRUE;
}
-static HWND WINAPI
+static HWND NTAPI
GuiGetConsoleWindowHandle(IN OUT PFRONTEND This)
{
PGUI_CONSOLE_DATA GuiData = This->Data;
return GuiData->hWindow;
}
-static VOID WINAPI
+static VOID NTAPI
GuiGetLargestConsoleWindowSize(IN OUT PFRONTEND This,
PCOORD pSize)
{
@@ -2863,7 +2863,7 @@
pSize->Y = (SHORT)(height / (int)HeightUnit) /* HACK */ + 1;
}
-static BOOL WINAPI
+static BOOL NTAPI
GuiSetPalette(IN OUT PFRONTEND This,
HPALETTE PaletteHandle,
UINT PaletteUsage)
@@ -2918,7 +2918,7 @@
return Success;
}
-static ULONG WINAPI
+static ULONG NTAPI
GuiGetDisplayMode(IN OUT PFRONTEND This)
{
PGUI_CONSOLE_DATA GuiData = This->Data;
@@ -2932,7 +2932,7 @@
return DisplayMode;
}
-static BOOL WINAPI
+static BOOL NTAPI
GuiSetDisplayMode(IN OUT PFRONTEND This,
ULONG NewMode)
{
@@ -2946,7 +2946,7 @@
return TRUE;
}
-static INT WINAPI
+static INT NTAPI
GuiShowMouseCursor(IN OUT PFRONTEND This,
BOOL Show)
{
@@ -2962,7 +2962,7 @@
return GuiData->MouseCursorRefCount;
}
-static BOOL WINAPI
+static BOOL NTAPI
GuiSetMouseCursor(IN OUT PFRONTEND This,
HCURSOR hCursor)
{
@@ -2980,7 +2980,7 @@
return TRUE;
}
-static HMENU WINAPI
+static HMENU NTAPI
GuiMenuControl(IN OUT PFRONTEND This,
UINT cmdIdLow,
UINT cmdIdHigh)
@@ -2993,7 +2993,7 @@
return GetSystemMenu(GuiData->hWindow, FALSE);
}
-static BOOL WINAPI
+static BOOL NTAPI
GuiSetMenuClose(IN OUT PFRONTEND This,
BOOL Enable)
{
Modified: trunk/reactos/win32ss/user/winsrv/consrv/frontends/input.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/winsrv/consrv…
==============================================================================
--- trunk/reactos/win32ss/user/winsrv/consrv/frontends/input.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/winsrv/consrv/frontends/input.c [iso-8859-1] Sat Oct 12
15:44:22 2013
@@ -54,7 +54,7 @@
return ssOut;
}
-VOID WINAPI
+VOID NTAPI
ConioProcessKey(PCONSOLE Console, MSG* msg)
{
static BYTE KeyState[256] = { 0 };
Modified: trunk/reactos/win32ss/user/winsrv/consrv/frontends/tui/tuiterm.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/winsrv/consrv…
==============================================================================
--- trunk/reactos/win32ss/user/winsrv/consrv/frontends/tui/tuiterm.c [iso-8859-1]
(original)
+++ trunk/reactos/win32ss/user/winsrv/consrv/frontends/tui/tuiterm.c [iso-8859-1] Sat Oct
12 15:44:22 2013
@@ -311,7 +311,7 @@
return DefWindowProcW(hWnd, msg, wParam, lParam);
}
-static DWORD WINAPI
+static DWORD NTAPI
TuiConsoleThread(PVOID Data)
{
PTUI_CONSOLE_DATA TuiData = (PTUI_CONSOLE_DATA)Data;
@@ -441,7 +441,7 @@
* TUI Console Driver *
******************************************************************************/
-static VOID WINAPI
+static VOID NTAPI
TuiDeinitFrontEnd(IN OUT PFRONTEND This /*,
IN PCONSOLE Console */);
@@ -521,7 +521,7 @@
return STATUS_SUCCESS;
}
-static VOID WINAPI
+static VOID NTAPI
TuiDeinitFrontEnd(IN OUT PFRONTEND This)
{
// PCONSOLE Console = This->Console;
@@ -562,7 +562,7 @@
ConsoleFreeHeap(TuiData);
}
-static VOID WINAPI
+static VOID NTAPI
TuiDrawRegion(IN OUT PFRONTEND This,
SMALL_RECT* Region)
{
@@ -601,7 +601,7 @@
ConsoleFreeHeap(ConsoleDraw);
}
-static VOID WINAPI
+static VOID NTAPI
TuiWriteStream(IN OUT PFRONTEND This,
SMALL_RECT* Region,
SHORT CursorStartX,
@@ -635,7 +635,7 @@
RtlFreeHeap(RtlGetProcessHeap(), 0, NewBuffer);
}
-static BOOL WINAPI
+static BOOL NTAPI
TuiSetCursorInfo(IN OUT PFRONTEND This,
PCONSOLE_SCREEN_BUFFER Buff)
{
@@ -657,7 +657,7 @@
return TRUE;
}
-static BOOL WINAPI
+static BOOL NTAPI
TuiSetScreenInfo(IN OUT PFRONTEND This,
PCONSOLE_SCREEN_BUFFER Buff,
SHORT OldCursorX,
@@ -683,12 +683,12 @@
return TRUE;
}
-static VOID WINAPI
+static VOID NTAPI
TuiResizeTerminal(IN OUT PFRONTEND This)
{
}
-static BOOL WINAPI
+static BOOL NTAPI
TuiProcessKeyCallback(IN OUT PFRONTEND This,
MSG* msg,
BYTE KeyStateMenu,
@@ -714,31 +714,31 @@
return FALSE;
}
-static VOID WINAPI
+static VOID NTAPI
TuiRefreshInternalInfo(IN OUT PFRONTEND This)
{
}
-static VOID WINAPI
+static VOID NTAPI
TuiChangeTitle(IN OUT PFRONTEND This)
{
}
-static BOOL WINAPI
+static BOOL NTAPI
TuiChangeIcon(IN OUT PFRONTEND This,
HICON hWindowIcon)
{
return TRUE;
}
-static HWND WINAPI
+static HWND NTAPI
TuiGetConsoleWindowHandle(IN OUT PFRONTEND This)
{
PTUI_CONSOLE_DATA TuiData = This->Data;
return TuiData->hWindow;
}
-static VOID WINAPI
+static VOID NTAPI
TuiGetLargestConsoleWindowSize(IN OUT PFRONTEND This,
PCOORD pSize)
{
@@ -746,7 +746,7 @@
*pSize = PhysicalConsoleSize;
}
-static BOOL WINAPI
+static BOOL NTAPI
TuiSetPalette(IN OUT PFRONTEND This,
HPALETTE PaletteHandle,
UINT PaletteUsage)
@@ -754,13 +754,13 @@
return TRUE;
}
-static ULONG WINAPI
+static ULONG NTAPI
TuiGetDisplayMode(IN OUT PFRONTEND This)
{
return CONSOLE_FULLSCREEN_HARDWARE; // CONSOLE_FULLSCREEN;
}
-static BOOL WINAPI
+static BOOL NTAPI
TuiSetDisplayMode(IN OUT PFRONTEND This,
ULONG NewMode)
{
@@ -769,21 +769,21 @@
return TRUE;
}
-static INT WINAPI
+static INT NTAPI
TuiShowMouseCursor(IN OUT PFRONTEND This,
BOOL Show)
{
return 0;
}
-static BOOL WINAPI
+static BOOL NTAPI
TuiSetMouseCursor(IN OUT PFRONTEND This,
HCURSOR hCursor)
{
return TRUE;
}
-static HMENU WINAPI
+static HMENU NTAPI
TuiMenuControl(IN OUT PFRONTEND This,
UINT cmdIdLow,
UINT cmdIdHigh)
@@ -791,7 +791,7 @@
return NULL;
}
-static BOOL WINAPI
+static BOOL NTAPI
TuiSetMenuClose(IN OUT PFRONTEND This,
BOOL Enable)
{
Modified: trunk/reactos/win32ss/user/winsrv/consrv/include/conio.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/winsrv/consrv…
==============================================================================
--- trunk/reactos/win32ss/user/winsrv/consrv/include/conio.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/winsrv/consrv/include/conio.h [iso-8859-1] Sat Oct 12
15:44:22 2013
@@ -186,73 +186,73 @@
/*
* Internal interface (functions called by the console server only)
*/
- NTSTATUS (WINAPI *InitFrontEnd)(IN OUT PFRONTEND This,
- IN struct _CONSOLE* Console);
- VOID (WINAPI *DeinitFrontEnd)(IN OUT PFRONTEND This);
+ NTSTATUS (NTAPI *InitFrontEnd)(IN OUT PFRONTEND This,
+ IN struct _CONSOLE* Console);
+ VOID (NTAPI *DeinitFrontEnd)(IN OUT PFRONTEND This);
/* Interface used for both text-mode and graphics screen buffers */
- VOID (WINAPI *DrawRegion)(IN OUT PFRONTEND This,
- SMALL_RECT* Region);
+ VOID (NTAPI *DrawRegion)(IN OUT PFRONTEND This,
+ SMALL_RECT* Region);
/* Interface used only for text-mode screen buffers */
- VOID (WINAPI *WriteStream)(IN OUT PFRONTEND This,
- SMALL_RECT* Block,
- SHORT CursorStartX,
- SHORT CursorStartY,
- UINT ScrolledLines,
- PWCHAR Buffer,
- UINT Length);
- BOOL (WINAPI *SetCursorInfo)(IN OUT PFRONTEND This,
- PCONSOLE_SCREEN_BUFFER ScreenBuffer);
- BOOL (WINAPI *SetScreenInfo)(IN OUT PFRONTEND This,
- PCONSOLE_SCREEN_BUFFER ScreenBuffer,
- SHORT OldCursorX,
- SHORT OldCursorY);
- VOID (WINAPI *ResizeTerminal)(IN OUT PFRONTEND This);
- VOID (WINAPI *SetActiveScreenBuffer)(IN OUT PFRONTEND This);
- VOID (WINAPI *ReleaseScreenBuffer)(IN OUT PFRONTEND This,
- IN PCONSOLE_SCREEN_BUFFER ScreenBuffer);
- BOOL (WINAPI *ProcessKeyCallback)(IN OUT PFRONTEND This,
- MSG* msg,
- BYTE KeyStateMenu,
- DWORD ShiftState,
- UINT VirtualKeyCode,
- BOOL Down);
- VOID (WINAPI *RefreshInternalInfo)(IN OUT PFRONTEND This);
+ VOID (NTAPI *WriteStream)(IN OUT PFRONTEND This,
+ SMALL_RECT* Block,
+ SHORT CursorStartX,
+ SHORT CursorStartY,
+ UINT ScrolledLines,
+ PWCHAR Buffer,
+ UINT Length);
+ BOOL (NTAPI *SetCursorInfo)(IN OUT PFRONTEND This,
+ PCONSOLE_SCREEN_BUFFER ScreenBuffer);
+ BOOL (NTAPI *SetScreenInfo)(IN OUT PFRONTEND This,
+ PCONSOLE_SCREEN_BUFFER ScreenBuffer,
+ SHORT OldCursorX,
+ SHORT OldCursorY);
+ VOID (NTAPI *ResizeTerminal)(IN OUT PFRONTEND This);
+ VOID (NTAPI *SetActiveScreenBuffer)(IN OUT PFRONTEND This);
+ VOID (NTAPI *ReleaseScreenBuffer)(IN OUT PFRONTEND This,
+ IN PCONSOLE_SCREEN_BUFFER ScreenBuffer);
+ BOOL (NTAPI *ProcessKeyCallback)(IN OUT PFRONTEND This,
+ MSG* msg,
+ BYTE KeyStateMenu,
+ DWORD ShiftState,
+ UINT VirtualKeyCode,
+ BOOL Down);
+ VOID (NTAPI *RefreshInternalInfo)(IN OUT PFRONTEND This);
/*
* External interface (functions corresponding to the Console API)
*/
- VOID (WINAPI *ChangeTitle)(IN OUT PFRONTEND This);
- BOOL (WINAPI *ChangeIcon)(IN OUT PFRONTEND This,
- HICON hWindowIcon);
- HWND (WINAPI *GetConsoleWindowHandle)(IN OUT PFRONTEND This);
- VOID (WINAPI *GetLargestConsoleWindowSize)(IN OUT PFRONTEND This,
- PCOORD pSize);
- BOOL (WINAPI *SetPalette)(IN OUT PFRONTEND This,
- HPALETTE PaletteHandle,
- UINT PaletteUsage);
- ULONG (WINAPI *GetDisplayMode)(IN OUT PFRONTEND This);
- BOOL (WINAPI *SetDisplayMode)(IN OUT PFRONTEND This,
- ULONG NewMode);
- INT (WINAPI *ShowMouseCursor)(IN OUT PFRONTEND This,
- BOOL Show);
- BOOL (WINAPI *SetMouseCursor)(IN OUT PFRONTEND This,
- HCURSOR hCursor);
- HMENU (WINAPI *MenuControl)(IN OUT PFRONTEND This,
- UINT cmdIdLow,
- UINT cmdIdHigh);
- BOOL (WINAPI *SetMenuClose)(IN OUT PFRONTEND This,
- BOOL Enable);
+ VOID (NTAPI *ChangeTitle)(IN OUT PFRONTEND This);
+ BOOL (NTAPI *ChangeIcon)(IN OUT PFRONTEND This,
+ HICON hWindowIcon);
+ HWND (NTAPI *GetConsoleWindowHandle)(IN OUT PFRONTEND This);
+ VOID (NTAPI *GetLargestConsoleWindowSize)(IN OUT PFRONTEND This,
+ PCOORD pSize);
+ BOOL (NTAPI *SetPalette)(IN OUT PFRONTEND This,
+ HPALETTE PaletteHandle,
+ UINT PaletteUsage);
+ ULONG (NTAPI *GetDisplayMode)(IN OUT PFRONTEND This);
+ BOOL (NTAPI *SetDisplayMode)(IN OUT PFRONTEND This,
+ ULONG NewMode);
+ INT (NTAPI *ShowMouseCursor)(IN OUT PFRONTEND This,
+ BOOL Show);
+ BOOL (NTAPI *SetMouseCursor)(IN OUT PFRONTEND This,
+ HCURSOR hCursor);
+ HMENU (NTAPI *MenuControl)(IN OUT PFRONTEND This,
+ UINT cmdIdLow,
+ UINT cmdIdHigh);
+ BOOL (NTAPI *SetMenuClose)(IN OUT PFRONTEND This,
+ BOOL Enable);
#if 0 // Possible future front-end interface
- BOOL (WINAPI *GetFrontEndProperty)(IN OUT PFRONTEND This,
- ULONG Flag,
- PVOID Info,
- ULONG Size);
- BOOL (WINAPI *SetFrontEndProperty)(IN OUT PFRONTEND This,
- ULONG Flag,
- PVOID Info /*,
- ULONG Size */);
+ BOOL (NTAPI *GetFrontEndProperty)(IN OUT PFRONTEND This,
+ ULONG Flag,
+ PVOID Info,
+ ULONG Size);
+ BOOL (NTAPI *SetFrontEndProperty)(IN OUT PFRONTEND This,
+ ULONG Flag,
+ PVOID Info /*,
+ ULONG Size */);
#endif
} FRONTEND_VTBL, *PFRONTEND_VTBL;
@@ -347,7 +347,7 @@
IN ULONG Event);
/* coninput.c */
-VOID WINAPI ConioProcessKey(PCONSOLE Console, MSG* msg);
+VOID NTAPI ConioProcessKey(PCONSOLE Console, MSG* msg);
NTSTATUS FASTCALL ConioProcessInputEvent(PCONSOLE Console,
PINPUT_RECORD InputEvent);