Skip to content

Commit e27a8b5

Browse files
author
Carsten Andrich
committed
add link list of error codes on docs.microsoft.com
1 parent c69d6c8 commit e27a8b5

File tree

1 file changed

+2
-0
lines changed
  • src/libstd/sys/windows

1 file changed

+2
-0
lines changed

src/libstd/sys/windows/c.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ pub const STD_ERROR_HANDLE: DWORD = -12i32 as DWORD;
161161

162162
pub const PROGRESS_CONTINUE: DWORD = 0;
163163

164+
// List of Windows system error codes with descriptions:
165+
// https://docs.microsoft.com/en-us/windows/win32/debug/system-error-codes#system-error-codes
164166
pub const ERROR_FILE_NOT_FOUND: DWORD = 2;
165167
pub const ERROR_PATH_NOT_FOUND: DWORD = 3;
166168
pub const ERROR_ACCESS_DENIED: DWORD = 5;

0 commit comments

Comments
 (0)