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
fd92f871
Commit
fd92f871
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 InputProcessorProfiles::GetCurrentLanguage.
parent
6c842a86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
inputprocessor.c
dlls/msctf/inputprocessor.c
+11
-2
No files found.
dlls/msctf/inputprocessor.c
View file @
fd92f871
...
...
@@ -43,6 +43,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(msctf);
typedef
struct
tagInputProcessorProfiles
{
const
ITfInputProcessorProfilesVtbl
*
InputProcessorProfilesVtbl
;
LONG
refCount
;
LANGID
currentLanguage
;
}
InputProcessorProfiles
;
static
void
InputProcessorProfiles_Destructor
(
InputProcessorProfiles
*
This
)
...
...
@@ -184,8 +186,14 @@ static HRESULT WINAPI InputProcessorProfiles_GetCurrentLanguage(
ITfInputProcessorProfiles
*
iface
,
LANGID
*
plangid
)
{
InputProcessorProfiles
*
This
=
(
InputProcessorProfiles
*
)
iface
;
FIXME
(
"STUB:(%p)
\n
"
,
This
);
return
E_NOTIMPL
;
TRACE
(
"(%p) 0x%x
\n
"
,
This
,
This
->
currentLanguage
);
if
(
!
plangid
)
return
E_INVALIDARG
;
*
plangid
=
This
->
currentLanguage
;
return
S_OK
;
}
static
HRESULT
WINAPI
InputProcessorProfiles_ChangeCurrentLanguage
(
...
...
@@ -288,6 +296,7 @@ HRESULT InputProcessorProfiles_Constructor(IUnknown *pUnkOuter, IUnknown **ppOut
This
->
InputProcessorProfilesVtbl
=
&
InputProcessorProfiles_InputProcessorProfilesVtbl
;
This
->
refCount
=
1
;
This
->
currentLanguage
=
GetUserDefaultLCID
();
TRACE
(
"returning %p
\n
"
,
This
);
*
ppOut
=
(
IUnknown
*
)
This
;
...
...
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