Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
ea8fa317
Commit
ea8fa317
authored
Oct 15, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Move FlushConsoleInputBuffer to kernelbase.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6f05b299
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
+11
-11
console.c
dlls/kernel32/console.c
+0
-9
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-1
console.c
dlls/kernelbase/console.c
+9
-0
kernelbase.spec
dlls/kernelbase/kernelbase.spec
+1
-1
No files found.
dlls/kernel32/console.c
View file @
ea8fa317
...
...
@@ -149,15 +149,6 @@ HANDLE WINAPI GetConsoleInputWaitHandle(void)
/***********************************************************************
* FlushConsoleInputBuffer (KERNEL32.@)
*/
BOOL
WINAPI
FlushConsoleInputBuffer
(
HANDLE
handle
)
{
return
DeviceIoControl
(
handle
,
IOCTL_CONDRV_FLUSH
,
NULL
,
0
,
NULL
,
0
,
NULL
,
NULL
);
}
/***********************************************************************
* SetConsoleTitleA (KERNEL32.@)
*/
BOOL
WINAPI
SetConsoleTitleA
(
LPCSTR
title
)
...
...
dlls/kernel32/kernel32.spec
View file @
ea8fa317
...
...
@@ -517,7 +517,7 @@
@ stdcall -import FlsFree(long)
@ stdcall -import FlsGetValue(long)
@ stdcall -import FlsSetValue(long ptr)
@ stdcall FlushConsoleInputBuffer(long)
@ stdcall
-import
FlushConsoleInputBuffer(long)
@ stdcall FlushFileBuffers(long) KERNEL32_FlushFileBuffers
@ stdcall -import FlushInstructionCache(long long long)
@ stdcall FlushProcessWriteBuffers() ntdll.NtFlushProcessWriteBuffers
...
...
dlls/kernelbase/console.c
View file @
ea8fa317
...
...
@@ -1705,6 +1705,15 @@ BOOL WINAPI DECLSPEC_HOTPATCH WriteConsoleW( HANDLE handle, const void *buffer,
/***********************************************************************
* FlushConsoleInputBuffer (kernelbase.@)
*/
BOOL
WINAPI
FlushConsoleInputBuffer
(
HANDLE
handle
)
{
return
console_ioctl
(
handle
,
IOCTL_CONDRV_FLUSH
,
NULL
,
0
,
NULL
,
0
,
NULL
);
}
/***********************************************************************
* Beep (kernelbase.@)
*/
BOOL
WINAPI
Beep
(
DWORD
frequency
,
DWORD
duration
)
...
...
dlls/kernelbase/kernelbase.spec
View file @
ea8fa317
...
...
@@ -381,7 +381,7 @@
@ stdcall FlsFree(long)
@ stdcall FlsGetValue(long)
@ stdcall FlsSetValue(long ptr)
@ stdcall FlushConsoleInputBuffer(long)
kernel32.FlushConsoleInputBuffer
@ stdcall FlushConsoleInputBuffer(long)
@ stdcall FlushFileBuffers(long)
@ stdcall FlushInstructionCache(long long long)
@ stdcall FlushProcessWriteBuffers() ntdll.NtFlushProcessWriteBuffers
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment