Commit adfaef5a authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

user32: Correct capitalization of SetDeskWallpaper.

Spotted by Vijay Kiran Kamuju.
parent ba4bc623
......@@ -1828,7 +1828,7 @@ WORD WINAPI GetFreeSystemResources16( WORD resType )
*/
BOOL16 WINAPI SetDeskWallPaper16( LPCSTR filename )
{
return SetDeskWallPaper( filename );
return SetDeskWallpaper( filename );
}
......
......@@ -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
*/
......
......@@ -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)
......
......@@ -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);
......
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