wil::GetFinalPathNameByHandleW suggestion
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 3k
- Forks
- 300
- Avg merge
- 19h 12m
- Merged PRs (30d)
- 1
Description
I’m using this in my code, and I see:
wil::VolumePrefix::Dos (default) \\?\C:\Windows\System32\nslookup.exe
wil::VolumePrefix::None \Windows\System32\nslookup.exe
While this Api is just a light wrapper around GetFinalPathNameByHandleW(), I think it would be a nice addition to have “wil::VolumePrefix::DosNoPrefix” (or some similar name) as a convenience that would return C:\Windows\System32\nslookup.exe
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating wil::VolumePrefix and the wrapper around GetFinalPathNameByHandleW. Read how the existing Dos and None values are translated, then add the requested no-prefix behavior so a drive path is returned as C:\Windows\System32\nslookup.exe rather than with the \?\ prefix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100