Commit 14c96c10 authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Fixed some issues found by winapi_check.

parent 8657ed51
...@@ -186,7 +186,7 @@ static BOOL store_user_dirid( HINF hinf, int id, WCHAR *str ) ...@@ -186,7 +186,7 @@ static BOOL store_user_dirid( HINF hinf, int id, WCHAR *str )
/*********************************************************************** /***********************************************************************
* SetupSetDirectoryIdW (SETUPAPI.@) * SetupSetDirectoryIdA (SETUPAPI.@)
*/ */
BOOL WINAPI SetupSetDirectoryIdA( HINF hinf, DWORD id, PCSTR dir ) BOOL WINAPI SetupSetDirectoryIdA( HINF hinf, DWORD id, PCSTR dir )
{ {
......
...@@ -246,8 +246,8 @@ debug_channels (setupapi) ...@@ -246,8 +246,8 @@ debug_channels (setupapi)
@ stdcall SetupQueueCopySectionA(long str long long str long) SetupQueueCopySectionA @ stdcall SetupQueueCopySectionA(long str long long str long) SetupQueueCopySectionA
@ stdcall SetupQueueCopySectionW(long wstr long long wstr long) SetupQueueCopySectionW @ stdcall SetupQueueCopySectionW(long wstr long long wstr long) SetupQueueCopySectionW
@ stdcall SetupQueueCopyW(long wstr wstr wstr wstr wstr wstr wstr long) SetupQueueCopyW @ stdcall SetupQueueCopyW(long wstr wstr wstr wstr wstr wstr wstr long) SetupQueueCopyW
@ stdcall SetupQueueDefaultCopyA(long long str str long) SetupQueueDefaultCopyA @ stdcall SetupQueueDefaultCopyA(long long str str str long) SetupQueueDefaultCopyA
@ stdcall SetupQueueDefaultCopyW(long long wstr wstr long) SetupQueueDefaultCopyW @ stdcall SetupQueueDefaultCopyW(long long wstr wstr wstr long) SetupQueueDefaultCopyW
@ stdcall SetupQueueDeleteA(long str str) SetupQueueDeleteA @ stdcall SetupQueueDeleteA(long str str) SetupQueueDeleteA
@ stdcall SetupQueueDeleteSectionA(long long long str) SetupQueueDeleteSectionA @ stdcall SetupQueueDeleteSectionA(long long long str) SetupQueueDeleteSectionA
@ stdcall SetupQueueDeleteSectionW(long long long wstr) SetupQueueDeleteSectionW @ stdcall SetupQueueDeleteSectionW(long long long wstr) SetupQueueDeleteSectionW
......
...@@ -26,7 +26,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(setupapi); ...@@ -26,7 +26,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(setupapi);
/*********************************************************************** /***********************************************************************
* SetupIterateCabinetA (SETUPAPI.205) * SetupIterateCabinetA (SETUPAPI.@)
*/ */
BOOL WINAPI SetupIterateCabinetA(PCSTR CabinetFile, DWORD Reserved, BOOL WINAPI SetupIterateCabinetA(PCSTR CabinetFile, DWORD Reserved,
PSP_FILE_CALLBACK_A MsgHandler, PVOID Context) PSP_FILE_CALLBACK_A MsgHandler, PVOID Context)
...@@ -36,7 +36,7 @@ BOOL WINAPI SetupIterateCabinetA(PCSTR CabinetFile, DWORD Reserved, ...@@ -36,7 +36,7 @@ BOOL WINAPI SetupIterateCabinetA(PCSTR CabinetFile, DWORD Reserved,
} }
/*********************************************************************** /***********************************************************************
* SetupIterateCabinetW (SETUPAPI.206) * SetupIterateCabinetW (SETUPAPI.@)
*/ */
BOOL WINAPI SetupIterateCabinetW(PWSTR CabinetFile, DWORD Reserved, BOOL WINAPI SetupIterateCabinetW(PWSTR CabinetFile, DWORD Reserved,
PSP_FILE_CALLBACK_W MsgHandler, PVOID Context) PSP_FILE_CALLBACK_W MsgHandler, PVOID Context)
...@@ -47,7 +47,7 @@ BOOL WINAPI SetupIterateCabinetW(PWSTR CabinetFile, DWORD Reserved, ...@@ -47,7 +47,7 @@ BOOL WINAPI SetupIterateCabinetW(PWSTR CabinetFile, DWORD Reserved,
/*********************************************************************** /***********************************************************************
* TPWriteProfileString16 (SETUPX.62) * TPWriteProfileString (SETUPX.62)
*/ */
BOOL WINAPI TPWriteProfileString16( LPCSTR section, LPCSTR entry, LPCSTR string ) BOOL WINAPI TPWriteProfileString16( LPCSTR section, LPCSTR entry, LPCSTR string )
{ {
...@@ -57,7 +57,7 @@ BOOL WINAPI TPWriteProfileString16( LPCSTR section, LPCSTR entry, LPCSTR string ...@@ -57,7 +57,7 @@ BOOL WINAPI TPWriteProfileString16( LPCSTR section, LPCSTR entry, LPCSTR string
/*********************************************************************** /***********************************************************************
* suErrorToIds16 (SETUPX.61) * suErrorToIds (SETUPX.61)
*/ */
DWORD WINAPI suErrorToIds16( WORD w1, WORD w2 ) DWORD WINAPI suErrorToIds16( WORD w1, WORD w2 )
{ {
......
...@@ -136,7 +136,7 @@ static LONG TTYDRV_DC_GetBitmapBits(BITMAPOBJ *bitmap, void *bits, LONG count) ...@@ -136,7 +136,7 @@ static LONG TTYDRV_DC_GetBitmapBits(BITMAPOBJ *bitmap, void *bits, LONG count)
} }
/*********************************************************************** /***********************************************************************
* TTYDRV_SelectBitmap (TTYDRV.@) * SelectBitmap (TTYDRV.@)
*/ */
HBITMAP TTYDRV_SelectBitmap(TTYDRV_PDEVICE *physDev, HBITMAP hbitmap) HBITMAP TTYDRV_SelectBitmap(TTYDRV_PDEVICE *physDev, HBITMAP hbitmap)
{ {
......
...@@ -33,7 +33,7 @@ extern BOOL TTYDRV_DC_BITMAP_DeleteObject(HBITMAP hbitmap, BITMAPOBJ *bitmap); ...@@ -33,7 +33,7 @@ extern BOOL TTYDRV_DC_BITMAP_DeleteObject(HBITMAP hbitmap, BITMAPOBJ *bitmap);
/*********************************************************************** /***********************************************************************
* TTYDRV_SelectFont (TTYDRV.@) * SelectFont (TTYDRV.@)
*/ */
HFONT TTYDRV_SelectFont(TTYDRV_PDEVICE *physDev, HFONT hfont) HFONT TTYDRV_SelectFont(TTYDRV_PDEVICE *physDev, HFONT hfont)
{ {
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(psdrv); WINE_DEFAULT_DEBUG_CHANNEL(psdrv);
/*********************************************************************** /***********************************************************************
* PSDRV_SelectBrush (WINEPS.@) * SelectBrush (WINEPS.@)
*/ */
HBRUSH PSDRV_SelectBrush( PSDRV_PDEVICE *physDev, HBRUSH hbrush ) HBRUSH PSDRV_SelectBrush( PSDRV_PDEVICE *physDev, HBRUSH hbrush )
{ {
......
...@@ -138,7 +138,7 @@ static VOID ScaleFont(const AFM *afm, LONG lfHeight, PSFONT *font, ...@@ -138,7 +138,7 @@ static VOID ScaleFont(const AFM *afm, LONG lfHeight, PSFONT *font,
} }
/*********************************************************************** /***********************************************************************
* PSDRV_SelectFont (WINEPS.@) * SelectFont (WINEPS.@)
*/ */
HFONT PSDRV_SelectFont( PSDRV_PDEVICE *physDev, HFONT hfont ) HFONT PSDRV_SelectFont( PSDRV_PDEVICE *physDev, HFONT hfont )
{ {
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(psdrv); WINE_DEFAULT_DEBUG_CHANNEL(psdrv);
/*********************************************************************** /***********************************************************************
* PSDRV_SelectBitmap (WINEPS.@) * SelectBitmap (WINEPS.@)
*/ */
HBITMAP PSDRV_SelectBitmap( PSDRV_PDEVICE *physDev, HBITMAP hbitmap ) HBITMAP PSDRV_SelectBitmap( PSDRV_PDEVICE *physDev, HBITMAP hbitmap )
{ {
......
...@@ -30,7 +30,7 @@ static char PEN_dashdotdot[] = "40 20 20 20 20 20"; /* ---- -- -- ---- */ ...@@ -30,7 +30,7 @@ static char PEN_dashdotdot[] = "40 20 20 20 20 20"; /* ---- -- -- ---- */
static char PEN_alternate[] = "1"; static char PEN_alternate[] = "1";
/*********************************************************************** /***********************************************************************
* PSDRV_SelectPen (WINEPS.@) * SelectPen (WINEPS.@)
*/ */
HPEN PSDRV_SelectPen( PSDRV_PDEVICE *physDev, HPEN hpen ) HPEN PSDRV_SelectPen( PSDRV_PDEVICE *physDev, HPEN hpen )
{ {
......
...@@ -74,7 +74,7 @@ BOOL X11DRV_BITMAP_Init(void) ...@@ -74,7 +74,7 @@ BOOL X11DRV_BITMAP_Init(void)
} }
/*********************************************************************** /***********************************************************************
* X11DRV_SelectBitmap (X11DRV.@) * SelectBitmap (X11DRV.@)
*/ */
HBITMAP X11DRV_SelectBitmap( X11DRV_PDEVICE *physDev, HBITMAP hbitmap ) HBITMAP X11DRV_SelectBitmap( X11DRV_PDEVICE *physDev, HBITMAP hbitmap )
{ {
......
...@@ -229,7 +229,7 @@ static BOOL BRUSH_SelectPatternBrush( X11DRV_PDEVICE *physDev, HBITMAP hbitmap ) ...@@ -229,7 +229,7 @@ static BOOL BRUSH_SelectPatternBrush( X11DRV_PDEVICE *physDev, HBITMAP hbitmap )
/*********************************************************************** /***********************************************************************
* X11DRV_SelectBrush (X11DRV.@) * SelectBrush (X11DRV.@)
*/ */
HBRUSH X11DRV_SelectBrush( X11DRV_PDEVICE *physDev, HBRUSH hbrush ) HBRUSH X11DRV_SelectBrush( X11DRV_PDEVICE *physDev, HBRUSH hbrush )
{ {
......
...@@ -4816,7 +4816,7 @@ INT X11DRV_SetDIBitsToDevice( X11DRV_PDEVICE *physDev, INT xDest, INT yDest, DWO ...@@ -4816,7 +4816,7 @@ INT X11DRV_SetDIBitsToDevice( X11DRV_PDEVICE *physDev, INT xDest, INT yDest, DWO
} }
/*********************************************************************** /***********************************************************************
* X11DRV_SetDIBits (X11DRV.@) * SetDIBits (X11DRV.@)
*/ */
INT X11DRV_SetDIBits( X11DRV_PDEVICE *physDev, HBITMAP hbitmap, UINT startscan, INT X11DRV_SetDIBits( X11DRV_PDEVICE *physDev, HBITMAP hbitmap, UINT startscan,
UINT lines, LPCVOID bits, const BITMAPINFO *info, UINT coloruse ) UINT lines, LPCVOID bits, const BITMAPINFO *info, UINT coloruse )
...@@ -4904,7 +4904,7 @@ INT X11DRV_SetDIBits( X11DRV_PDEVICE *physDev, HBITMAP hbitmap, UINT startscan, ...@@ -4904,7 +4904,7 @@ INT X11DRV_SetDIBits( X11DRV_PDEVICE *physDev, HBITMAP hbitmap, UINT startscan,
} }
/*********************************************************************** /***********************************************************************
* X11DRV_GetDIBits (X11DRV.@) * GetDIBits (X11DRV.@)
*/ */
INT X11DRV_GetDIBits( X11DRV_PDEVICE *physDev, HBITMAP hbitmap, UINT startscan, UINT lines, INT X11DRV_GetDIBits( X11DRV_PDEVICE *physDev, HBITMAP hbitmap, UINT startscan, UINT lines,
LPVOID bits, BITMAPINFO *info, UINT coloruse ) LPVOID bits, BITMAPINFO *info, UINT coloruse )
...@@ -5854,7 +5854,7 @@ void X11DRV_DIB_DeleteDIBSection(BITMAPOBJ *bmp) ...@@ -5854,7 +5854,7 @@ void X11DRV_DIB_DeleteDIBSection(BITMAPOBJ *bmp)
} }
/*********************************************************************** /***********************************************************************
* X11DRV_SetDIBColorTable (X11DRV.@) * SetDIBColorTable (X11DRV.@)
*/ */
UINT X11DRV_SetDIBColorTable( X11DRV_PDEVICE *physDev, UINT start, UINT count, const RGBQUAD *colors ) UINT X11DRV_SetDIBColorTable( X11DRV_PDEVICE *physDev, UINT start, UINT count, const RGBQUAD *colors )
{ {
...@@ -5885,7 +5885,7 @@ UINT X11DRV_SetDIBColorTable( X11DRV_PDEVICE *physDev, UINT start, UINT count, c ...@@ -5885,7 +5885,7 @@ UINT X11DRV_SetDIBColorTable( X11DRV_PDEVICE *physDev, UINT start, UINT count, c
} }
/*********************************************************************** /***********************************************************************
* X11DRV_GetDIBColorTable (X11DRV.@) * GetDIBColorTable (X11DRV.@)
*/ */
UINT X11DRV_GetDIBColorTable( X11DRV_PDEVICE *physDev, UINT start, UINT count, RGBQUAD *colors ) UINT X11DRV_GetDIBColorTable( X11DRV_PDEVICE *physDev, UINT start, UINT count, RGBQUAD *colors )
{ {
......
...@@ -32,7 +32,7 @@ static const char PEN_dashdotdot[] = { 12,4,4,4,4,4 }; ...@@ -32,7 +32,7 @@ static const char PEN_dashdotdot[] = { 12,4,4,4,4,4 };
static const char PEN_alternate[] = { 1,1 }; static const char PEN_alternate[] = { 1,1 };
/*********************************************************************** /***********************************************************************
* X11DRV_SelectPen (X11DRV.@) * SelectPen (X11DRV.@)
*/ */
HPEN X11DRV_SelectPen( X11DRV_PDEVICE *physDev, HPEN hpen ) HPEN X11DRV_SelectPen( X11DRV_PDEVICE *physDev, HPEN hpen )
{ {
......
...@@ -3182,7 +3182,7 @@ LPIFONTINFO16 XFONT_GetFontInfo( X_PHYSFONT pFont ) ...@@ -3182,7 +3182,7 @@ LPIFONTINFO16 XFONT_GetFontInfo( X_PHYSFONT pFont )
* * * *
***********************************************************************/ ***********************************************************************/
/*********************************************************************** /***********************************************************************
* X11DRV_SelectFont (X11DRV.@) * SelectFont (X11DRV.@)
*/ */
HFONT X11DRV_SelectFont( X11DRV_PDEVICE *physDev, HFONT hfont ) HFONT X11DRV_SelectFont( X11DRV_PDEVICE *physDev, HFONT hfont )
{ {
......
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