Skip to content

Commit 496fa52

Browse files
committed
std: IO_STATUS_BLOCK's status member is an NTSTATUS; add DUMMYUNIONNAME
1 parent b37c43d commit 496fa52

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/std/os/windows/bits.zig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,10 @@ pub const FILE_NAME_INFORMATION = extern struct {
236236
};
237237

238238
pub const IO_STATUS_BLOCK = extern struct {
239-
Status: usize,
239+
DUMMYUNIONNAME: extern union {
240+
Status: NTSTATUS,
241+
Pointer: ?*c_void,
242+
},
240243
Information: ULONG_PTR,
241244
};
242245

0 commit comments

Comments
 (0)