Clean up some types and comments

This commit is contained in:
Kevin Parsons
2018-12-13 14:12:44 -08:00
parent 083046a6cd
commit bb628025f5
5 changed files with 34 additions and 11 deletions
+2 -2
View File
@@ -12,8 +12,8 @@ import (
"golang.org/x/sys/windows"
)
func callback(sourceID *windows.GUID, isEnabled uint32, level byte, matchAnyKeyword uint64, matchAllKeyword uint64, filterData uintptr) {
fmt.Printf("Callback: isEnabled=%d, level=%d, matchAnyKeyword=%d\n", isEnabled, level, matchAnyKeyword)
func callback(sourceID *windows.GUID, state etw.ProviderState, level etw.Level, matchAnyKeyword uint64, matchAllKeyword uint64, filterData uintptr) {
fmt.Printf("Callback: isEnabled=%d, level=%d, matchAnyKeyword=%d\n", state, level, matchAnyKeyword)
}
func main() {