# std.os.windows.GetFinalPathNameByHandle: reintroduce kernel32 for compatibility · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/450e4672017773e2eb7b6db16e17279fe85a7a11)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 450e4672017773e2eb7b6db16e17279fe85a7a11

Requested commit: 450e4672017773e2eb7b6db16e17279fe85a7a11

Commit: 450e4672017773e2eb7b6db16e17279fe85a7a11

Tree: 771e453cf99462df9f28a4eaa89f5b4b1a70715d

Author: Rohlem

Committer: Andrew Kelley

## Message

```
std.os.windows.GetFinalPathNameByHandle: reintroduce kernel32 for compatibility

The NtQueryInformationFile with .FileNormalizedNameInformation is only available in Windows 10 1803 (rs4) and later, however there is probably still another route we can go via ntdll.

```

## Parents

- [4b280ac7e9730a30cb3a03350711a13cf45c5dfc](https://git.cafe/gitcafe/zig/commit/4b280ac7e9730a30cb3a03350711a13cf45c5dfc?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/450e4672017773e2eb7b6db16e17279fe85a7a11?format=markdown)
