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
b4843f29
Commit
b4843f29
authored
Jun 28, 2018
by
Zebediah Figura
Committed by
Alexandre Julliard
Jun 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf/tests: Skip tests if limited.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e050c249
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
Makefile.in
dlls/msctf/tests/Makefile.in
+1
-1
inputprocessor.c
dlls/msctf/tests/inputprocessor.c
+11
-0
No files found.
dlls/msctf/tests/Makefile.in
View file @
b4843f29
TESTDLL
=
msctf.dll
IMPORTS
=
ole32 user32
IMPORTS
=
ole32 user32
advapi32
C_SRCS
=
\
inputprocessor.c
...
...
dlls/msctf/tests/inputprocessor.c
View file @
b4843f29
...
...
@@ -943,7 +943,18 @@ DEFINE_GUID(GUID_COMPARTMENT_TIPUISTATUS, 0x148ca3ec,0x0366,0x401c,0x8
static
HRESULT
initialize
(
void
)
{
HRESULT
hr
;
HKEY
hkey
;
CoInitialize
(
NULL
);
if
(
RegOpenKeyExA
(
HKEY_LOCAL_MACHINE
,
"Software
\\
Microsoft
\\
CTF
\\
TIP"
,
0
,
KEY_READ
|
KEY_WRITE
,
&
hkey
)
!=
ERROR_SUCCESS
)
{
skip
(
"Not enough permission to register input processor
\n
"
);
return
E_FAIL
;
}
RegCloseKey
(
hkey
);
hr
=
CoCreateInstance
(
&
CLSID_TF_InputProcessorProfiles
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_ITfInputProcessorProfiles
,
(
void
**
)
&
g_ipp
);
if
(
SUCCEEDED
(
hr
))
...
...
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