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 22, 2022
1 parent 71441b4 commit b38f6bb
Show file tree
Hide file tree
Showing 12 changed files with 150 additions and 2,003 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 b38f6bb

Please sign in to comment.