Fixed some issues found by winapi_check.

This commit is contained in:
Patrik Stridvall 2002-01-07 21:16:46 +00:00 committed by Alexandre Julliard
parent aa4efd49b1
commit 19d66cc1f6
11 changed files with 22 additions and 19 deletions

View File

@ -188,7 +188,7 @@ rsrc version16.res
185 stub STUFFINREGION # W2.0 (only ?)
186 stub DELETEABOVELINEFONTS # W2.0 (only ?)
188 stub GetTextExtentEx
190 pascal16 SetDCHook(word segptr long) SetDCHook
190 pascal16 SetDCHook(word segptr long) SetDCHook16
191 pascal GetDCHook(word ptr) GetDCHook
192 pascal16 SetHookFlags(word word) SetHookFlags16
193 pascal16 SetBoundsRect(word ptr word) SetBoundsRect16

View File

@ -270,7 +270,7 @@ debug_channels (msvcrt)
@ cdecl _getw(ptr) _getw
@ stub _getws #(wstr)
@ cdecl _global_unwind2(ptr) _global_unwind2
@ stub _heapadd #()
@ cdecl _heapadd (ptr long) _heapadd
@ cdecl _heapchk() _heapchk
@ cdecl _heapmin() _heapmin
@ cdecl _heapset(long) _heapset

View File

