摘要:
#include <stdio.h>#include <windows.h>void ShowKey(char *key,int level){ HKEY hKey; if(ERROR_SUCCESS == RegOpenKeyEx(HKEY_CLASSES_ROOT,key,0,KEY_ENUMERATE_SUB_KEYS,&hKey)){ LONG ret = ERROR_SUCCESS; int index = 0; char buffer[8192]; while(ret != ERROR_NO_MORE_ITEMS){ DWORD buffer_siz 阅读全文