Add WINAPI for EntryAddrProc.

This commit is contained in:
Uwe Bonnes 1999-07-15 16:09:05 +00:00 committed by Alexandre Julliard
parent f73b72b557
commit e5266e8a44
2 changed files with 2 additions and 2 deletions

View file

@ -198,7 +198,7 @@ extern void NE_DumpModule( HMODULE16 hModule );
extern void NE_WalkModules(void); extern void NE_WalkModules(void);
extern void NE_RegisterModule( NE_MODULE *pModule ); extern void NE_RegisterModule( NE_MODULE *pModule );
extern WORD NE_GetOrdinal( HMODULE16 hModule, const char *name ); 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 FARPROC16 NE_GetEntryPointEx( HMODULE16 hModule, WORD ordinal, BOOL16 snoop );
extern BOOL16 NE_SetEntryPoint( HMODULE16 hModule, WORD ordinal, WORD offset ); extern BOOL16 NE_SetEntryPoint( HMODULE16 hModule, WORD ordinal, WORD offset );
extern HANDLE NE_OpenFile( NE_MODULE *pModule ); extern HANDLE NE_OpenFile( NE_MODULE *pModule );

View file

@ -289,7 +289,7 @@ 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 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 );
} }