[DllImport("advapi32.dll", CharSet = CharSet.Unicode, SetLastError = true)]
static extern int RegQueryInfoKey(UIntPtr hKey, [Out()]StringBuilder lpClass, ref uint lpcchClass,
IntPtr lpReserved, out uint lpcSubkey, out uint lpcchMaxSubkeyLen,
out uint lpcchMaxClassLen, out uint lpcValues, out uint lpcchMaxValueNameLen,
out uint lpcbMaxValueLen, IntPtr lpSecurityDescriptor, IntPtr lpftLastWriteTime);