fix windows structs
This commit is contained in:
1 parent
cb7dd12222
commit
b22ddb1453
1 file changed
+7
-4
@@ -1029,16 +1029,19 @@ CACHE_DESCRIPTOR :: struct {
|
|||||||
Type: PROCESSOR_CACHE_TYPE,
|
Type: PROCESSOR_CACHE_TYPE,
|
||||||
}
|
}
|
||||||
|
|
||||||
DUMMYUNIONNAME_u :: struct #raw_union {
|
|
||||||
ProcessorCore :: struct {
|
ProcessorCore :: struct {
|
||||||
Flags: BYTE,
|
Flags: BYTE,
|
||||||
},
|
}
|
||||||
NumaNode :: struct {
|
NumaNode :: struct {
|
||||||
NodeNumber: DWORD,
|
NodeNumber: DWORD,
|
||||||
},
|
}
|
||||||
|
DUMMYUNIONNAME_u :: struct #raw_union {
|
||||||
|
Core: ProcessorCore,
|
||||||
|
Node: NumaNode,
|
||||||
Cache: CACHE_DESCRIPTOR,
|
Cache: CACHE_DESCRIPTOR,
|
||||||
Reserved: [2]ULONGLONG,
|
Reserved: [2]ULONGLONG,
|
||||||
},
|
}
|
||||||
|
|
||||||
SYSTEM_LOGICAL_PROCESSOR_INFORMATION :: struct {
|
SYSTEM_LOGICAL_PROCESSOR_INFORMATION :: struct {
|
||||||
ProcessorMask: ULONGPTR,
|
ProcessorMask: ULONGPTR,
|
||||||
Relationship: LOGICAL_PROCESSOR_RELATIONSHIP,
|
Relationship: LOGICAL_PROCESSOR_RELATIONSHIP,
|
||||||
|
|||||||
Reference in new issue
Block a user