winreg-rs
winreg-rs copied to clipboard
REG_LINK keys
How do I tell if a reg key is a REG_LINK?
I apologize if I’m missing something simple.
Thanks
@theflakes, you should be able to use key.get_raw_value("key name")
-- it returns an io::Result<RegValue>
, and RegValue::vtype
contains an enum that identifies the type. You can match that against RegType::REG_LINK
:)
It's not so simple unfortunately https://stackoverflow.com/questions/53009194/checking-if-registry-key-is-link-to-or-copy-of-another-one