c++ 注册表的设置立即生效

RegCloseKey(hKey);后加

SystemParametersInfo(SPI_SETCURSORS,0,NULL,SPIF_SENDCHANGE); 

原文地址:https://www.cnblogs.com/94cool/p/2738225.html