...

Command mkwinsyscall

mkwinsyscall generates windows system call bodies

It parses all files specified on command line containing function prototypes (like syscall_windows.go) and prints system call bodies to standard output.

The prototypes are marked by lines beginning with "//sys" and read like func declarations if //sys is replaced by func, but:

Usage:

mkwinsyscall [flags] [path ...]

The flags are:

-output
	Specify output file name (outputs to console if blank).
-trace
	Generate print statement after every syscall.