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
287f1f0e
Commit
287f1f0e
authored
Apr 25, 1999
by
Ulrich Weigand
Committed by
Alexandre Julliard
Apr 25, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return 32-bit module in GetModuleHandle16() if appropriate.
parent
14eadf5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
module.c
loader/ne/module.c
+7
-7
No files found.
loader/ne/module.c
View file @
287f1f0e
...
...
@@ -1399,15 +1399,15 @@ HMODULE16 WINAPI GetModuleHandle16( LPCSTR name )
return
hModule
;
}
/* FIXME: need to add ...
* 5. If the extension of 'name' is '.EXE' and the base filename of 'name'
* matches the base filename of the module filename of some 32-bit module:
* Return the corresponding 16-bit dummy module handle.
/* If the extension of 'name' is '.EXE' and the base filename of 'name'
* matches the base filename of the module filename of some 32-bit module:
* Return the corresponding 16-bit dummy module handle.
*/
if
(
len
>=
4
&&
!
strcasecmp
(
name
+
len
-
4
,
".EXE"
))
if
(
len
>=
4
&&
!
strcasecmp
(
name
+
len
-
4
,
".EXE"
))
{
FIXME
(
module
,
"Should return the 16-bit dummy module of some 32-bit module (if it exists)
\n
"
);
return
0
;
HMODULE
hModule
=
GetModuleHandleA
(
name
);
if
(
hModule
)
return
MapHModuleLS
(
hModule
);
}
if
(
!
strcmp
(
tmpstr
,
"MSDOS"
))
...
...
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