Bugfix: Preserve EAX in UnMapSLFixArray().

This commit is contained in:
Ulrich Weigand 1999-02-02 10:34:46 +00:00 committed by Alexandre Julliard
parent a0a516d60e
commit 90c245cdbf
2 changed files with 5 additions and 2 deletions

View File

@ -554,8 +554,11 @@ LPVOID WINAPI MapSLFix( SEGPTR sptr )
* UnMapSLFixArray (KERNEL32.701)
*/
void WINAPI UnMapSLFixArray( SEGPTR sptr[], INT32 length )
REGS_ENTRYPOINT(UnMapSLFixArray) /* SEGPTR sptr[], INT32 length */
{
/* Must not change EAX, hence defined as 'register' function */
/* We need to remove the arguments ourselves */
ESP_reg( context ) += 8;
}
/***********************************************************************

View File

@ -717,7 +717,7 @@ init MAIN_KernelInit
698 stdcall UTRegister(long str str str ptr ptr ptr) UTRegister
699 stdcall UTUnRegister(long) UTUnRegister
700 stdcall UnMapLS(long) UnMapLS
701 stdcall UnMapSLFixArray(ptr long) UnMapSLFixArray
701 register UnMapSLFixArray() UnMapSLFixArray
702 stdcall UnhandledExceptionFilter(ptr) UnhandledExceptionFilter
703 stub UninitializeCriticalSection
704 stdcall UnlockFile(long long long long long) UnlockFile