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
45cd7ff4
Commit
45cd7ff4
authored
Mar 05, 2021
by
Rafał Harabień
Committed by
Alexandre Julliard
Mar 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Add Wow64GetThreadSelectorEntry stub.
Signed-off-by:
Rafał Harabień
<
rafalh92@outlook.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
77481d36
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-1
thread.c
dlls/kernel32/thread.c
+12
-0
winbase.h
include/winbase.h
+1
-0
No files found.
dlls/kernel32/kernel32.spec
View file @
45cd7ff4
...
...
@@ -1617,7 +1617,7 @@
@ stdcall Wow64EnableWow64FsRedirection(long) KERNEL32_Wow64EnableWow64FsRedirection
@ stdcall -import Wow64DisableWow64FsRedirection(ptr)
@ stdcall Wow64GetThreadContext(long ptr)
# @ stub Wow64GetThreadSelectorEntry
@ stdcall Wow64GetThreadSelectorEntry(long long ptr)
@ stdcall -import Wow64RevertWow64FsRedirection(ptr)
@ stdcall Wow64SetThreadContext(long ptr)
# @ stub Wow64SuspendThread
...
...
dlls/kernel32/thread.c
View file @
45cd7ff4
...
...
@@ -30,8 +30,10 @@
#include "winternl.h"
#include "wine/asm.h"
#include "wine/debug.h"
#include "kernel_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
thread
);
/***********************************************************************
* BaseThreadInitThunk (KERNEL32.@)
...
...
@@ -99,6 +101,16 @@ BOOL WINAPI Wow64GetThreadContext( HANDLE handle, WOW64_CONTEXT *context)
}
/***********************************************************************
* Wow64GetThreadSelectorEntry [KERNEL32.@]
*/
BOOL
WINAPI
Wow64GetThreadSelectorEntry
(
HANDLE
thread
,
DWORD
selector
,
WOW64_LDT_ENTRY
*
selector_entry
)
{
FIXME
(
"(%p %u %p): stub
\n
"
,
thread
,
selector
,
selector_entry
);
return
set_ntstatus
(
STATUS_NOT_IMPLEMENTED
);
}
/**********************************************************************
* SetThreadAffinityMask (KERNEL32.@)
*/
...
...
include/winbase.h
View file @
45cd7ff4
...
...
@@ -2771,6 +2771,7 @@ WINBASEAPI UINT WINAPI WinExec(LPCSTR,UINT);
WINBASEAPI
BOOL
WINAPI
Wow64DisableWow64FsRedirection
(
PVOID
*
);
WINBASEAPI
BOOLEAN
WINAPI
Wow64EnableWow64FsRedirection
(
BOOLEAN
);
WINBASEAPI
BOOL
WINAPI
Wow64GetThreadContext
(
HANDLE
,
WOW64_CONTEXT
*
);
WINBASEAPI
BOOL
WINAPI
Wow64GetThreadSelectorEntry
(
HANDLE
,
DWORD
,
WOW64_LDT_ENTRY
*
);
WINBASEAPI
BOOL
WINAPI
Wow64RevertWow64FsRedirection
(
PVOID
);
WINBASEAPI
BOOL
WINAPI
Wow64SetThreadContext
(
HANDLE
,
const
WOW64_CONTEXT
*
);
WINADVAPI
DWORD
WINAPI
WriteEncryptedFileRaw
(
PFE_IMPORT_FUNC
,
PVOID
,
PVOID
);
...
...
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