authorgravatar for quae@daurnimator.comdaurnimator <quae@daurnimator.com> 2019-11-19 16:41:24+11:00
committergravatar for quae@daurnimator.comdaurnimator <quae@daurnimator.com> 2019-11-27 13:01:08+11:00
loga453c99ba95ab1cc8de128aeffdaae561a6f1a8d
tree13a7f69809a735936b10ec30e06f346d1a9e5a8f
parent2c6788d7de19653a5e7eee1117cc5b88545dc17f
signature Commit is signed but in an unrecognized format.

std: add comments for some nt status codes


1 files changed, 7 insertions(+), 0 deletions(-)

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