Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
cfa977d9
Commit
cfa977d9
authored
Jul 12, 1999
by
Ulrich Weigand
Committed by
Alexandre Julliard
Jul 12, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bugs introduced by 'register' and 'return' function changes.
parent
2637ebc2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
kernel.spec
if1632/kernel.spec
+2
-2
task.c
loader/task.c
+9
-5
No files found.
if1632/kernel.spec
View file @
cfa977d9
...
...
@@ -136,7 +136,7 @@ file krnl386.exe
130 pascal FileCDR(ptr) FileCDR16
131 pascal GetDOSEnvironment() GetDOSEnvironment16
132 pascal GetWinFlags() GetWinFlags16
133 pascal16 GetExePtr(word) GetExePtr
133 pascal16 GetExePtr(word)
WIN16_
GetExePtr
134 pascal16 GetWindowsDirectory(ptr word) GetWindowsDirectory16
135 pascal16 GetSystemDirectory(ptr word) GetSystemDirectory16
136 pascal16 GetDriveType(word) GetDriveType16
...
...
@@ -480,7 +480,7 @@ file krnl386.exe
608 pascal AllocSLThunkletSysthunk(long segptr long) AllocSLThunkletSysthunk16
609 pascal FindLSThunkletCallback(segptr long) FindLSThunkletCallback
610 pascal FindSLThunkletCallback(long long) FindSLThunkletCallback
611 pascal16 FreeThunklet() FreeThunklet16
611 pascal16 FreeThunklet(
long long
) FreeThunklet16
612 pascal16 IsSLThunklet(ptr) IsSLThunklet16
613 stub HugeMapLS
614 stub HugeUnMapLS
...
...
loader/task.c
View file @
cfa977d9
...
...
@@ -1506,19 +1506,23 @@ static inline HMODULE16 GetExePtrHelper( HANDLE16 handle, HTASK16 *hTask )
return
0
;
}
HMODULE16
WINAPI
GetExePtr
(
HANDLE16
handle
)
HMODULE16
WINAPI
WIN16_
GetExePtr
(
HANDLE16
handle
)
{
STACK16FRAME
*
frame
;
HTASK16
hTask
=
0
;
HMODULE16
hModule
=
GetExePtrHelper
(
handle
,
&
hTask
);
if
((
frame
=
CURRENT_STACK16
)
!=
NULL
)
{
STACK16FRAME
*
frame
=
CURRENT_STACK16
;
frame
->
ecx
=
hModule
;
if
(
hTask
)
frame
->
es
=
hTask
;
}
return
hModule
;
}
HMODULE16
WINAPI
GetExePtr
(
HANDLE16
handle
)
{
HTASK16
hTask
=
0
;
return
GetExePtrHelper
(
handle
,
&
hTask
);
}
/***********************************************************************
* TaskFirst (TOOLHELP.63)
*/
...
...
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