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
fd8829fb
Commit
fd8829fb
authored
Apr 01, 2008
by
Aric Stewart
Committed by
Alexandre Julliard
Apr 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm: Implement GetCompositionFont.
parent
c56389ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
6 deletions
+23
-6
imm.c
dlls/imm32/imm.c
+23
-6
No files found.
dlls/imm32/imm.c
View file @
fd8829fb
...
...
@@ -917,9 +917,19 @@ BOOL WINAPI ImmGetCandidateWindow(
*/
BOOL
WINAPI
ImmGetCompositionFontA
(
HIMC
hIMC
,
LPLOGFONTA
lplf
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
hIMC
,
lplf
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
LOGFONTW
lfW
;
BOOL
rc
;
TRACE
(
"(%p, %p):
\n
"
,
hIMC
,
lplf
);
rc
=
ImmGetCompositionFontW
(
hIMC
,
&
lfW
);
if
(
rc
)
{
memcpy
(
lplf
,
&
lfW
,
sizeof
(
LOGFONTA
));
WideCharToMultiByte
(
CP_ACP
,
0
,
lfW
.
lfFaceName
,
-
1
,
lplf
->
lfFaceName
,
LF_FACESIZE
,
NULL
,
NULL
);
}
return
rc
;
}
/***********************************************************************
...
...
@@ -927,9 +937,16 @@ BOOL WINAPI ImmGetCompositionFontA(HIMC hIMC, LPLOGFONTA lplf)
*/
BOOL
WINAPI
ImmGetCompositionFontW
(
HIMC
hIMC
,
LPLOGFONTW
lplf
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
hIMC
,
lplf
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
InputContextData
*
data
=
(
InputContextData
*
)
hIMC
;
TRACE
(
"(%p, %p):
\n
"
,
hIMC
,
lplf
);
if
(
!
data
)
return
FALSE
;
*
lplf
=
data
->
IMC
.
lfFont
.
W
;
return
TRUE
;
}
/***********************************************************************
...
...
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