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
0566db7b
Commit
0566db7b
authored
Mar 27, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Create proper AMD64 fake dlls on 64-bit.
parent
6836990e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
fakedll.c
dlls/setupapi/fakedll.c
+4
-0
No files found.
dlls/setupapi/fakedll.c
View file @
0566db7b
...
...
@@ -272,7 +272,11 @@ static BOOL build_fake_dll( HANDLE file )
nt
=
info
.
nt
=
(
IMAGE_NT_HEADERS
*
)(
buffer
+
lfanew
);
/* some fields are copied from the source dll */
#ifdef _WIN64
nt
->
FileHeader
.
Machine
=
IMAGE_FILE_MACHINE_AMD64
;
#else
nt
->
FileHeader
.
Machine
=
IMAGE_FILE_MACHINE_I386
;
#endif
nt
->
FileHeader
.
TimeDateStamp
=
0
;
nt
->
FileHeader
.
Characteristics
=
IMAGE_FILE_DLL
;
nt
->
OptionalHeader
.
MajorLinkerVersion
=
1
;
...
...
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