Fixed some issues found by winapi_check.

This commit is contained in:
Patrik Stridvall 2001-07-02 01:22:10 +00:00 committed by Alexandre Julliard
parent 0e397febb0
commit a274dd9105
7 changed files with 38 additions and 38 deletions

View File

@ -2,4 +2,4 @@ name dispdib
type win16
owner gdi32
1 pascal16 DISPLAYDIB(ptr ptr word) DisplayDib
1 pascal16 DisplayDib(ptr ptr word) DisplayDib

View File

@ -2,16 +2,16 @@ name wing
type win16
owner gdi32
1001 pascal16 WINGCREATEDC() WinGCreateDC16
1002 pascal16 WINGRECOMMENDDIBFORMAT(ptr) WinGRecommendDIBFormat16
1003 pascal16 WINGCREATEBITMAP(word ptr ptr) WinGCreateBitmap16
1004 pascal WINGGETDIBPOINTER(word ptr) WinGGetDIBPointer16
1005 pascal16 WINGGETDIBCOLORTABLE(word word word ptr) WinGGetDIBColorTable16
1006 pascal16 WINGSETDIBCOLORTABLE(word word word ptr) WinGSetDIBColorTable16
1007 pascal16 WINGCREATEHALFTONEPALETTE() WinGCreateHalfTonePalette16
1008 pascal16 WINGCREATEHALFTONEBRUSH(word word word) WinGCreateHalfToneBrush16
1009 pascal16 WINGSTRETCHBLT(word word word word word word word word word word) WinGStretchBlt16
1010 pascal16 WINGBITBLT(word word word word word word word word) WinGBitBlt16
1001 pascal16 WinGCreateDC() WinGCreateDC16
1002 pascal16 WinGRecommendDIBFormat(ptr) WinGRecommendDIBFormat16
1003 pascal16 WinGCreateBitmap(word ptr ptr) WinGCreateBitmap16
1004 pascal WinGGetDIBPointer(word ptr) WinGGetDIBPointer16
1005 pascal16 WinGGetDIBColorTable(word word word ptr) WinGGetDIBColorTable16
1006 pascal16 WinGSetDIBColorTable(word word word ptr) WinGSetDIBColorTable16
1007 pascal16 WinGCreateHalfTonePalette() WinGCreateHalfTonePalette16
1008 pascal16 WinGCreateHalfToneBrush(word word word) WinGCreateHalfToneBrush16
1009 pascal16 WinGStretchBlt(word word word word word word word word word word) WinGStretchBlt16
1010 pascal16 WinGBitBlt(word word word word word word word word) WinGBitBlt16
# Seem that 1299 is the limit... weird...
#1500 stub WINGINITIALIZETHUNK16

View File

@ -4,17 +4,17 @@ name stress
type win16
owner kernel32
2 pascal allocmem(long) AllocMem
3 pascal freeallmem() FreeAllMem
6 pascal allocfilehandles(word) AllocFileHandles
7 pascal unallocfilehandles() UnAllocFileHandles
8 pascal getfreefilehandles() GetFreeFileHandles
10 pascal allocdiskspace(long word) AllocDiskSpace
11 pascal unallocdiskspace(word) UnAllocDiskSpace
12 pascal allocusermem(word) AllocUserMem
13 pascal freeallusermem() FreeAllUserMem
14 pascal allocgdimem(word) AllocGDIMem
15 pascal freeallgdimem() FreeAllGDIMem
2 pascal AllocMem(long) AllocMem
3 pascal FreeAllMem() FreeAllMem
6 pascal AllocFileHandles(word) AllocFileHandles
7 pascal UnAllocFileHandles() UnAllocFileHandles
8 pascal GetFreeFileHandles() GetFreeFileHandles
10 pascal AllocDiskSpace(long word) AllocDiskSpace
11 pascal UnAllocDiskSpace(word) UnAllocDiskSpace
12 pascal AllocUserMem(word) AllocUserMem
13 pascal FreeAllUserMem() FreeAllUserMem
14 pascal AllocGDIMem(word) AllocGDIMem
15 pascal FreeAllGDIMem() FreeAllGDIMem
16 stub GETFREEHEAP32SPACE
17 stub ALLOCHEAP32MEM
18 stub FREEALLHEAP32MEM

View File

@ -5,7 +5,7 @@ owner msvfw32
2 pascal VideoForWindowsVersion() VideoForWindowsVersion
20 stub VIDEOGETNUMDEVS
21 stub VIDEOGETERRORTEXT
22 pascal VIDEOCAPDRIVERDESCANDVER(word ptr word ptr word) VideoCapDriverDescAndVer
22 pascal VideoCapDriverDescAndVer(word ptr word ptr word) VideoCapDriverDescAndVer
28 stub VIDEOOPEN
29 stub VIDEOCLOSE
30 stub VIDEODIALOG

View File

