Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <Windows.h>
- using namespace std;
- int main()
- {
- const wchar_t* image = L"тук трябва да се постави местоположението на снимката";
- int return_value = SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, (PVOID)image, SPIF_UPDATEINIFILE);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement