Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
a9277a9c
Commit
a9277a9c
authored
Oct 26, 2015
by
Hugh McMaster
Committed by
Alexandre Julliard
Oct 26, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Implement the FALSE pathway of GetCurrentConsoleFont.
Signed-off-by:
Hugh McMaster
<
hugh.mcmaster@outlook.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bc7809c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
3 deletions
+22
-3
console.c
dlls/kernel32/console.c
+22
-3
No files found.
dlls/kernel32/console.c
View file @
a9277a9c
...
...
@@ -3236,9 +3236,28 @@ BOOL WINAPI SetConsoleIcon(HICON icon)
BOOL
WINAPI
GetCurrentConsoleFont
(
HANDLE
hConsole
,
BOOL
maxwindow
,
LPCONSOLE_FONT_INFO
fontinfo
)
{
FIXME
(
": (%p, %d, %p) stub!
\n
"
,
hConsole
,
maxwindow
,
fontinfo
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
BOOL
ret
;
memset
(
fontinfo
,
0
,
sizeof
(
CONSOLE_FONT_INFO
));
if
(
maxwindow
)
{
FIXME
(
": (%p, %d, %p) stub!
\n
"
,
hConsole
,
maxwindow
,
fontinfo
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
SERVER_START_REQ
(
get_console_output_info
)
{
req
->
handle
=
console_handle_unmap
(
hConsole
);
if
((
ret
=
!
wine_server_call_err
(
req
)))
{
fontinfo
->
dwFontSize
.
X
=
reply
->
win_right
-
reply
->
win_left
+
1
;
fontinfo
->
dwFontSize
.
Y
=
reply
->
win_bottom
-
reply
->
win_top
+
1
;
}
}
SERVER_END_REQ
;
return
ret
;
}
#ifdef __i386__
...
...
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