关联菜单
-
c api显示文件关联菜单
“c,#includeint main() {, HKEY hKey;, if (RegOpenKeyEx(HKEY_CURRENT_USER, “Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FileExts”, 0, KEY_READ, &hKey) == ERROR_SUCCESS) {, // 获取文件扩展名关联信息并显示菜单, RegCloseKey(hKey);, }, return 0;,},“