Fixed some issues found by winapi_check.

This commit is contained in:
Patrik Stridvall 2002-04-03 02:37:09 +00:00 committed by Alexandre Julliard
parent 8657ed51b6
commit 14c96c1017
14 changed files with 21 additions and 21 deletions

View File

@ -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 )
{ {

View File

@ -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

View File

@ -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,
} }
/*********************************************************************** /***********************************************************************
* 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,
/*********************************************************************** /***********************************************************************
* 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
/*********************************************************************** /***********************************************************************
* suErrorToIds16 (SETUPX.61) * suErrorToIds (SETUPX.61)
*/ */
DWORD WINAPI suErrorToIds16( WORD w1, WORD w2 ) DWORD WINAPI suErrorToIds16( WORD w1, WORD w2 )
{ {

View File

@ -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)
{ {

View File

@ -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)
{ {

View File

@ -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 )
{ {

View File

@ -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 )
{ {

View File

@ -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 )
{ {

View File

@ -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 )
{ {

View File

@ -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 )
{ {

View File

@ -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 )
{ {

View File

@ -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,
} }
/*********************************************************************** /***********************************************************************
* 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)
} }
/*********************************************************************** /***********************************************************************
* 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
} }
/*********************************************************************** /***********************************************************************
* 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 )
{ {

View File

@ -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 )
{ {

View File

@ -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 )
{ {