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
33a5ab52
Commit
33a5ab52
authored
May 09, 2008
by
ByeongSik Jeon
Committed by
Alexandre Julliard
May 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32: Add the all GCS_* value check.
parent
6e74a865
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
74 additions
and
0 deletions
+74
-0
imm.c
dlls/imm32/imm.c
+74
-0
No files found.
dlls/imm32/imm.c
View file @
33a5ab52
...
...
@@ -1054,6 +1054,48 @@ LONG WINAPI ImmGetCompositionStringA(
TRACE
(
"GCS_RESULTCLAUSE %p %i
\n
"
,
buffer
,
rc
);
}
break
;
case
GCS_RESULTREADSTR
:
if
(
compstr
->
dwResultReadStrLen
>
0
&&
compstr
->
dwResultReadStrOffset
>
0
)
{
isString
=
TRUE
;
buffer
=
compdata
+
compstr
->
dwResultReadStrOffset
;
rc
=
compstr
->
dwResultReadStrLen
;
TRACE
(
"GCS_RESULTREADSTR %p %i
\n
"
,
buffer
,
rc
);
}
break
;
case
GCS_RESULTREADCLAUSE
:
if
(
compstr
->
dwResultReadClauseLen
>
0
&&
compstr
->
dwResultReadClauseOffset
>
0
)
{
buffer
=
compdata
+
compstr
->
dwResultReadClauseOffset
;
rc
=
compstr
->
dwResultReadClauseLen
;
TRACE
(
"GCS_RESULTREADCLAUSE %p %i
\n
"
,
buffer
,
rc
);
}
break
;
case
GCS_COMPREADSTR
:
if
(
compstr
->
dwCompReadStrLen
>
0
&&
compstr
->
dwCompReadStrOffset
>
0
)
{
isString
=
TRUE
;
buffer
=
compdata
+
compstr
->
dwCompReadStrOffset
;
rc
=
compstr
->
dwCompReadStrLen
;
TRACE
(
"GCS_COMPREADSTR %p %i
\n
"
,
buffer
,
rc
);
}
break
;
case
GCS_COMPREADATTR
:
if
(
compstr
->
dwCompReadAttrLen
>
0
&&
compstr
->
dwCompReadAttrOffset
>
0
)
{
buffer
=
compdata
+
compstr
->
dwCompReadAttrOffset
;
rc
=
compstr
->
dwCompReadAttrLen
;
TRACE
(
"GCS_COMPREADATTR %p %i
\n
"
,
buffer
,
rc
);
}
break
;
case
GCS_COMPREADCLAUSE
:
if
(
compstr
->
dwCompReadClauseLen
>
0
&&
compstr
->
dwCompReadClauseOffset
>
0
)
{
buffer
=
compdata
+
compstr
->
dwCompReadClauseOffset
;
rc
=
compstr
->
dwCompReadClauseLen
;
TRACE
(
"GCS_COMPREADCLAUSE %p %i
\n
"
,
buffer
,
rc
);
}
break
;
case
GCS_CURSORPOS
:
TRACE
(
"GCS_CURSORPOS
\n
"
);
rc
=
compstr
->
dwCursorPos
;
...
...
@@ -1165,6 +1207,38 @@ LONG WINAPI ImmGetCompositionStringW(
TRACE
(
"GCS_COMPREADSTR %p %i
\n
"
,
buffer
,
rc
);
}
break
;
case
GCS_COMPREADATTR
:
if
(
compstr
->
dwCompReadAttrLen
>
0
&&
compstr
->
dwCompReadAttrOffset
>
0
)
{
buffer
=
compdata
+
compstr
->
dwCompReadAttrOffset
;
rc
=
compstr
->
dwCompReadAttrLen
;
TRACE
(
"GCS_COMPREADATTR %p %i
\n
"
,
buffer
,
rc
);
}
break
;
case
GCS_COMPREADCLAUSE
:
if
(
compstr
->
dwCompReadClauseLen
>
0
&&
compstr
->
dwCompReadClauseOffset
>
0
)
{
buffer
=
compdata
+
compstr
->
dwCompReadClauseOffset
;
rc
=
compstr
->
dwCompReadClauseLen
;
TRACE
(
"GCS_COMPREADCLAUSE %p %i
\n
"
,
buffer
,
rc
);
}
break
;
case
GCS_RESULTREADCLAUSE
:
if
(
compstr
->
dwResultReadClauseLen
>
0
&&
compstr
->
dwResultReadClauseOffset
>
0
)
{
buffer
=
compdata
+
compstr
->
dwResultReadClauseOffset
;
rc
=
compstr
->
dwResultReadClauseLen
;
TRACE
(
"GCS_RESULTREADCLAUSE %p %i
\n
"
,
buffer
,
rc
);
}
break
;
case
GCS_RESULTCLAUSE
:
if
(
compstr
->
dwResultClauseLen
>
0
&&
compstr
->
dwResultClauseOffset
>
0
)
{
buffer
=
compdata
+
compstr
->
dwResultClauseOffset
;
rc
=
compstr
->
dwResultClauseLen
;
TRACE
(
"GCS_RESULTCLAUSE %p %i
\n
"
,
buffer
,
rc
);
}
break
;
case
GCS_CURSORPOS
:
TRACE
(
"GCS_CURSORPOS
\n
"
);
rc
=
compstr
->
dwCursorPos
;
...
...
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