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
d212adbf
Commit
d212adbf
authored
Jul 17, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Jul 18, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Add some more RPC to NCA status code mappings.
Add RPC_S_SEC_PKG_ERROR to the list of "hard" errors.
parent
96937e04
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
rpc_message.c
dlls/rpcrt4/rpc_message.c
+7
-0
No files found.
dlls/rpcrt4/rpc_message.c
View file @
d212adbf
...
...
@@ -301,6 +301,12 @@ NCA_STATUS RPC2NCA_STATUS(RPC_STATUS status)
case
RPC_S_INVALID_BOUND
:
return
NCA_S_FAULT_INVALID_BOUND
;
case
RPC_S_PROCNUM_OUT_OF_RANGE
:
return
NCA_S_OP_RNG_ERROR
;
case
RPC_X_SS_HANDLES_MISMATCH
:
return
NCA_S_FAULT_CONTEXT_MISMATCH
;
case
RPC_S_CALL_CANCELLED
:
return
NCA_S_FAULT_CANCEL
;
case
RPC_S_COMM_FAILURE
:
return
NCA_S_COMM_FAILURE
;
case
RPC_X_WRONG_PIPE_ORDER
:
return
NCA_S_FAULT_PIPE_ORDER
;
case
RPC_X_PIPE_CLOSED
:
return
NCA_S_FAULT_PIPE_CLOSED
;
case
RPC_X_PIPE_DISCIPLINE_ERROR
:
return
NCA_S_FAULT_PIPE_DISCIPLINE
;
case
RPC_X_PIPE_EMPTY
:
return
NCA_S_FAULT_PIPE_EMPTY
;
case
STATUS_FLOAT_DIVIDE_BY_ZERO
:
return
NCA_S_FAULT_FP_DIV_ZERO
;
case
STATUS_FLOAT_INVALID_OPERATION
:
return
NCA_S_FAULT_FP_ERROR
;
case
STATUS_FLOAT_OVERFLOW
:
return
NCA_S_FAULT_FP_OVERFLOW
;
...
...
@@ -1013,6 +1019,7 @@ static inline BOOL is_hard_error(RPC_STATUS status)
case
RPC_S_PROTOCOL_ERROR
:
case
RPC_S_CALL_FAILED
:
case
RPC_S_CALL_FAILED_DNE
:
case
RPC_S_SEC_PKG_ERROR
:
return
TRUE
;
default:
return
FALSE
;
...
...
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