Advertisement
PIBogdanov

ImageInsert

Feb 20th, 2023
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #include <iostream>
  2. #include <Windows.h>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. const wchar_t* image = L"тук трябва да се постави местоположението на снимката";
  9.  
  10. int return_value = SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, (PVOID)image, SPIF_UPDATEINIFILE);
  11.  
  12. return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement