c++换windows壁纸

c++换windows壁纸

#include<iostream>
#include<windows.h>
using namespace std;
int main()
{
    SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, PVOID("D:\\python\\1.jpg"), SPIF_SENDCHANGE);
    return 0;
}
文章目录