mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 10:12:58 +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
|
void
|
||||||
SetWallpaper(TCHAR * FileName, DWORD dwStyle, DWORD dwTile) //FIXME: Has to be called 2x to apply the pattern (tiled/stretched) too
|
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;
|
HKEY hDesktop;
|
||||||
TCHAR szStyle[3], szTile[3];
|
TCHAR szStyle[3], szTile[3];
|
||||||
|
|
||||||
|
SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, (PVOID) FileName, SPIF_UPDATEINIFILE);
|
||||||
|
|
||||||
if ((dwStyle > 2) || (dwTile > 2))
|
if ((dwStyle > 2) || (dwTile > 2))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue