Skip to content

Commit

Permalink
Update to match hcsshim mksyscall_windows
Browse files Browse the repository at this point in the history
Added hr error return type, cmdline flags for winio import, utf16, and
sorting.

Generated file has build constrain comment.

Input files can be specified with a glob pattern.

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
  • Loading branch information
helsaawy committed May 31, 2022
1 parent 71441b4 commit ea156b8
Show file tree
Hide file tree
Showing 15 changed files with 154 additions and 2,963 deletions.
2 changes: 1 addition & 1 deletion pkg/etw/etw.go
Expand Up @@ -7,7 +7,7 @@
// set of C macros.
package etw

//go:generate go run mksyscall_windows.go -output zsyscall_windows.go etw.go
//go:generate go run github.com/Microsoft/go-winio/tools/mkwinsyscall -output zsyscall_windows.go etw.go

//sys eventRegister(providerId *windows.GUID, callback uintptr, callbackContext uintptr, providerHandle *providerHandle) (win32err error) = advapi32.EventRegister

Expand Down

0 comments on commit ea156b8

Please sign in to comment.