# Windows: Add wrappers for \`GetCurrent\(Process\|Thread\)\` via NT_TIB · gitcafe/zig

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

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

Visibility: public

Requested revision: 69175ad62f531327e9fd693c13890ca1d472a7a3

Requested commit: 69175ad62f531327e9fd693c13890ca1d472a7a3

Commit: 69175ad62f531327e9fd693c13890ca1d472a7a3

Tree: 8f6a8b5f626cfca74a6973479bec61b441815db7

Author: Stephen Gregoratto

Committer: Stephen Gregoratto

## Message

```
Windows: Add wrappers for `GetCurrent(Process|Thread)` via NT_TIB

This is how they've been implemented in `kernel32` since NT 3.1.

```

## Parents

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

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