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
142d94e5
Commit
142d94e5
authored
Oct 13, 1999
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 13, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WPROCS.ENTRYADDRPROC needs to return something in CX too (fixes
BLINKER selfextracting executables).
parent
3336f485
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
wprocs.spec
if1632/wprocs.spec
+1
-1
module.c
loader/ne/module.c
+6
-0
No files found.
if1632/wprocs.spec
View file @
142d94e5
...
@@ -2,7 +2,7 @@ name wprocs
...
@@ -2,7 +2,7 @@ name wprocs
type win16
type win16
23 pascal UTGlue16(ptr long ptr long) UTGlue16
23 pascal UTGlue16(ptr long ptr long) UTGlue16
27 pascal EntryAddrProc(word word) NE_GetEntryPoint
27 pascal EntryAddrProc(word word)
WIN16_
NE_GetEntryPoint
28 pascal MyAlloc(word word word) NE_AllocateSegment
28 pascal MyAlloc(word word word) NE_AllocateSegment
# Interrupt vectors 0-255 are ordinals 100-355
# Interrupt vectors 0-255 are ordinals 100-355
...
...
loader/ne/module.c
View file @
142d94e5
...
@@ -285,6 +285,12 @@ WORD NE_GetOrdinal( HMODULE16 hModule, const char *name )
...
@@ -285,6 +285,12 @@ WORD NE_GetOrdinal( HMODULE16 hModule, const char *name )
*
*
* Return the entry point for a given ordinal.
* Return the entry point for a given ordinal.
*/
*/
FARPROC16
WINAPI
WIN16_NE_GetEntryPoint
(
HMODULE16
hModule
,
WORD
ordinal
)
{
FARPROC16
ret
=
NE_GetEntryPointEx
(
hModule
,
ordinal
,
TRUE
);
CURRENT_STACK16
->
ecx
=
hModule
;
/* FIXME: might be incorrect value */
return
ret
;
}
FARPROC16
WINAPI
NE_GetEntryPoint
(
HMODULE16
hModule
,
WORD
ordinal
)
FARPROC16
WINAPI
NE_GetEntryPoint
(
HMODULE16
hModule
,
WORD
ordinal
)
{
{
return
NE_GetEntryPointEx
(
hModule
,
ordinal
,
TRUE
);
return
NE_GetEntryPointEx
(
hModule
,
ordinal
,
TRUE
);
...
...
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