Skip to content

Commit d57ec02

Browse files
committed
std: add comments for some nt status codes
1 parent 8d95e6f commit d57ec02

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/std/os/windows/status.zig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,13 @@ pub const ABANDONED_WAIT_0 = 0x00000080;
1111
pub const ABANDONED_WAIT_63 = 0x000000BF;
1212
pub const USER_APC = 0x000000C0;
1313
pub const ALERTED = 0x00000101;
14+
15+
/// The given Timeout interval expired.
1416
pub const TIMEOUT = 0x00000102;
17+
18+
/// The operation that was requested is pending completion.
1519
pub const PENDING = 0x00000103;
20+
1621
pub const REPARSE = 0x00000104;
1722
pub const MORE_ENTRIES = 0x00000105;
1823
pub const NOT_ALL_ASSIGNED = 0x00000106;
@@ -128,6 +133,8 @@ pub const GUARD_PAGE_VIOLATION = 0x80000001;
128133
pub const DATATYPE_MISALIGNMENT = 0x80000002;
129134
pub const BREAKPOINT = 0x80000003;
130135
pub const SINGLE_STEP = 0x80000004;
136+
137+
/// The data was too large to fit into the specified buffer.
131138
pub const BUFFER_OVERFLOW = 0x80000005;
132139
pub const NO_MORE_FILES = 0x80000006;
133140
pub const WAKE_SYSTEM_DEBUGGER = 0x80000007;

0 commit comments

Comments
 (0)