mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[PAINT]
Fix syntax svn path=/branches/cmake-bringup/; revision=49704
This commit is contained in:
parent
0f10cf2e2a
commit
07359cbdc3
1 changed files with 2 additions and 2 deletions
|
@ -16,11 +16,11 @@
|
|||
void
|
||||
SetWallpaper(TCHAR * FileName, DWORD dwStyle, DWORD dwTile) //FIXME: Has to be called 2x to apply the pattern (tiled/stretched) too
|
||||
{
|
||||
SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, (PVOID) FileName, SPIF_UPDATEINIFILE);
|
||||
|
||||
HKEY hDesktop;
|
||||
TCHAR szStyle[3], szTile[3];
|
||||
|
||||
SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, (PVOID) FileName, SPIF_UPDATEINIFILE);
|
||||
|
||||
if ((dwStyle > 2) || (dwTile > 2))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue