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
5ae7ca0b
Commit
5ae7ca0b
authored
Oct 10, 2023
by
Brendan Shanks
Committed by
Alexandre Julliard
Oct 11, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wow64cpu: Use RTL_CONSTANT_STRING.
parent
bb2e02ab
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
cpu.c
dlls/wow64cpu/cpu.c
+1
-2
No files found.
dlls/wow64cpu/cpu.c
View file @
5ae7ca0b
...
...
@@ -288,7 +288,7 @@ NTSTATUS WINAPI BTCpuProcessInit(void)
ULONG
old_prot
;
CONTEXT
context
;
HMODULE
module
;
UNICODE_STRING
str
;
UNICODE_STRING
str
=
RTL_CONSTANT_STRING
(
L"ntdll.dll"
)
;
void
**
p__wine_unix_call_dispatcher
;
WOW64INFO
*
wow64info
=
NtCurrentTeb
()
->
TlsSlots
[
WOW64_TLS_WOW64INFO
];
...
...
@@ -300,7 +300,6 @@ NTSTATUS WINAPI BTCpuProcessInit(void)
wow64info
->
CpuFlags
|=
WOW64_CPUFLAGS_MSFT64
;
RtlInitUnicodeString
(
&
str
,
L"ntdll.dll"
);
LdrGetDllHandle
(
NULL
,
0
,
&
str
,
&
module
);
p__wine_unix_call_dispatcher
=
RtlFindExportedRoutineByName
(
module
,
"__wine_unix_call_dispatcher"
);
...
...
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