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;...@@ -11,8 +11,13 @@ pub const ABANDONED_WAIT_0 = 0x00000080;
11pub const ABANDONED_WAIT_63 = 0x000000BF;11pub const ABANDONED_WAIT_63 = 0x000000BF;
12pub const USER_APC = 0x000000C0;12pub const USER_APC = 0x000000C0;
13pub const ALERTED = 0x00000101;13pub const ALERTED = 0x00000101;
14
15/// The given Timeout interval expired.
14pub const TIMEOUT = 0x00000102;16pub const TIMEOUT = 0x00000102;
17
18/// The operation that was requested is pending completion.
15pub const PENDING = 0x00000103;19pub const PENDING = 0x00000103;
20
16pub const REPARSE = 0x00000104;21pub const REPARSE = 0x00000104;
17pub const MORE_ENTRIES = 0x00000105;22pub const MORE_ENTRIES = 0x00000105;
18pub const NOT_ALL_ASSIGNED = 0x00000106;23pub const NOT_ALL_ASSIGNED = 0x00000106;
...@@ -128,6 +133,8 @@ pub const GUARD_PAGE_VIOLATION = 0x80000001;...@@ -128,6 +133,8 @@ pub const GUARD_PAGE_VIOLATION = 0x80000001;
128pub const DATATYPE_MISALIGNMENT = 0x80000002;133pub const DATATYPE_MISALIGNMENT = 0x80000002;
129pub const BREAKPOINT = 0x80000003;134pub const BREAKPOINT = 0x80000003;
130pub const SINGLE_STEP = 0x80000004;135pub const SINGLE_STEP = 0x80000004;
136
137/// The data was too large to fit into the specified buffer.
131pub const BUFFER_OVERFLOW = 0x80000005;138pub const BUFFER_OVERFLOW = 0x80000005;
132pub const NO_MORE_FILES = 0x80000006;139pub const NO_MORE_FILES = 0x80000006;
133pub const WAKE_SYSTEM_DEBUGGER = 0x80000007;140pub const WAKE_SYSTEM_DEBUGGER = 0x80000007;