@ -134,7 +134,7 @@ __ASM_GLOBAL_FUNC(vm86_enter,
"popl %ebp\n\t"
"ret" );
#define HAVE_VM86
#define __HAVE_VM86
#endif /* linux */
@ -394,7 +394,7 @@ static inline void *get_cr2_value( const SIGCONTEXT *sigcontext )
}
#ifdef HAVE_VM86
#ifdef __HAVE_VM86
/***********************************************************************
* save_vm86_context
*
@ -445,7 +445,7 @@ static void restore_vm86_context( const CONTEXT *context, struct vm86plus_struct
vm86->regs.ss = context->SegSs;
vm86->regs.eflags = context->EFlags;
}
#endif /* HAVE_VM86 */
#endif /* __HAVE_VM86 */
/***********************************************************************
@ -469,7 +469,7 @@ static void save_context( CONTEXT *context, const SIGCONTEXT *sigcontext )
{
fs = SYSLEVEL_Win16CurrentTeb;
}
#ifdef HAVE_VM86
#ifdef __HAVE_VM86
else if ((void *)EIP_sig(sigcontext) == vm86_return) /* vm86 mode */
{
/* retrieve pointer to vm86plus struct that was stored in vm86_enter */
@ -481,7 +481,7 @@ static void save_context( CONTEXT *context, const SIGCONTEXT *sigcontext )
save_vm86_context( context, vm86 );
return;
}
#endif /* HAVE_VM86 */
#endif /* __HAVE_VM86 */
__set_fs(fs);
@ -514,7 +514,7 @@ static void save_context( CONTEXT *context, const SIGCONTEXT *sigcontext )
*/
static void restore_context( const CONTEXT *context, SIGCONTEXT *sigcontext )
{
#ifdef HAVE_VM86
#ifdef __HAVE_VM86
/* check if exception occurred in vm86 mode */
if ((void *)EIP_sig(sigcontext) == vm86_return &&
IS_SELECTOR_SYSTEM(CS_sig(sigcontext)))
@ -524,7 +524,7 @@ static void restore_context( const CONTEXT *context, SIGCONTEXT *sigcontext )
restore_vm86_context( context, vm86 );
return;
}
#endif /* HAVE_VM86 */
#endif /* __HAVE_VM86 */
EAX_sig(sigcontext) = context->Eax;
EBX_sig(sigcontext) = context->Ebx;
@ -775,7 +775,7 @@ static void do_fpe( CONTEXT *context, int trap_code )
}
#ifdef HAVE_VM86
#ifdef __HAVE_VM86
/**********************************************************************
* set_vm86_pend
*
@ -863,7 +863,7 @@ static HANDLER_DEF(alrm_handler)
set_vm86_pend( &context );
restore_context( &context, HANDLER_CONTEXT );
}
#endif /* HAVE_VM86 */
#endif /* __HAVE_VM86 */
/**********************************************************************
@ -1013,7 +1013,7 @@ BOOL SIGNAL_Init(void)
if (set_handler( SIGTRAP, have_sigaltstack, (void (*)())trap_handler ) == -1) goto error;
#endif
#ifdef HAVE_VM86
#ifdef __HAVE_VM86
if (set_handler( SIGALRM, have_sigaltstack, (void (*)())alrm_handler ) == -1) goto error;
if (set_handler( SIGUSR2, have_sigaltstack, (void (*)())usr2_handler ) == -1) goto error;
#endif
@ -1026,7 +1026,7 @@ BOOL SIGNAL_Init(void)
}
#ifdef HAVE_VM86
#ifdef __HAVE_VM86
/**********************************************************************
* __wine_enter_vm86
*
@ -1108,12 +1108,12 @@ cancel_vm86:
}
}
#else /* HAVE_VM86 */
#else /* __HAVE_VM86 */
void __wine_enter_vm86( CONTEXT *context )
{
MESSAGE("vm86 mode not supported on this platform\n");
}
#endif /* HAVE_VM86 */
#endif /* __HAVE_VM86 */
/**********************************************************************
* DbgBreakPoint (NTDLL.@)

View File

@ -76,7 +76,7 @@ owner ole32
72 stub _IID_IEXTERNALCONNECTION
73 stub COCREATEGUID
75 stub FNASSERT
76 pascal STRINGFROMGUID2(ptr ptr word) StringFromGUID2
76 pascal StringFromGUID2(ptr ptr word) StringFromGUID2
77 stub COGETCLASSEXT
78 stub OLE1CLASSFROMCLSID2
79 stub CLSIDFROMOLE1CLASS

View File

@ -7,7 +7,7 @@ owner winmm
3 pascal PlaySound(ptr word long) PlaySound16
5 pascal mmsystemGetVersion() mmsystemGetVersion16
6 pascal DriverProc(long word word long long) DriverProc16
8 pascal WMMMIDIRUNONCE() WMMMidiRunOnce16
8 pascal WMMMidiRunOnce() WMMMidiRunOnce16
30 pascal16 OutputDebugStr(str) OutputDebugStr16
31 pascal DriverCallback(long word word word long long long) DriverCallback16
32 pascal StackEnter() StackEnter16