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
9cb4c21f
Commit
9cb4c21f
authored
Feb 09, 2011
by
Ken Thomases
Committed by
Alexandre Julliard
Feb 10, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Rename GetKeyboardLayout param; it's a thread ID, not a layout.
parent
cbbb4b8d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
driver.c
dlls/user32/driver.c
+3
-3
input.c
dlls/user32/input.c
+2
-2
No files found.
dlls/user32/driver.c
View file @
9cb4c21f
...
...
@@ -176,7 +176,7 @@ static INT CDECL nulldrv_GetKeyNameText( LONG lparam, LPWSTR buffer, INT size )
return
0
;
}
static
HKL
CDECL
nulldrv_GetKeyboardLayout
(
DWORD
layout
)
static
HKL
CDECL
nulldrv_GetKeyboardLayout
(
DWORD
thread_id
)
{
return
0
;
}
...
...
@@ -529,9 +529,9 @@ static INT CDECL loaderdrv_GetKeyNameText( LONG lparam, LPWSTR buffer, INT size
return
load_driver
()
->
pGetKeyNameText
(
lparam
,
buffer
,
size
);
}
static
HKL
CDECL
loaderdrv_GetKeyboardLayout
(
DWORD
layout
)
static
HKL
CDECL
loaderdrv_GetKeyboardLayout
(
DWORD
thread_id
)
{
return
load_driver
()
->
pGetKeyboardLayout
(
layout
);
return
load_driver
()
->
pGetKeyboardLayout
(
thread_id
);
}
static
BOOL
CDECL
loaderdrv_GetKeyboardLayoutName
(
LPWSTR
name
)
...
...
dlls/user32/input.c
View file @
9cb4c21f
...
...
@@ -688,9 +688,9 @@ UINT WINAPI GetKBCodePage(void)
* the language id. This is the way Windows default works.
* - the thread identifier (dwLayout) is also ignored.
*/
HKL
WINAPI
GetKeyboardLayout
(
DWORD
dwLayout
)
HKL
WINAPI
GetKeyboardLayout
(
DWORD
thread_id
)
{
return
USER_Driver
->
pGetKeyboardLayout
(
dwLayout
);
return
USER_Driver
->
pGetKeyboardLayout
(
thread_id
);
}
/****************************************************************************
...
...
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