From e5266e8a4428e93acaf40c1a51df1e0a54c143cc Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Thu, 15 Jul 1999 16:09:05 +0000 Subject: [PATCH] Add WINAPI for EntryAddrProc. --- include/module.h | 2 +- loader/ne/module.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/module.h b/include/module.h index fdd1c556a1b..9055fbe264c 100644 --- a/include/module.h +++ b/include/module.h @@ -198,7 +198,7 @@ extern void NE_DumpModule( HMODULE16 hModule ); extern void NE_WalkModules(void); extern void NE_RegisterModule( NE_MODULE *pModule ); extern WORD NE_GetOrdinal( HMODULE16 hModule, const char *name ); -extern FARPROC16 NE_GetEntryPoint( HMODULE16 hModule, WORD ordinal ); +extern FARPROC16 WINAPI NE_GetEntryPoint( HMODULE16 hModule, WORD ordinal ); extern FARPROC16 NE_GetEntryPointEx( HMODULE16 hModule, WORD ordinal, BOOL16 snoop ); extern BOOL16 NE_SetEntryPoint( HMODULE16 hModule, WORD ordinal, WORD offset ); extern HANDLE NE_OpenFile( NE_MODULE *pModule ); diff --git a/loader/ne/module.c b/loader/ne/module.c index 49bea39973b..9b393e3236c 100644 --- a/loader/ne/module.c +++ b/loader/ne/module.c @@ -289,7 +289,7 @@ WORD NE_GetOrdinal( HMODULE16 hModule, const char *name ) * * Return the entry point for a given ordinal. */ -FARPROC16 NE_GetEntryPoint( HMODULE16 hModule, WORD ordinal ) +FARPROC16 WINAPI NE_GetEntryPoint( HMODULE16 hModule, WORD ordinal ) { return NE_GetEntryPointEx( hModule, ordinal, TRUE ); }