How do you set an HBITMAP object as the wallpaper? I am taking the screenshot of the desktop using BitBlt, so i have the screenshot as a HBITMAP object. Now i can save the object to a bmp file and the set it as wallpaper using SystemParametersInfo, SPI_SETDESKWALLPAPER.
But i am checking if there is a direct way to set the bitmap object as a wallpaper. Any API or something?
Thanks, Rohit