c++ 读写注册表
摘要:
void RegUpdate(HKEY hRootKey,LPCSTR szSubKey,LPCSTR szValueName,LPCSTR szValue) { HKEY hKey; LONG rc; int nFile; rc = RegCreateKeyEx(hRootKey, szSubKey, NULL, NULL, 0, KEY_WRITE, NULL, &hKey, NULL); if(rc != ERROR_SUCCESS) return; nFile = strlen(szValue); RegSe... 阅读全文
posted @ 2014-02-25 16:58 空明流光 阅读(508) 评论(1) 推荐(0)
浙公网安备 33010602011771号