# start.zig: call wWinMain with root's type · gitcafe/zig

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

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

Visibility: public

Requested revision: 4df75645ce7d9f82b1b6fb5856c03bf145fabaa1

Requested commit: 4df75645ce7d9f82b1b6fb5856c03bf145fabaa1

Commit: 4df75645ce7d9f82b1b6fb5856c03bf145fabaa1

Tree: e3c1bf2cbd1369d73a4f9c69fe4f6f12ba015056

Author: Jonathan Marler

Committer: Andrew Kelley

## Message

```
start.zig: call wWinMain with root's type

I have an alternative set of windows bindings I'm working on: https://github.com/marler8997/zig-os-windows.  So I'm declaring my wWinMain function with my own HINSTANCE type rather than the one from std.os.windows.  This change allows start to call wWinMain using any pointer type.

```

## Parents

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

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