Support some undocumented variants of Path template arguments

This commit is contained in:
mtkennerly 2023-12-09 15:31:02 +08:00
parent c945aadb3e
commit 11e9228262
No known key found for this signature in database
GPG key ID: E764BE00BE6E6408
2 changed files with 22 additions and 0 deletions

View file

@ -795,6 +795,15 @@ static MAPPED_PATHS: Lazy<HashMap<&'static str, MappedPath>> = Lazy::new(|| {
..Default::default()
},
),
(
"hkey_current_user",
MappedPath {
manifest: "HKEY_CURRENT_USER",
os: Some(Os::Windows),
kind: Some(PathKind::Registry),
..Default::default()
},
),
(
"hklm",
MappedPath {
@ -804,6 +813,15 @@ static MAPPED_PATHS: Lazy<HashMap<&'static str, MappedPath>> = Lazy::new(|| {
..Default::default()
},
),
(
"hkey_local_machine",
MappedPath {
manifest: "HKEY_LOCAL_MACHINE",
os: Some(Os::Windows),
kind: Some(PathKind::Registry),
..Default::default()
},
),
(
"wow64",
MappedPath {