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
6f019fe9
Commit
6f019fe9
authored
Feb 17, 2009
by
Aric Stewart
Committed by
Alexandre Julliard
Feb 18, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf: Implement ITfInputProcessorProfiles::EnableLanguageProfileByDefault.
parent
f970d000
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
2 deletions
+23
-2
inputprocessor.c
dlls/msctf/inputprocessor.c
+23
-2
No files found.
dlls/msctf/inputprocessor.c
View file @
6f019fe9
...
...
@@ -357,9 +357,30 @@ static HRESULT WINAPI InputProcessorProfiles_EnableLanguageProfileByDefault(
ITfInputProcessorProfiles
*
iface
,
REFCLSID
rclsid
,
LANGID
langid
,
REFGUID
guidProfile
,
BOOL
fEnable
)
{
HKEY
key
;
WCHAR
buf
[
39
];
WCHAR
buf2
[
39
];
WCHAR
fullkey
[
168
];
ULONG
res
;
InputProcessorProfiles
*
This
=
(
InputProcessorProfiles
*
)
iface
;
FIXME
(
"STUB:(%p)
\n
"
,
This
);
return
E_NOTIMPL
;
TRACE
(
"(%p) %s %x %s %i
\n
"
,
This
,
debugstr_guid
(
rclsid
),
langid
,
debugstr_guid
(
guidProfile
),
fEnable
);
StringFromGUID2
(
rclsid
,
buf
,
39
);
StringFromGUID2
(
guidProfile
,
buf2
,
39
);
sprintfW
(
fullkey
,
szwFullLangfmt
,
szwSystemTIPKey
,
buf
,
szwLngp
,
langid
,
buf2
);
res
=
RegOpenKeyExW
(
HKEY_LOCAL_MACHINE
,
fullkey
,
0
,
KEY_READ
|
KEY_WRITE
,
&
key
);
if
(
!
res
)
{
RegSetValueExW
(
key
,
szwEnabled
,
0
,
REG_DWORD
,
(
LPBYTE
)
&
fEnable
,
sizeof
(
DWORD
));
RegCloseKey
(
key
);
}
else
return
E_FAIL
;
return
S_OK
;
}
static
HRESULT
WINAPI
InputProcessorProfiles_SubstituteKeyboardLayout
(
...
...
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