SetWallpaperImage(
     HBITMAP:hBmpImage,
     UINT:uiStyle
)
→ BOOL

Arguments

hBmpImage

[in] The image.

uiStyle

[in] The wallpaper style. Valid styles are:

SETWALLSTYLE_CENTER
SETWALLSTYLE_TILE
SETWALLSTYLE_STRETCH
SETWALLSTYLE_FIT
SETWALLSTYLE_FILL
SETWALLSTYLE_SPAN

Description

The SetWallpaperImage function sets a bitmap as the desktop wallpaper.