mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
std: IO_STATUS_BLOCK's status member is an NTSTATUS; add union
This commit is contained in:
parent
1537d4701e
commit
d99f0a2b8f
@ -236,7 +236,11 @@ pub const FILE_NAME_INFORMATION = extern struct {
|
||||
};
|
||||
|
||||
pub const IO_STATUS_BLOCK = extern struct {
|
||||
Status: usize,
|
||||
// "DUMMYUNIONNAME" expands to "u"
|
||||
u: extern union {
|
||||
Status: NTSTATUS,
|
||||
Pointer: ?*c_void,
|
||||
},
|
||||
Information: ULONG_PTR,
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user