摘要: 输入:注册表完整路径,如:HKEY_LOCAL_MACHINE\Software\Microsoft\ABC\dwPoints输出:键值(如dwPoints对应的值)CString GetKeyValue(CString bstrRegPath){ CString strPath = _T(""); CString path = bstrRegPath; long length = path.GetLength(); int index = path.Find(_T('\\')); if (index == -1) { return L"" 阅读全文
posted @ 2013-04-28 20:42 ximenchuixie 阅读(921) 评论(0) 推荐(0)