Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Yoann Laissus
wine
Commits
fdd64296
Commit
fdd64296
authored
25 years ago
by
Ulrich Weigand
Committed by
Alexandre Julliard
25 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Release Win16Lock when calling LoadLibrary32 from 16-bit code.
parent
cb781643
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
if1632/kernel.spec
+2
-2
2 additions, 2 deletions
if1632/kernel.spec
loader/module.c
+16
-4
16 additions, 4 deletions
loader/module.c
with
18 additions
and
6 deletions
if1632/kernel.spec
+
2
−
2
View file @
fdd64296
...
...
@@ -356,7 +356,7 @@ file krnl386.exe
449 pascal GetpWin16Lock() GetpWin16Lock16
450 pascal VWin32_EventWait(long) VWin32_EventWait
451 pascal VWin32_EventSet(long) VWin32_EventSet
452 pascal LoadLibrary32(str) LoadLibrary
A
452 pascal LoadLibrary32(str) LoadLibrary
32_16
453 pascal GetProcAddress32(long str) GetProcAddress32_16
454 equate __FLATCS 0 # initialized by BUILTIN_Init()
455 equate __FLATDS 0 # initialized by BUILTIN_Init()
...
...
@@ -386,7 +386,7 @@ file krnl386.exe
479 pascal KERNEL_479(long) VWin32_EventSet # ???
480 pascal16 _EnterWin16Lock() SYSLEVEL_EnterWin16Lock
481 pascal16 _LeaveWin16Lock() SYSLEVEL_LeaveWin16Lock
482 pascal LoadSystemLibrary32(str) LoadLibrary
A
# FIXME!
482 pascal LoadSystemLibrary32(str) LoadLibrary
32_16
# FIXME!
483 stub MapProcessHandle
484 pascal SetProcessDWORD(long s_word long) SetProcessDword
485 pascal GetProcessDWORD(long s_word) GetProcessDword
...
...
This diff is collapsed.
Click to expand it.
loader/module.c
+
16
−
4
View file @
fdd64296
...
...
@@ -1314,13 +1314,25 @@ DWORD WINAPI GetModuleFileNameW( HMODULE hModule, LPWSTR lpFileName,
/***********************************************************************
* LoadLibraryEx32W (KERNEL.513)
* FIXME
*/
HMODULE
WINAPI
LoadLibraryEx32W16
(
LPCSTR
libname
,
HANDLE16
hf
,
DWORD
flags
)
DWORD
flags
)
{
TRACE_
(
module
)(
"(%s,%d,%08lx)
\n
"
,
libname
,
hf
,
flags
);
return
LoadLibraryExA
(
libname
,
hf
,
flags
);
HMODULE
hModule
;
SYSLEVEL_ReleaseWin16Lock
();
hModule
=
LoadLibraryExA
(
libname
,
hf
,
flags
);
SYSLEVEL_RestoreWin16Lock
();
return
hModule
;
}
/***********************************************************************
* LoadLibrary32_16 (KERNEL.452)
*/
HMODULE
WINAPI
LoadLibrary32_16
(
LPCSTR
libname
)
{
return
LoadLibraryEx32W16
(
libname
,
0
,
0
);
}
/***********************************************************************
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment