miere43 / nim-registry

Deal with Windows Registry from Nim
http://miere.ru/docs/registry/
MIT License
29 stars 5 forks source link

Add delValue #12

Closed Rafflesiaceae closed 6 months ago

Rafflesiaceae commented 6 months ago

A new handle function 'delValue' is added to delete a value of a given key, wrapping WinApi's 'RegDeleteValueW'.

Rafflesiaceae commented 6 months ago

Hi @miere43 :wave: :blush:,

AFAIS this is needed in order to delete specific values of a given key, which I found myself needing.

I've tried delTree / delSubkey before resorting to this, but they didn't work for my use case, I hope I'm not overlooking something else.

miere43 commented 6 months ago

Hello. Thanks for the contribution =)