Missed the rename to REGSAM

pull/83/head
David Hall 2019-08-27 11:59:23 -06:00
parent b80ce7f131
commit ddcd9da017
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ namespace Vanara.Registry
if ((index == -1) || (index == keyName.Length))
return mhive;
var subKeyName = keyName.Substring(index + 1, (keyName.Length - index) - 1);
RegOpenKeyEx(mhive, subKeyName, 0, RegAccessTypes.KEY_NOTIFY, out var hkey).ThrowIfFailed();
RegOpenKeyEx(mhive, subKeyName, 0, REGSAM.KEY_NOTIFY, out var hkey).ThrowIfFailed();
return hkey;
}
catch