摘要: #include <stdio.h>#include <windows.h>#define MAX 128int main(int argc, char* argv[]) { // 根键、子键名称、和到子键的句柄 HKEY hRoot = HKEY_LOCAL_MACHINE; char *szSubKey = "Software\\Microsoft\\Windows\\CurrentVersion\\Run"; HKEY hKey; // 打开指定子键 DWORD dwDisposition = REG_OPENED_EXISTING_KEY; 阅读全文
posted @ 2013-04-14 10:59 乾卦 阅读(2479) 评论(0) 推荐(0)