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

wil::GetFinalPathNameByHandleW suggestion #378

Open
JeffMill opened this issue Oct 5, 2023 · 2 comments
Open

wil::GetFinalPathNameByHandleW suggestion #378

JeffMill opened this issue Oct 5, 2023 · 2 comments
Labels
feature-request New feature or request

Comments

@JeffMill
Copy link

JeffMill commented Oct 5, 2023

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

@JeffMill
Copy link
Author

JeffMill commented Oct 5, 2023

wil::is_extended_length_path could likely be leveraged here.

@dunhor dunhor added the feature-request New feature or request label Oct 9, 2023
@ChrisGuzak
Copy link
Member

agree that would be useful. post a PR.

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

No branches or pull requests

3 participants