if ((ShowContent(RootKey,SubKey,ValueName))==0) MessageBox(content,"本操作是利用ShowContent()函数完成的。"); 参考推荐: 对注册表进行简单的操作 作者:sunboy_2050