forked from bi-zone/etw
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtypes_386.go
45 lines (37 loc) · 886 Bytes
/
types_386.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package etw
import (
"unsafe"
"golang.org/x/sys/windows"
)
type eventTrace struct {
eventTraceCommon
_ uint32 // Padding
}
type eventTraceLogfile struct {
eventTraceLogfileCommon
_ uint32 // Padding
}
type eventRecordC struct {
eventRecordCommon
_ uint32 // Padding
}
type eventTraceProperties struct {
eventTracePropertiesCommon
_ uint32 // Padding
}
type enableTraceParameters struct {
Version uint32
EnableProperty uint32
ControlFlags uint32
SourceId windows.GUID
EnableFilterDesc *eventFilterDescriptorC
FilterDescCount uint32
}
type eventFilterDescriptorC struct {
// Ptr is a ULONGLONG, meaning a 64 bit value, even for 32 bit.
// Since a pointer is a 32 bit value, the higher bytes are always zero, so in little endian it's a 32 bit pointer followed by 4 zero bytes.
Ptr unsafe.Pointer
_ uint32
Size uint32
Type uint32
}