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
391466dd
Commit
391466dd
authored
Aug 16, 2000
by
Peter Ganten
Committed by
Alexandre Julliard
Aug 16, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If a module cannot be found in LoadLibraryEx32W16, call LoadLibraryEx
anyway, since it might be a builtin module.
parent
ce1dc562
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
wowthunk.c
dlls/kernel/wowthunk.c
+6
-1
No files found.
dlls/kernel/wowthunk.c
View file @
391466dd
...
...
@@ -298,7 +298,12 @@ DWORD WINAPI LoadLibraryEx32W16( LPCSTR lpszLibFile, DWORD hFile, DWORD dwFlags
HMODULE
hModule
;
DOS_FULL_NAME
full_name
;
if
(
!
DIR_SearchPath
(
NULL
,
lpszLibFile
,
".DLL"
,
&
full_name
,
FALSE
)
)
return
0
;
/* if the file can not be found, call LoadLibraryExA anyway, since it might be
a buildin module. This case is handled in MODULE_LoadLibraryExA */
if
(
!
DIR_SearchPath
(
NULL
,
lpszLibFile
,
".DLL"
,
&
full_name
,
FALSE
)
)
{
strcpy
(
full_name
.
short_name
,
lpszLibFile
);
}
SYSLEVEL_ReleaseWin16Lock
();
hModule
=
LoadLibraryExA
(
full_name
.
short_name
,
(
HANDLE
)
hFile
,
dwFlags
);
...
...
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