https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108350

--- Comment #4 from niXman <i.nixman at autistici dot org> ---

> FYI `GetFinalPathNameByHandle` is known to fail on drives that are created
> via `DefineDosDevice` (e.g. via the SUBST command). So I recommend using
> `GetFullPathName` as a fallback if you find that `GetFinalPathNameByHandle`
> fails.

could you give me a hint, what should I use for `dwFlags` param for
`GetFinalPathNameByHandle()` ? (because for me all the options are
incomprehensible)

because according to your github profile it looks like you are Windows
developer :)

https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getfinalpathnamebyhandlea#parameters


thanks!

Reply via email to