IActiveDesktopSetWallpaper Method

Sets the wallpaper for the Active Desktop.

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[PreserveSigAttribute]
HResult SetWallpaper(
	string filepath,
	int reserved
)

Parameters

filepath  String
A string containing the filepath of the wallpaper to be set.
reserved  Int32
Reserved. Must be set to zero.

Return Value

HResult
If the function succeeds, it returns S_OK, otherwise, it returns an HResult error code.

Remarks

See Also