RegCreateKeyEx()用这个函数试试. LONG WINAPI RegCreateKeyEx(__in HKEY hKey,__in LPCTSTR lpSubKey,DWORD Reserved,__in LPTSTR lpClass,__in DWORD dwOptions,__in REGSAM samDesired,__in LPSECURITY_ATTRIBUTES lpSecurityAttributes,__out PHKEY phkResult,__out LPDWORD lpdwDisposition);参数 类型及说明hKey Long,一个打开项的句柄,或者一个...
|