-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
Description
https://github.com/CatalystCode/windows-registry-node/blob/master/lib/registry.js#L109
case windef.REG_VALUE_TYPE.REG_DWORD:
case windef.REG_VALUE_TYPE.REG_DWORD_BIG_ENDIAN:
case windef.REG_VALUE_TYPE.REG_DWORD_LITTLE_ENDIAN:
buffer = new Buffer(4, value);
result = advApi.RegSetValueExA(key.handle.deref(), valueName, null, valueType, byte.deref(), buffer.length);
break;
byte.deref() fails; 'cannot read property 'deref' of undefined'
because... it's not defined.