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
a470c0b0
Commit
a470c0b0
authored
Jun 26, 2008
by
Kirill K. Smirnov
Committed by
Alexandre Julliard
Jun 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Add stubs for [G|S]etConsoleDisplayMode.
parent
02a9b6ae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
2 deletions
+29
-2
console.c
dlls/kernel32/console.c
+27
-0
kernel32.spec
dlls/kernel32/kernel32.spec
+2
-2
No files found.
dlls/kernel32/console.c
View file @
a470c0b0
...
...
@@ -2544,6 +2544,33 @@ BOOL WINAPI AttachConsole(DWORD dwProcessId)
return
TRUE
;
}
/******************************************************************
* GetConsoleDisplayMode (KERNEL32.@)
*/
BOOL
WINAPI
GetConsoleDisplayMode
(
LPDWORD
lpModeFlags
)
{
TRACE
(
"semi-stub: %p
\n
"
,
lpModeFlags
);
/* It is safe to successfully report windowed mode */
*
lpModeFlags
=
0
;
return
TRUE
;
}
/******************************************************************
* SetConsoleDisplayMode (KERNEL32.@)
*/
BOOL
WINAPI
SetConsoleDisplayMode
(
HANDLE
hConsoleOutput
,
DWORD
dwFlags
,
COORD
*
lpNewScreenBufferDimensions
)
{
TRACE
(
"(%p, %x, (%d, %d))
\n
"
,
hConsoleOutput
,
dwFlags
,
lpNewScreenBufferDimensions
->
X
,
lpNewScreenBufferDimensions
->
Y
);
if
(
dwFlags
==
1
)
{
/* We cannot switch to fullscreen */
return
FALSE
;
}
return
TRUE
;
}
/* ====================================================================
*
...
...
dlls/kernel32/kernel32.spec
View file @
a470c0b0
...
...
@@ -457,7 +457,7 @@
@ stub GetConsoleCommandHistoryW
@ stdcall GetConsoleCursorInfo(long ptr)
@ stub GetConsoleCursorMode
@ st
ub GetConsoleDisplayMode
@ st
dcall GetConsoleDisplayMode(ptr)
@ stub GetConsoleFontInfo
@ stub GetConsoleFontSize
@ stub GetConsoleHardwareState
...
...
@@ -964,7 +964,7 @@
@ stdcall SetConsoleCursorInfo(long ptr)
@ stub SetConsoleCursorMode
@ stdcall SetConsoleCursorPosition(long long)
@ st
ub SetConsoleDisplayMode
@ st
dcall SetConsoleDisplayMode(long long ptr)
@ stub SetConsoleFont
@ stub SetConsoleHardwareState
@ stub SetConsoleIcon
...
...
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