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
649d12b1
Commit
649d12b1
authored
Feb 03, 2009
by
Aric Stewart
Committed by
Alexandre Julliard
Feb 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf: Implement ITfInputProcessorProfiles::Register.
parent
fd92f871
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
2 deletions
+20
-2
inputprocessor.c
dlls/msctf/inputprocessor.c
+17
-2
msctf.c
dlls/msctf/msctf.c
+2
-0
msctf_internal.h
dlls/msctf/msctf_internal.h
+1
-0
No files found.
dlls/msctf/inputprocessor.c
View file @
649d12b1
...
@@ -97,8 +97,23 @@ static HRESULT WINAPI InputProcessorProfiles_Register(
...
@@ -97,8 +97,23 @@ static HRESULT WINAPI InputProcessorProfiles_Register(
ITfInputProcessorProfiles
*
iface
,
REFCLSID
rclsid
)
ITfInputProcessorProfiles
*
iface
,
REFCLSID
rclsid
)
{
{
InputProcessorProfiles
*
This
=
(
InputProcessorProfiles
*
)
iface
;
InputProcessorProfiles
*
This
=
(
InputProcessorProfiles
*
)
iface
;
FIXME
(
"STUB:(%p)
\n
"
,
This
);
HKEY
tipkey
;
return
E_NOTIMPL
;
WCHAR
buf
[
39
];
static
const
WCHAR
fmt
[]
=
{
'%'
,
's'
,
'\\'
,
'%'
,
's'
,
0
};
WCHAR
fullkey
[
68
];
TRACE
(
"(%p) %s
\n
"
,
This
,
debugstr_guid
(
rclsid
));
StringFromGUID2
(
rclsid
,
buf
,
39
);
sprintfW
(
fullkey
,
fmt
,
szwSystemTIPKey
,
buf
);
if
(
RegCreateKeyExW
(
HKEY_LOCAL_MACHINE
,
fullkey
,
0
,
NULL
,
0
,
KEY_READ
|
KEY_WRITE
,
NULL
,
&
tipkey
,
NULL
)
!=
ERROR_SUCCESS
)
return
E_FAIL
;
RegCloseKey
(
tipkey
);
return
S_OK
;
}
}
static
HRESULT
WINAPI
InputProcessorProfiles_Unregister
(
static
HRESULT
WINAPI
InputProcessorProfiles_Unregister
(
...
...
dlls/msctf/msctf.c
View file @
649d12b1
...
@@ -45,6 +45,8 @@ static HINSTANCE MSCTF_hinstance;
...
@@ -45,6 +45,8 @@ static HINSTANCE MSCTF_hinstance;
DWORD
tlsIndex
=
0
;
DWORD
tlsIndex
=
0
;
const
WCHAR
szwSystemTIPKey
[]
=
{
'S'
,
'O'
,
'F'
,
'T'
,
'W'
,
'A'
,
'R'
,
'E'
,
'\\'
,
'M'
,
'i'
,
'c'
,
'r'
,
'o'
,
's'
,
'o'
,
'f'
,
't'
,
'\\'
,
'C'
,
'T'
,
'F'
,
'\\'
,
'T'
,
'I'
,
'P'
,
0
};
typedef
HRESULT
(
*
LPFNCONSTRUCTOR
)(
IUnknown
*
pUnkOuter
,
IUnknown
**
ppvOut
);
typedef
HRESULT
(
*
LPFNCONSTRUCTOR
)(
IUnknown
*
pUnkOuter
,
IUnknown
**
ppvOut
);
static
const
struct
{
static
const
struct
{
...
...
dlls/msctf/msctf_internal.h
View file @
649d12b1
...
@@ -27,4 +27,5 @@ extern HRESULT DocumentMgr_Constructor(ITfDocumentMgr **ppOut);
...
@@ -27,4 +27,5 @@ extern HRESULT DocumentMgr_Constructor(ITfDocumentMgr **ppOut);
extern
HRESULT
Context_Constructor
(
TfClientId
tidOwner
,
IUnknown
*
punk
,
ITfContext
**
ppOut
,
TfEditCookie
*
pecTextStore
);
extern
HRESULT
Context_Constructor
(
TfClientId
tidOwner
,
IUnknown
*
punk
,
ITfContext
**
ppOut
,
TfEditCookie
*
pecTextStore
);
extern
HRESULT
InputProcessorProfiles_Constructor
(
IUnknown
*
pUnkOuter
,
IUnknown
**
ppOut
);
extern
HRESULT
InputProcessorProfiles_Constructor
(
IUnknown
*
pUnkOuter
,
IUnknown
**
ppOut
);
extern
const
WCHAR
szwSystemTIPKey
[];
#endif
/* __WINE_MSCTF_I_H */
#endif
/* __WINE_MSCTF_I_H */
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