@ -385,7 +385,9 @@ HRESULT WINAPI RunDLL_CallEntry16(DWORD v, DWORD w, DWORD x, DWORD y, DWORD z)
return 0;
}
/*
/*************************************************************************
* CallCPLEntry16 [SHELL32.166]
*
* called by desk.cpl on "Advanced" with:
* hMod("DeskCp16.Dll"), pFunc("CplApplet"), 0, 1, 0xc, 0
*

View File

@ -598,7 +598,7 @@ static BOOL TEXT_GrayString(HDC hdc, HBRUSH hb, GRAYSTRINGPROC fn, LPARAM lp, IN
/***********************************************************************
* GrayString16 (USER.185)
* GrayString (USER.185)
*/
BOOL16 WINAPI GrayString16( HDC16 hdc, HBRUSH16 hbr, GRAYSTRINGPROC16 gsprc,
LPARAM lParam, INT16 cch, INT16 x, INT16 y,

View File

@ -167,7 +167,7 @@ void WINAPI ASPI_DOS_func(CONTEXT86 *context)
/**********************************************************************
* DOSVM_ASPIHandler (WINEDOS.@)
* ASPIHandler (WINEDOS.@)
*
* returns the address of a real mode callback to ASPI_DOS_func()
*/

View File

@ -323,7 +323,7 @@ callrmproc_again:
/**********************************************************************
* DOSVM_CallRMInt (WINEDOS.@)
* CallRMInt (WINEDOS.@)
*/
void WINAPI DOSVM_CallRMInt( CONTEXT86 *context )
{
@ -350,7 +350,7 @@ void WINAPI DOSVM_CallRMInt( CONTEXT86 *context )
/**********************************************************************
* DOSVM_CallRMProc (WINEDOS.@)
* CallRMProc (WINEDOS.@)
*/
void WINAPI DOSVM_CallRMProc( CONTEXT86 *context, int iret )
{
@ -553,7 +553,7 @@ void WINAPI DPMI_RawModeSwitch( SIGCONTEXT *context )
/**********************************************************************
* DOSVM_AllocRMCB (WINEDOS.@)
* AllocRMCB (WINEDOS.@)
*/
void WINAPI DOSVM_AllocRMCB( CONTEXT86 *context )
{
@ -580,7 +580,7 @@ void WINAPI DOSVM_AllocRMCB( CONTEXT86 *context )
/**********************************************************************
* DOSVM_FreeRMCB (WINEDOS.@)
* FreeRMCB (WINEDOS.@)
*/
void WINAPI DOSVM_FreeRMCB( CONTEXT86 *context )
{

View File

@ -12,7 +12,7 @@ debug_channels (aspi console ddraw int int21 int31 module relay)
# DPMI functions
@ stdcall CallRMInt(ptr) DOSVM_CallRMInt
@ stdcall CallRMProc(ptr ptr long long) DOSVM_CallRMProc
@ stdcall CallRMProc(ptr long) DOSVM_CallRMProc
@ stdcall AllocRMCB(ptr) DOSVM_AllocRMCB
@ stdcall FreeRMCB(ptr) DOSVM_FreeRMCB

View File

@ -678,7 +678,7 @@ static INT FONT_EnumInstance( LPENUMLOGFONTEXW plf, LPNEWTEXTMETRICEXW ptm,
}
/***********************************************************************
* EnumFontFamiliesEx16 (GDI.613)
* EnumFontFamiliesEx (GDI.613)
*/
INT16 WINAPI EnumFontFamiliesEx16( HDC16 hDC, LPLOGFONT16 plf,
FONTENUMPROCEX16 efproc, LPARAM lParam,
@ -773,7 +773,7 @@ INT WINAPI EnumFontFamiliesExA( HDC hDC, LPLOGFONTA plf,
}
/***********************************************************************
* EnumFontFamilies16 (GDI.330)
* EnumFontFamilies (GDI.330)
*/
INT16 WINAPI EnumFontFamilies16( HDC16 hDC, LPCSTR lpFamily,
FONTENUMPROC16 efproc, LPARAM lpData )
@ -818,7 +818,7 @@ INT WINAPI EnumFontFamiliesW( HDC hDC, LPCWSTR lpFamily,
}
/***********************************************************************
* EnumFonts16 (GDI.70)
* EnumFonts (GDI.70)
*/
INT16 WINAPI EnumFonts16( HDC16 hDC, LPCSTR lpName, FONTENUMPROC16 efproc,
LPARAM lpData )

View File

@ -854,7 +854,7 @@ BOOL WINAPI UnrealizeObject( HGDIOBJ obj )
/***********************************************************************
* EnumObjects16 (GDI.71)
* EnumObjects (GDI.71)
*/
INT16 WINAPI EnumObjects16( HDC16 hdc, INT16 nObjType,
GOBJENUMPROC16 lpEnumFunc, LPARAM lParam )
@ -1125,13 +1125,13 @@ WORD WINAPI GdiSignalProc( UINT uCode, DWORD dwThreadOrProcessID,
}
/***********************************************************************
* GdiInit2 (GDI.405)
* GdiInit2 (GDI.403)
*
* See "Undocumented Windows"
*/
HANDLE16 WINAPI GdiInit216(
HANDLE16 h1, /* GDI object */
HANDLE16 h2 /* global data */
HANDLE16 h1, /* [in] GDI object */
HANDLE16 h2 /* [in] global data */
)
{
FIXME("(%04x, %04x), stub.\n", h1, h2);
@ -1143,7 +1143,7 @@ HANDLE16 WINAPI GdiInit216(
/***********************************************************************
* FinalGdiInit (GDI.405)
*/
void WINAPI FinalGdiInit16( HBRUSH16 hPattern /* fill pattern of desktop */ )
void WINAPI FinalGdiInit16( HBRUSH16 hPattern /* [in] fill pattern of desktop */ )
{
}

View File

@ -576,7 +576,7 @@ BOOL WINAPI PlayMetaFile(
/******************************************************************
* EnumMetaFile16 (GDI.175)
* EnumMetaFile (GDI.175)
*
*/
BOOL16 WINAPI EnumMetaFile16( HDC16 hdc, HMETAFILE16 hmf,

View File

@ -1286,6 +1286,7 @@ HCURSOR16 WINAPI CopyCursor16( HINSTANCE16 hInstance, HCURSOR16 hCursor )
/**********************************************************************
* DestroyIcon32 (USER.610)
* DestroyIcon32 (USER32.@)
*
* This routine is actually exported from Win95 USER under the name
* DestroyIcon32 ... The behaviour implemented here should mimic