rpcrt4: Factor out string validation from NDR unmarshalling functions into a separate...
[wine] / dlls / rpcrt4 / ncastatus.h
1 /*
2  * NCA Status definitions
3  *
4  * Copyright 2007 Robert Shearman
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20
21 #define NCA_S_COMM_FAILURE               0x1C010001
22 #define NCA_S_OP_RNG_ERROR               0x1C010002
23 #define NCA_S_UNK_IF                     0x1C010003
24 #define NCA_S_WRONG_BOOT_TIME            0x1C010006
25 #define NCA_S_YOU_CRASHED                0x1C010009
26 #define NCA_S_PROTO_ERROR                0x1C01000B
27 #define NCA_S_OUT_ARGS_TOO_BIG           0x1C010013
28 #define NCA_S_SERVER_TOO_BUSY            0x1C010014
29 #define NCA_S_FAULT_STRING_TOO_LONG      0x1C010015
30 #define NCA_S_UNSUPPORTED_TYPE           0x1C010017
31
32 #define NCA_S_FAULT_INT_DIV_BY_ZERO      0x1C000001
33 #define NCA_S_FAULT_ADDR_ERROR           0x1C000002
34 #define NCA_S_FAULT_FP_DIV_ZERO          0x1C000003
35 #define NCA_S_FAULT_FP_UNDERFLOW         0x1C000004
36 #define NCA_S_FAULT_FP_OVERFLOW          0x1C000005
37 #define NCA_S_FAULT_INVALID_TAG          0x1C000006
38 #define NCA_S_FAULT_INVALID_BOUND        0x1C000007
39 #define NCA_S_RPC_VERSION_MISMATCH       0x1C000008
40 #define NCA_S_UNSPEC_REJECT              0x1C000009
41 #define NCA_S_BAD_ACTID                  0x1C00000A
42 #define NCA_S_WHO_ARE_YOU_FAILED         0x1C00000B
43 #define NCA_S_MANAGER_NOT_ENTERED        0x1C00000C
44 #define NCA_S_FAULT_CANCEL               0x1C00000D
45 #define NCA_S_FAULT_ILL_INST             0x1C00000E
46 #define NCA_S_FAULT_FP_ERROR             0x1C00000F
47 #define NCA_S_FAULT_INT_OVERFLOW         0x1C000010
48 #define NCA_S_FAULT_UNSPEC               0x1C000012
49 #define NCA_S_FAULT_REMOTE_COMM_FAILURE  0x1C000013
50 #define NCA_S_FAULT_PIPE_EMPTY           0x1C000014
51 #define NCA_S_FAULT_PIPE_CLOSED          0x1C000015
52 #define NCA_S_FAULT_PIPE_ORDER           0x1C000016
53 #define NCA_S_FAULT_PIPE_DISCIPLINE      0x1C000017
54 #define NCA_S_FAULT_PIPE_COMM_ERROR      0x1C000018
55 #define NCA_S_FAULT_PIPE_MEMORY          0x1C000019
56 #define NCA_S_FAULT_CONTEXT_MISMATCH     0x1C00001A
57 #define NCA_S_FAULT_REMOTE_NO_MEMORY     0x1C00001B
58 #define NCA_S_INVALID_PRES_CONTEXT_ID    0x1C00001C
59 #define NCA_S_UNSUPPORTED_AUTHN_LEVEL    0x1C00001D
60 #define NCA_S_INVALID_CHECKSUM           0x1C00001F
61 #define NCA_S_INVALID_CRC                0x1C000020
62 #define NCA_S_FAULT_USER_DEFINED         0x1C000021
63 #define NCA_S_FAULT_TX_OPEN_FAILED       0x1C000022
64 #define NCA_S_FAULT_CODESET_CONV_ERROR   0x1C000023
65 #define NCA_S_FAULT_OBJECT_NOT_FOUND     0x1C000024
66 #define NCA_S_FAULT_NO_CLIENT_STUB       0x1C000025