Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
10e1387f
Commit
10e1387f
authored
Jul 20, 2010
by
André Hentschel
Committed by
Alexandre Julliard
Jul 21, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add LDT error codes.
parent
11dea57f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
error.c
dlls/ntdll/error.c
+3
-3
error.c
dlls/ntdll/tests/error.c
+3
-0
winerror.h
include/winerror.h
+3
-0
No files found.
dlls/ntdll/error.c
View file @
10e1387f
...
...
@@ -669,9 +669,9 @@ static const DWORD table_c0000001[411] =
0
,
/* c0000115 (STATUS_ABIOS_SELECTOR_NOT_AVAILABLE) */
0
,
/* c0000116 (STATUS_ABIOS_INVALID_SELECTOR) */
ERROR_INVALID_THREAD_ID
,
/* c0000117 (STATUS_NO_LDT) */
0
,
/* c0000118 (STATUS_INVALID_LDT_SIZE) */
0
,
/* c0000119 (STATUS_INVALID_LDT_OFFSET) */
0
,
/* c000011a (STATUS_INVALID_LDT_DESCRIPTOR) */
ERROR_INVALID_LDT_SIZE
,
/* c0000118 (STATUS_INVALID_LDT_SIZE) */
ERROR_INVALID_LDT_OFFSET
,
/* c0000119 (STATUS_INVALID_LDT_OFFSET) */
ERROR_INVALID_LDT_DESCRIPTOR
,
/* c000011a (STATUS_INVALID_LDT_DESCRIPTOR) */
ERROR_BAD_EXE_FORMAT
,
/* c000011b (STATUS_INVALID_IMAGE_NE_FORMAT) */
ERROR_RXACT_INVALID_STATE
,
/* c000011c (STATUS_RXACT_INVALID_STATE) */
ERROR_RXACT_COMMIT_FAILURE
,
/* c000011d (STATUS_RXACT_COMMIT_FAILURE) */
...
...
dlls/ntdll/tests/error.c
View file @
10e1387f
...
...
@@ -329,6 +329,9 @@ static void run_error_tests(void)
cmp
(
STATUS_INVALID_SID
,
ERROR_INVALID_SID
);
cmp
(
STATUS_INVALID_SECURITY_DESCR
,
ERROR_INVALID_SECURITY_DESCR
);
cmp
(
STATUS_PROCEDURE_NOT_FOUND
,
ERROR_PROC_NOT_FOUND
);
cmp2
(
STATUS_INVALID_LDT_SIZE
,
ERROR_INVALID_LDT_SIZE
);
cmp2
(
STATUS_INVALID_LDT_OFFSET
,
ERROR_INVALID_LDT_OFFSET
);
cmp2
(
STATUS_INVALID_LDT_DESCRIPTOR
,
ERROR_INVALID_LDT_DESCRIPTOR
);
cmp
(
STATUS_BAD_INITIAL_PC
,
ERROR_BAD_EXE_FORMAT
);
cmp
(
STATUS_INVALID_FILE_FOR_SECTION
,
ERROR_BAD_EXE_FORMAT
);
cmp
(
STATUS_INVALID_IMAGE_FORMAT
,
ERROR_BAD_EXE_FORMAT
);
...
...
include/winerror.h
View file @
10e1387f
...
...
@@ -305,6 +305,9 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x)
#define ERROR_ARITHMETIC_OVERFLOW 534
#define ERROR_PIPE_CONNECTED 535
#define ERROR_PIPE_LISTENING 536
#define ERROR_INVALID_LDT_SIZE 561
#define ERROR_INVALID_LDT_OFFSET 563
#define ERROR_INVALID_LDT_DESCRIPTOR 564
#define ERROR_HANDLES_CLOSED 676
#define ERROR_EA_ACCESS_DENIED 994
#define ERROR_OPERATION_ABORTED 995
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment