user32: Correct capitalization of SetDeskWallpaper.

Spotted by Vijay Kiran Kamuju.
This commit is contained in:
Alex Henrie 2023-12-07 09:46:01 -07:00 committed by Alexandre Julliard
parent ba4bc623ef
commit adfaef5a86
4 changed files with 5 additions and 9 deletions

View file

@ -1828,7 +1828,7 @@ WORD WINAPI GetFreeSystemResources16( WORD resType )
*/
BOOL16 WINAPI SetDeskWallPaper16( LPCSTR filename )
{
return SetDeskWallPaper( filename );
return SetDeskWallpaper( filename );
}

View file

@ -151,16 +151,13 @@ BOOL WINAPI PaintDesktop(HDC hdc)
}
/***********************************************************************
* SetDeskWallPaper (USER32.@)
*
* FIXME: is there a unicode version?
* SetDeskWallpaper (USER32.@)
*/
BOOL WINAPI SetDeskWallPaper( LPCSTR filename )
BOOL WINAPI SetDeskWallpaper( const char *filename )
{
return SystemParametersInfoA( SPI_SETDESKWALLPAPER, MAX_PATH, (void *)filename, SPIF_UPDATEINIFILE );
}
/***********************************************************************
* update_wallpaper
*/

View file

@ -671,8 +671,7 @@
@ stub SetCursorContents
@ stdcall -import SetCursorPos(long long) NtUserSetCursorPos
@ stdcall SetDebugErrorLevel(long)
@ stdcall SetDeskWallPaper(str)
# @ stub SetDeskWallpaper
@ stdcall SetDeskWallpaper(str)
# @ stub SetDesktopBitmap
@ stdcall SetDisplayAutoRotationPreferences(long)
@ stdcall SetDisplayConfig(long ptr long ptr long)

View file

@ -4568,7 +4568,7 @@ WINUSERAPI UINT_PTR WINAPI SetCoalescableTimer(HWND,UINT_PTR,UINT,TIMERPROC,U
WINUSERAPI HCURSOR WINAPI SetCursor(HCURSOR);
WINUSERAPI BOOL WINAPI SetCursorPos(INT,INT);
WINUSERAPI VOID WINAPI SetDebugErrorLevel(DWORD);
WINUSERAPI BOOL WINAPI SetDeskWallPaper(LPCSTR);
WINUSERAPI BOOL WINAPI SetDeskWallpaper(const char*);
WINUSERAPI BOOL WINAPI SetDisplayAutoRotationPreferences(ORIENTATION_PREFERENCE);
WINUSERAPI BOOL WINAPI SetDlgItemInt(HWND,INT,UINT,BOOL);
WINUSERAPI BOOL WINAPI SetDlgItemTextA(HWND,INT,LPCSTR);