Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REG_LINK keys #39

Open
theflakes opened this issue Nov 28, 2020 · 2 comments
Open

REG_LINK keys #39

theflakes opened this issue Nov 28, 2020 · 2 comments

Comments

@theflakes
Copy link

How do I tell if a reg key is a REG_LINK?

I apologize if I’m missing something simple.

Thanks

@jorgenpt
Copy link

@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 :)

@gentoo90
Copy link
Owner

It's not so simple unfortunately
https://stackoverflow.com/questions/53009194/checking-if-registry-key-is-link-to-or-copy-of-another-one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants