Commit 19d66cc1 authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Fixed some issues found by winapi_check.

parent aa4efd49
...@@ -188,7 +188,7 @@ rsrc version16.res ...@@ -188,7 +188,7 @@ rsrc version16.res
185 stub STUFFINREGION # W2.0 (only ?) 185 stub STUFFINREGION # W2.0 (only ?)
186 stub DELETEABOVELINEFONTS # W2.0 (only ?) 186 stub DELETEABOVELINEFONTS # W2.0 (only ?)
188 stub GetTextExtentEx 188 stub GetTextExtentEx
190 pascal16 SetDCHook(word segptr long) SetDCHook 190 pascal16 SetDCHook(word segptr long) SetDCHook16
191 pascal GetDCHook(word ptr) GetDCHook 191 pascal GetDCHook(word ptr) GetDCHook
192 pascal16 SetHookFlags(word word) SetHookFlags16 192 pascal16 SetHookFlags(word word) SetHookFlags16
193 pascal16 SetBoundsRect(word ptr word) SetBoundsRect16 193 pascal16 SetBoundsRect(word ptr word) SetBoundsRect16
......
...@@ -270,7 +270,7 @@ debug_channels (msvcrt) ...@@ -270,7 +270,7 @@ debug_channels (msvcrt)
@ cdecl _getw(ptr) _getw @ cdecl _getw(ptr) _getw
@ stub _getws #(wstr) @ stub _getws #(wstr)
@ cdecl _global_unwind2(ptr) _global_unwind2 @ cdecl _global_unwind2(ptr) _global_unwind2
@ stub _heapadd #() @ cdecl _heapadd (ptr long) _heapadd
@ cdecl _heapchk() _heapchk @ cdecl _heapchk() _heapchk
@ cdecl _heapmin() _heapmin @ cdecl _heapmin() _heapmin
@ cdecl _heapset(long) _heapset @ cdecl _heapset(long) _heapset
......
...@@ -385,7 +385,9 @@ HRESULT WINAPI RunDLL_CallEntry16(DWORD v, DWORD w, DWORD x, DWORD y, DWORD z) ...@@ -385,7 +385,9 @@ HRESULT WINAPI RunDLL_CallEntry16(DWORD v, DWORD w, DWORD x, DWORD y, DWORD z)
return 0; return 0;
} }
/* /*************************************************************************
* CallCPLEntry16 [SHELL32.166]
*
* called by desk.cpl on "Advanced" with: * called by desk.cpl on "Advanced" with:
* hMod("DeskCp16.Dll"), pFunc("CplApplet"), 0, 1, 0xc, 0 * hMod("DeskCp16.Dll"), pFunc("CplApplet"), 0, 1, 0xc, 0
* *
......
...@@ -598,7 +598,7 @@ static BOOL TEXT_GrayString(HDC hdc, HBRUSH hb, GRAYSTRINGPROC fn, LPARAM lp, IN ...@@ -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, BOOL16 WINAPI GrayString16( HDC16 hdc, HBRUSH16 hbr, GRAYSTRINGPROC16 gsprc,
LPARAM lParam, INT16 cch, INT16 x, INT16 y, LPARAM lParam, INT16 cch, INT16 x, INT16 y,
......
...@@ -167,7 +167,7 @@ void WINAPI ASPI_DOS_func(CONTEXT86 *context) ...@@ -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() * returns the address of a real mode callback to ASPI_DOS_func()
*/ */
......
...@@ -323,7 +323,7 @@ callrmproc_again: ...@@ -323,7 +323,7 @@ callrmproc_again:
/********************************************************************** /**********************************************************************
* DOSVM_CallRMInt (WINEDOS.@) * CallRMInt (WINEDOS.@)
*/ */
void WINAPI DOSVM_CallRMInt( CONTEXT86 *context ) void WINAPI DOSVM_CallRMInt( CONTEXT86 *context )
{ {
...@@ -350,7 +350,7 @@ 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 ) void WINAPI DOSVM_CallRMProc( CONTEXT86 *context, int iret )
{ {
...@@ -553,7 +553,7 @@ void WINAPI DPMI_RawModeSwitch( SIGCONTEXT *context ) ...@@ -553,7 +553,7 @@ void WINAPI DPMI_RawModeSwitch( SIGCONTEXT *context )
/********************************************************************** /**********************************************************************
* DOSVM_AllocRMCB (WINEDOS.@) * AllocRMCB (WINEDOS.@)
*/ */
void WINAPI DOSVM_AllocRMCB( CONTEXT86 *context ) void WINAPI DOSVM_AllocRMCB( CONTEXT86 *context )
{ {
...@@ -580,7 +580,7 @@ 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 ) void WINAPI DOSVM_FreeRMCB( CONTEXT86 *context )
{ {
......
...@@ -12,7 +12,7 @@ debug_channels (aspi console ddraw int int21 int31 module relay) ...@@ -12,7 +12,7 @@ debug_channels (aspi console ddraw int int21 int31 module relay)
# DPMI functions # DPMI functions
@ stdcall CallRMInt(ptr) DOSVM_CallRMInt @ 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 AllocRMCB(ptr) DOSVM_AllocRMCB
@ stdcall FreeRMCB(ptr) DOSVM_FreeRMCB @ stdcall FreeRMCB(ptr) DOSVM_FreeRMCB
......
...@@ -678,7 +678,7 @@ static INT FONT_EnumInstance( LPENUMLOGFONTEXW plf, LPNEWTEXTMETRICEXW ptm, ...@@ -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, INT16 WINAPI EnumFontFamiliesEx16( HDC16 hDC, LPLOGFONT16 plf,
FONTENUMPROCEX16 efproc, LPARAM lParam, FONTENUMPROCEX16 efproc, LPARAM lParam,
...@@ -773,7 +773,7 @@ INT WINAPI EnumFontFamiliesExA( HDC hDC, LPLOGFONTA plf, ...@@ -773,7 +773,7 @@ INT WINAPI EnumFontFamiliesExA( HDC hDC, LPLOGFONTA plf,
} }
/*********************************************************************** /***********************************************************************
* EnumFontFamilies16 (GDI.330) * EnumFontFamilies (GDI.330)
*/ */
INT16 WINAPI EnumFontFamilies16( HDC16 hDC, LPCSTR lpFamily, INT16 WINAPI EnumFontFamilies16( HDC16 hDC, LPCSTR lpFamily,
FONTENUMPROC16 efproc, LPARAM lpData ) FONTENUMPROC16 efproc, LPARAM lpData )
...@@ -818,7 +818,7 @@ INT WINAPI EnumFontFamiliesW( HDC hDC, LPCWSTR lpFamily, ...@@ -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, INT16 WINAPI EnumFonts16( HDC16 hDC, LPCSTR lpName, FONTENUMPROC16 efproc,
LPARAM lpData ) LPARAM lpData )
......
...@@ -854,7 +854,7 @@ BOOL WINAPI UnrealizeObject( HGDIOBJ obj ) ...@@ -854,7 +854,7 @@ BOOL WINAPI UnrealizeObject( HGDIOBJ obj )
/*********************************************************************** /***********************************************************************
* EnumObjects16 (GDI.71) * EnumObjects (GDI.71)
*/ */
INT16 WINAPI EnumObjects16( HDC16 hdc, INT16 nObjType, INT16 WINAPI EnumObjects16( HDC16 hdc, INT16 nObjType,
GOBJENUMPROC16 lpEnumFunc, LPARAM lParam ) GOBJENUMPROC16 lpEnumFunc, LPARAM lParam )
...@@ -1125,13 +1125,13 @@ WORD WINAPI GdiSignalProc( UINT uCode, DWORD dwThreadOrProcessID, ...@@ -1125,13 +1125,13 @@ WORD WINAPI GdiSignalProc( UINT uCode, DWORD dwThreadOrProcessID,
} }
/*********************************************************************** /***********************************************************************
* GdiInit2 (GDI.405) * GdiInit2 (GDI.403)
* *
* See "Undocumented Windows" * See "Undocumented Windows"
*/ */
HANDLE16 WINAPI GdiInit216( HANDLE16 WINAPI GdiInit216(
HANDLE16 h1, /* GDI object */ HANDLE16 h1, /* [in] GDI object */
HANDLE16 h2 /* global data */ HANDLE16 h2 /* [in] global data */
) )
{ {
FIXME("(%04x, %04x), stub.\n", h1, h2); FIXME("(%04x, %04x), stub.\n", h1, h2);
...@@ -1143,7 +1143,7 @@ HANDLE16 WINAPI GdiInit216( ...@@ -1143,7 +1143,7 @@ HANDLE16 WINAPI GdiInit216(
/*********************************************************************** /***********************************************************************
* FinalGdiInit (GDI.405) * FinalGdiInit (GDI.405)
*/ */
void WINAPI FinalGdiInit16( HBRUSH16 hPattern /* fill pattern of desktop */ ) void WINAPI FinalGdiInit16( HBRUSH16 hPattern /* [in] fill pattern of desktop */ )
{ {
} }
......
...@@ -576,7 +576,7 @@ BOOL WINAPI PlayMetaFile( ...@@ -576,7 +576,7 @@ BOOL WINAPI PlayMetaFile(
/****************************************************************** /******************************************************************
* EnumMetaFile16 (GDI.175) * EnumMetaFile (GDI.175)
* *
*/ */
BOOL16 WINAPI EnumMetaFile16( HDC16 hdc, HMETAFILE16 hmf, BOOL16 WINAPI EnumMetaFile16( HDC16 hdc, HMETAFILE16 hmf,
......
...@@ -1286,6 +1286,7 @@ HCURSOR16 WINAPI CopyCursor16( HINSTANCE16 hInstance, HCURSOR16 hCursor ) ...@@ -1286,6 +1286,7 @@ HCURSOR16 WINAPI CopyCursor16( HINSTANCE16 hInstance, HCURSOR16 hCursor )
/********************************************************************** /**********************************************************************
* DestroyIcon32 (USER.610) * DestroyIcon32 (USER.610)
* DestroyIcon32 (USER32.@)
* *
* This routine is actually exported from Win95 USER under the name * This routine is actually exported from Win95 USER under the name
* DestroyIcon32 ... The behaviour implemented here should mimic * DestroyIcon32 ... The behaviour implemented here should mimic
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment