zig/example/hello_world/hello_windows.zig
2017-09-24 03:55:45 -04:00

7 lines
206 B
Zig

use @import("std").os.windows;
export fn WinMain(hInstance: HINSTANCE, hPrevInstance: HINSTANCE, lpCmdLine: PWSTR, nCmdShow: INT) -> INT {
_ = MessageBoxA(null, c"hello", c"title", 0);
return 0;
}