Coverage Report

Created: 2025-07-01 06:46

/src/FreeRDP/winpr/include/winpr/error.h
Line
Count
Source (jump to first uncovered line)
1
/**
2
 * WinPR: Windows Portable Runtime
3
 * Error Handling Functions
4
 *
5
 * Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
6
 *
7
 * Licensed under the Apache License, Version 2.0 (the "License");
8
 * you may not use this file except in compliance with the License.
9
 * You may obtain a copy of the License at
10
 *
11
 *     http://www.apache.org/licenses/LICENSE-2.0
12
 *
13
 * Unless required by applicable law or agreed to in writing, software
14
 * distributed under the License is distributed on an "AS IS" BASIS,
15
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
 * See the License for the specific language governing permissions and
17
 * limitations under the License.
18
 */
19
20
#ifndef WINPR_ERROR_H
21
#define WINPR_ERROR_H
22
23
#include <winpr/cast.h>
24
#include <winpr/wtypes.h>
25
26
#ifdef _WIN32
27
28
#include <winerror.h>
29
30
/* mingw is possibly missing some definitions */
31
#ifndef RPC_S_PROXY_ACCESS_DENIED
32
#define RPC_S_PROXY_ACCESS_DENIED 0x000006C1
33
#endif
34
35
#ifndef RPC_S_COOKIE_AUTH_FAILED
36
#define RPC_S_COOKIE_AUTH_FAILED 0x00000729
37
#endif
38
39
#ifndef ERROR_OPERATION_IN_PROGRESS
40
#define ERROR_OPERATION_IN_PROGRESS 0x00000149
41
#endif
42
43
#else
44
45
#ifndef NO_ERROR
46
0
#define NO_ERROR 0
47
#endif
48
49
#define E_UNEXPECTED -2147418113l   // 0x8000FFFFL
50
#define E_ACCESSDENIED -2147024891l // 0x80070005L
51
#define E_HANDLE -2147024890l       // 0x80070006L
52
0
#define E_OUTOFMEMORY -2147024882l  // 0x8007000EL
53
54
0
#define E_INVALIDARG -2147024809l  // 0x80070057L
55
0
#define E_NOTIMPL -2147467263l     // 0x80004001L
56
#define E_NOINTERFACE -2147467262l // 0x80004002L
57
#define E_POINTER -2147467261l     // 0x80004003L
58
0
#define E_ABORT -2147467260l       // 0x80004004L
59
0
#define E_FAIL -2147467259l        // 0x80004005L
60
61
#define CO_E_INIT_TLS -2147467258l                                 // 0x80004006l
62
#define CO_E_INIT_SHARED_ALLOCATOR -2147467257l                    // 0x80004007l
63
#define CO_E_INIT_MEMORY_ALLOCATOR -2147467256l                    // 0x80004008l
64
#define CO_E_INIT_CLASS_CACHE -2147467255l                         // 0x80004009l
65
#define CO_E_INIT_RPC_CHANNEL -2147467254l                         // 0x8000400Al
66
#define CO_E_INIT_TLS_SET_CHANNEL_CONTROL -2147467253l             // 0x8000400Bl
67
#define CO_E_INIT_TLS_CHANNEL_CONTROL -2147467252l                 // 0x8000400Cl
68
#define CO_E_INIT_UNACCEPTED_USER_ALLOCATOR -2147467251l           // 0x8000400Dl
69
#define CO_E_INIT_SCM_MUTEX_EXISTS -2147467250l                    // 0x8000400El
70
#define CO_E_INIT_SCM_FILE_MAPPING_EXISTS -2147467249l             // 0x8000400Fl
71
#define CO_E_INIT_SCM_MAP_VIEW_OF_FILE -2147467248l                // 0x80004010l
72
#define CO_E_INIT_SCM_EXEC_FAILURE -2147467247l                    // 0x80004011l
73
#define CO_E_INIT_ONLY_SINGLE_THREADED -2147467246l                // 0x80004012l
74
#define CO_E_CANT_REMOTE -2147467245l                              // 0x80004013l
75
#define CO_E_BAD_SERVER_NAME -2147467244l                          // 0x80004014l
76
#define CO_E_WRONG_SERVER_IDENTITY -2147467243l                    // 0x80004015l
77
#define CO_E_OLE1DDE_DISABLED -2147467242l                         // 0x80004016l
78
#define CO_E_RUNAS_SYNTAX -2147467241l                             // 0x80004017l
79
#define CO_E_CREATEPROCESS_FAILURE -2147467240l                    // 0x80004018l
80
#define CO_E_RUNAS_CREATEPROCESS_FAILURE -2147467239l              // 0x80004019l
81
#define CO_E_RUNAS_LOGON_FAILURE -2147467238l                      // 0x8000401Al
82
#define CO_E_LAUNCH_PERMSSION_DENIED -2147467237l                  // 0x8000401Bl
83
#define CO_E_START_SERVICE_FAILURE -2147467236l                    // 0x8000401Cl
84
#define CO_E_REMOTE_COMMUNICATION_FAILURE -2147467235l             // 0x8000401Dl
85
#define CO_E_SERVER_START_TIMEOUT -2147467234l                     // 0x8000401El
86
#define CO_E_CLSREG_INCONSISTENT -2147467233l                      // 0x8000401Fl
87
#define CO_E_IIDREG_INCONSISTENT -2147467232l                      // 0x80004020l
88
#define CO_E_NOT_SUPPORTED -2147467231l                            // 0x80004021l
89
#define CO_E_RELOAD_DLL -2147467230l                               // 0x80004022l
90
#define CO_E_MSI_ERROR -2147467229l                                // 0x80004023l
91
#define CO_E_ATTEMPT_TO_CREATE_OUTSIDE_CLIENT_CONTEXT -2147467228l // 0x80004024l
92
#define CO_E_SERVER_PAUSED -2147467227l                            // 0x80004025l
93
#define CO_E_SERVER_NOT_PAUSED -2147467226l                        // 0x80004026l
94
#define CO_E_CLASS_DISABLED -2147467225l                           // 0x80004027l
95
#define CO_E_CLRNOTAVAILABLE -2147467224l                          // 0x80004028l
96
#define CO_E_ASYNC_WORK_REJECTED -2147467223l                      // 0x80004029l
97
#define CO_E_SERVER_INIT_TIMEOUT -2147467222l                      // 0x8000402Al
98
#define CO_E_NO_SECCTX_IN_ACTIVATE -2147467221l                    // 0x8000402Bl
99
#define CO_E_TRACKER_CONFIG -2147467216l                           // 0x80004030l
100
#define CO_E_THREADPOOL_CONFIG -2147467215l                        // 0x80004031l
101
#define CO_E_SXS_CONFIG -2147467214l                               // 0x80004032l
102
#define CO_E_MALFORMED_SPN -2147467213l                            // 0x80004033l
103
104
#define FACILITY_WINDOWSUPDATE 36
105
#define FACILITY_WINDOWS_CE 24
106
#define FACILITY_WINDOWS 8
107
#define FACILITY_URT 19
108
#define FACILITY_UMI 22
109
#define FACILITY_SXS 23
110
#define FACILITY_STORAGE 3
111
#define FACILITY_STATE_MANAGEMENT 34
112
#define FACILITY_SSPI 9
113
#define FACILITY_SCARD 16
114
#define FACILITY_SETUPAPI 15
115
#define FACILITY_SECURITY 9
116
#define FACILITY_RPC 1
117
#define FACILITY_WIN32 7
118
#define FACILITY_CONTROL 10
119
#define FACILITY_NULL 0
120
#define FACILITY_METADIRECTORY 35
121
#define FACILITY_MSMQ 14
122
#define FACILITY_MEDIASERVER 13
123
#define FACILITY_INTERNET 12
124
#define FACILITY_ITF 4
125
#define FACILITY_HTTP 25
126
#define FACILITY_DPLAY 21
127
#define FACILITY_DISPATCH 2
128
#define FACILITY_DIRECTORYSERVICE 37
129
#define FACILITY_CONFIGURATION 33
130
#define FACILITY_COMPLUS 17
131
#define FACILITY_CERT 11
132
#define FACILITY_BACKGROUNDCOPY 32
133
#define FACILITY_ACS 20
134
#define FACILITY_AAF 18
135
136
#define FACILITY_NT_BIT 0x10000000
137
138
#define SEVERITY_SUCCESS 0
139
#define SEVERITY_ERROR 1
140
141
0
#define HRESULT_CODE(hr) ((hr)&0xFFFF)
142
#define HRESULT_FACILITY(hr) (((hr) >> 16) & 0x1FFF)
143
144
#define HRESULT_FROM_NT(x) (((x) | FACILITY_NT_BIT))
145
146
WINPR_PRAGMA_DIAG_PUSH
147
WINPR_PRAGMA_DIAG_IGNORED_RESERVED_ID_MACRO
148
149
0
#define ERROR_CAST(t, val) WINPR_CXX_COMPAT_CAST(t, val)
150
151
static INLINE HRESULT HRESULT_FROM_WIN32(unsigned long x)
152
0
{
153
0
  HRESULT hx = ERROR_CAST(HRESULT, x);
154
0
  if (hx <= 0)
155
0
    return hx;
156
0
  return ERROR_CAST(HRESULT, (((x)&0x0000FFFF) | (FACILITY_WIN32 << 16) | 0x80000000));
157
0
}
Unexecuted instantiation: TestFuzzCommonAssistanceParseFileBuffer.c:HRESULT_FROM_WIN32
Unexecuted instantiation: assistance.c:HRESULT_FROM_WIN32
Unexecuted instantiation: settings.c:HRESULT_FROM_WIN32
Unexecuted instantiation: settings_getters.c:HRESULT_FROM_WIN32
Unexecuted instantiation: settings_str.c:HRESULT_FROM_WIN32
Unexecuted instantiation: privatekey.c:HRESULT_FROM_WIN32
Unexecuted instantiation: certificate.c:HRESULT_FROM_WIN32
Unexecuted instantiation: crypto.c:HRESULT_FROM_WIN32
Unexecuted instantiation: capabilities.c:HRESULT_FROM_WIN32
Unexecuted instantiation: rdp.c:HRESULT_FROM_WIN32
Unexecuted instantiation: tpdu.c:HRESULT_FROM_WIN32
Unexecuted instantiation: tpkt.c:HRESULT_FROM_WIN32
Unexecuted instantiation: fastpath.c:HRESULT_FROM_WIN32
Unexecuted instantiation: surface.c:HRESULT_FROM_WIN32
Unexecuted instantiation: transport.c:HRESULT_FROM_WIN32
Unexecuted instantiation: update.c:HRESULT_FROM_WIN32
Unexecuted instantiation: message.c:HRESULT_FROM_WIN32
Unexecuted instantiation: channels.c:HRESULT_FROM_WIN32
Unexecuted instantiation: rdstls.c:HRESULT_FROM_WIN32
Unexecuted instantiation: aad.c:HRESULT_FROM_WIN32
Unexecuted instantiation: timer.c:HRESULT_FROM_WIN32
Unexecuted instantiation: tsg.c:HRESULT_FROM_WIN32
Unexecuted instantiation: rdg.c:HRESULT_FROM_WIN32
Unexecuted instantiation: rpc.c:HRESULT_FROM_WIN32
Unexecuted instantiation: rpc_bind.c:HRESULT_FROM_WIN32
Unexecuted instantiation: rpc_client.c:HRESULT_FROM_WIN32
Unexecuted instantiation: rpc_fault.c:HRESULT_FROM_WIN32
Unexecuted instantiation: rts.c:HRESULT_FROM_WIN32
Unexecuted instantiation: rts_signature.c:HRESULT_FROM_WIN32
Unexecuted instantiation: http.c:HRESULT_FROM_WIN32
Unexecuted instantiation: websocket.c:HRESULT_FROM_WIN32
Unexecuted instantiation: wst.c:HRESULT_FROM_WIN32
Unexecuted instantiation: ncacn_http.c:HRESULT_FROM_WIN32
Unexecuted instantiation: bulk.c:HRESULT_FROM_WIN32
Unexecuted instantiation: ncrush.c:HRESULT_FROM_WIN32
Unexecuted instantiation: xcrush.c:HRESULT_FROM_WIN32
Unexecuted instantiation: mppc.c:HRESULT_FROM_WIN32
Unexecuted instantiation: pcap.c:HRESULT_FROM_WIN32
Unexecuted instantiation: ringbuffer.c:HRESULT_FROM_WIN32
Unexecuted instantiation: brush.c:HRESULT_FROM_WIN32
Unexecuted instantiation: pointer.c:HRESULT_FROM_WIN32
Unexecuted instantiation: bitmap.c:HRESULT_FROM_WIN32
Unexecuted instantiation: persistent.c:HRESULT_FROM_WIN32
Unexecuted instantiation: offscreen.c:HRESULT_FROM_WIN32
Unexecuted instantiation: palette.c:HRESULT_FROM_WIN32
Unexecuted instantiation: glyph.c:HRESULT_FROM_WIN32
Unexecuted instantiation: cache.c:HRESULT_FROM_WIN32
Unexecuted instantiation: ber.c:HRESULT_FROM_WIN32
Unexecuted instantiation: per.c:HRESULT_FROM_WIN32
Unexecuted instantiation: base64.c:HRESULT_FROM_WIN32
Unexecuted instantiation: x509_utils.c:HRESULT_FROM_WIN32
Unexecuted instantiation: cert_common.c:HRESULT_FROM_WIN32
Unexecuted instantiation: tls.c:HRESULT_FROM_WIN32
Unexecuted instantiation: state.c:HRESULT_FROM_WIN32
Unexecuted instantiation: utils.c:HRESULT_FROM_WIN32
Unexecuted instantiation: activation.c:HRESULT_FROM_WIN32
Unexecuted instantiation: mcs.c:HRESULT_FROM_WIN32
Unexecuted instantiation: nla.c:HRESULT_FROM_WIN32
Unexecuted instantiation: smartcardlogon.c:HRESULT_FROM_WIN32
Unexecuted instantiation: nego.c:HRESULT_FROM_WIN32
Unexecuted instantiation: info.c:HRESULT_FROM_WIN32
Unexecuted instantiation: input.c:HRESULT_FROM_WIN32
Unexecuted instantiation: license.c:HRESULT_FROM_WIN32
Unexecuted instantiation: errinfo.c:HRESULT_FROM_WIN32
Unexecuted instantiation: security.c:HRESULT_FROM_WIN32
Unexecuted instantiation: orders.c:HRESULT_FROM_WIN32
Unexecuted instantiation: freerdp.c:HRESULT_FROM_WIN32
Unexecuted instantiation: graphics.c:HRESULT_FROM_WIN32
Unexecuted instantiation: client.c:HRESULT_FROM_WIN32
Unexecuted instantiation: server.c:HRESULT_FROM_WIN32
Unexecuted instantiation: codecs.c:HRESULT_FROM_WIN32
Unexecuted instantiation: metrics.c:HRESULT_FROM_WIN32
Unexecuted instantiation: connection.c:HRESULT_FROM_WIN32
Unexecuted instantiation: redirection.c:HRESULT_FROM_WIN32
Unexecuted instantiation: autodetect.c:HRESULT_FROM_WIN32
Unexecuted instantiation: heartbeat.c:HRESULT_FROM_WIN32
Unexecuted instantiation: multitransport.c:HRESULT_FROM_WIN32
Unexecuted instantiation: timezone.c:HRESULT_FROM_WIN32
Unexecuted instantiation: childsession.c:HRESULT_FROM_WIN32
Unexecuted instantiation: tcp.c:HRESULT_FROM_WIN32
Unexecuted instantiation: proxy.c:HRESULT_FROM_WIN32
Unexecuted instantiation: window.c:HRESULT_FROM_WIN32
Unexecuted instantiation: peer.c:HRESULT_FROM_WIN32
Unexecuted instantiation: display.c:HRESULT_FROM_WIN32
Unexecuted instantiation: credssp_auth.c:HRESULT_FROM_WIN32
Unexecuted instantiation: arm.c:HRESULT_FROM_WIN32
Unexecuted instantiation: planar.c:HRESULT_FROM_WIN32
Unexecuted instantiation: interleaved.c:HRESULT_FROM_WIN32
Unexecuted instantiation: progressive.c:HRESULT_FROM_WIN32
Unexecuted instantiation: rfx.c:HRESULT_FROM_WIN32
Unexecuted instantiation: region.c:HRESULT_FROM_WIN32
Unexecuted instantiation: nsc.c:HRESULT_FROM_WIN32
Unexecuted instantiation: nsc_encode.c:HRESULT_FROM_WIN32
Unexecuted instantiation: clear.c:HRESULT_FROM_WIN32
Unexecuted instantiation: rfx_sse2.c:HRESULT_FROM_WIN32
Unexecuted instantiation: nsc_sse2.c:HRESULT_FROM_WIN32
Unexecuted instantiation: rfx_neon.c:HRESULT_FROM_WIN32
Unexecuted instantiation: nsc_neon.c:HRESULT_FROM_WIN32
Unexecuted instantiation: primitives.c:HRESULT_FROM_WIN32
Unexecuted instantiation: helpers.c:HRESULT_FROM_WIN32
Unexecuted instantiation: signal.c:HRESULT_FROM_WIN32
Unexecuted instantiation: string.c:HRESULT_FROM_WIN32
Unexecuted instantiation: addin.c:HRESULT_FROM_WIN32
Unexecuted instantiation: gdi.c:HRESULT_FROM_WIN32
Unexecuted instantiation: line.c:HRESULT_FROM_WIN32
Unexecuted instantiation: pen.c:HRESULT_FROM_WIN32
Unexecuted instantiation: shape.c:HRESULT_FROM_WIN32
Unexecuted instantiation: nine_grid.c:HRESULT_FROM_WIN32
Unexecuted instantiation: certificate_data.c:HRESULT_FROM_WIN32
Unexecuted instantiation: certificate_store.c:HRESULT_FROM_WIN32
Unexecuted instantiation: locale.c:HRESULT_FROM_WIN32
Unexecuted instantiation: streamdump.c:HRESULT_FROM_WIN32
Unexecuted instantiation: gcc.c:HRESULT_FROM_WIN32
Unexecuted instantiation: errbase.c:HRESULT_FROM_WIN32
Unexecuted instantiation: errconnect.c:HRESULT_FROM_WIN32
Unexecuted instantiation: color.c:HRESULT_FROM_WIN32
Unexecuted instantiation: rfx_decode.c:HRESULT_FROM_WIN32
Unexecuted instantiation: rfx_dwt.c:HRESULT_FROM_WIN32
Unexecuted instantiation: rfx_encode.c:HRESULT_FROM_WIN32
Unexecuted instantiation: rfx_quantization.c:HRESULT_FROM_WIN32
Unexecuted instantiation: rfx_rlgr.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_add.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_andor.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_alphaComp.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_colors.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_copy.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_set.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_shift.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_sign.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_YUV.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_YCoCg.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_colors_neon.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_YCoCg_neon.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_YUV_neon.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_colors_sse2.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_set_sse2.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_add_sse3.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_alphaComp_sse3.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_andor_sse3.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_shift_sse3.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_sign_ssse3.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_YCoCg_ssse3.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_copy_sse4_1.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_YUV_sse4.1.c:HRESULT_FROM_WIN32
Unexecuted instantiation: prim_copy_avx2.c:HRESULT_FROM_WIN32
Unexecuted instantiation: clipping.c:HRESULT_FROM_WIN32
Unexecuted instantiation: dc.c:HRESULT_FROM_WIN32
Unexecuted instantiation: drawing.c:HRESULT_FROM_WIN32
Unexecuted instantiation: critical.c:HRESULT_FROM_WIN32
Unexecuted instantiation: event.c:HRESULT_FROM_WIN32
Unexecuted instantiation: init.c:HRESULT_FROM_WIN32
Unexecuted instantiation: sleep.c:HRESULT_FROM_WIN32
Unexecuted instantiation: wait.c:HRESULT_FROM_WIN32
Unexecuted instantiation: library.c:HRESULT_FROM_WIN32
Unexecuted instantiation: generic.c:HRESULT_FROM_WIN32
Unexecuted instantiation: namedPipeClient.c:HRESULT_FROM_WIN32
Unexecuted instantiation: pattern.c:HRESULT_FROM_WIN32
Unexecuted instantiation: file.c:HRESULT_FROM_WIN32
Unexecuted instantiation: comm.c:HRESULT_FROM_WIN32
Unexecuted instantiation: comm_ioctl.c:HRESULT_FROM_WIN32
Unexecuted instantiation: comm_serial_sys.c:HRESULT_FROM_WIN32
Unexecuted instantiation: comm_sercx_sys.c:HRESULT_FROM_WIN32
Unexecuted instantiation: comm_sercx2_sys.c:HRESULT_FROM_WIN32
Unexecuted instantiation: pipe.c:HRESULT_FROM_WIN32
Unexecuted instantiation: interlocked.c:HRESULT_FROM_WIN32
Unexecuted instantiation: environment.c:HRESULT_FROM_WIN32
Unexecuted instantiation: hash.c:HRESULT_FROM_WIN32
Unexecuted instantiation: rand.c:HRESULT_FROM_WIN32
Unexecuted instantiation: cipher.c:HRESULT_FROM_WIN32
Unexecuted instantiation: registry.c:HRESULT_FROM_WIN32
Unexecuted instantiation: path.c:HRESULT_FROM_WIN32
Unexecuted instantiation: shell.c:HRESULT_FROM_WIN32
Unexecuted instantiation: io.c:HRESULT_FROM_WIN32
Unexecuted instantiation: ncrypt.c:HRESULT_FROM_WIN32
Unexecuted instantiation: json.c:HRESULT_FROM_WIN32
Unexecuted instantiation: sam.c:HRESULT_FROM_WIN32
Unexecuted instantiation: print.c:HRESULT_FROM_WIN32
Unexecuted instantiation: stream.c:HRESULT_FROM_WIN32
Unexecuted instantiation: debug.c:HRESULT_FROM_WIN32
Unexecuted instantiation: ssl.c:HRESULT_FROM_WIN32
Unexecuted instantiation: Object.c:HRESULT_FROM_WIN32
Unexecuted instantiation: PubSub.c:HRESULT_FROM_WIN32
Unexecuted instantiation: BitStream.c:HRESULT_FROM_WIN32
Unexecuted instantiation: ArrayList.c:HRESULT_FROM_WIN32
Unexecuted instantiation: HashTable.c:HRESULT_FROM_WIN32
Unexecuted instantiation: ListDictionary.c:HRESULT_FROM_WIN32
Unexecuted instantiation: BufferPool.c:HRESULT_FROM_WIN32
Unexecuted instantiation: ObjectPool.c:HRESULT_FROM_WIN32
Unexecuted instantiation: StreamPool.c:HRESULT_FROM_WIN32
Unexecuted instantiation: MessageQueue.c:HRESULT_FROM_WIN32
Unexecuted instantiation: wlog.c:HRESULT_FROM_WIN32
Unexecuted instantiation: Appender.c:HRESULT_FROM_WIN32
Unexecuted instantiation: FileAppender.c:HRESULT_FROM_WIN32
Unexecuted instantiation: BinaryAppender.c:HRESULT_FROM_WIN32
Unexecuted instantiation: CallbackAppender.c:HRESULT_FROM_WIN32
Unexecuted instantiation: ConsoleAppender.c:HRESULT_FROM_WIN32
Unexecuted instantiation: UdpAppender.c:HRESULT_FROM_WIN32
Unexecuted instantiation: SyslogAppender.c:HRESULT_FROM_WIN32
Unexecuted instantiation: asn1.c:HRESULT_FROM_WIN32
Unexecuted instantiation: error.c:HRESULT_FROM_WIN32
Unexecuted instantiation: sysinfo.c:HRESULT_FROM_WIN32
Unexecuted instantiation: work.c:HRESULT_FROM_WIN32
Unexecuted instantiation: pool.c:HRESULT_FROM_WIN32
Unexecuted instantiation: handle.c:HRESULT_FROM_WIN32
Unexecuted instantiation: apc.c:HRESULT_FROM_WIN32
Unexecuted instantiation: process.c:HRESULT_FROM_WIN32
Unexecuted instantiation: thread.c:HRESULT_FROM_WIN32
Unexecuted instantiation: winsock.c:HRESULT_FROM_WIN32
Unexecuted instantiation: sspi_winpr.c:HRESULT_FROM_WIN32
Unexecuted instantiation: sspi.c:HRESULT_FROM_WIN32
Unexecuted instantiation: alignment.c:HRESULT_FROM_WIN32
Unexecuted instantiation: unicode.c:HRESULT_FROM_WIN32
Unexecuted instantiation: assert.c:HRESULT_FROM_WIN32
Unexecuted instantiation: unicode_builtin.c:HRESULT_FROM_WIN32
Unexecuted instantiation: wtsapi.c:HRESULT_FROM_WIN32
Unexecuted instantiation: nt.c:HRESULT_FROM_WIN32
Unexecuted instantiation: pollset.c:HRESULT_FROM_WIN32
Unexecuted instantiation: comm_io.c:HRESULT_FROM_WIN32
Unexecuted instantiation: registry_reg.c:HRESULT_FROM_WIN32
Unexecuted instantiation: ncrypt_pkcs11.c:HRESULT_FROM_WIN32
Unexecuted instantiation: ini.c:HRESULT_FROM_WIN32
Unexecuted instantiation: Queue.c:HRESULT_FROM_WIN32
Unexecuted instantiation: CountdownEvent.c:HRESULT_FROM_WIN32
Unexecuted instantiation: Layout.c:HRESULT_FROM_WIN32
Unexecuted instantiation: Message.c:HRESULT_FROM_WIN32
Unexecuted instantiation: DataMessage.c:HRESULT_FROM_WIN32
Unexecuted instantiation: ImageMessage.c:HRESULT_FROM_WIN32
Unexecuted instantiation: PacketMessage.c:HRESULT_FROM_WIN32
Unexecuted instantiation: TimeZoneNameMapUtils.c:HRESULT_FROM_WIN32
Unexecuted instantiation: nonehandle.c:HRESULT_FROM_WIN32
Unexecuted instantiation: argv.c:HRESULT_FROM_WIN32
Unexecuted instantiation: credssp.c:HRESULT_FROM_WIN32
Unexecuted instantiation: ntlm.c:HRESULT_FROM_WIN32
Unexecuted instantiation: kerberos.c:HRESULT_FROM_WIN32
Unexecuted instantiation: krb5glue_mit.c:HRESULT_FROM_WIN32
Unexecuted instantiation: negotiate.c:HRESULT_FROM_WIN32
Unexecuted instantiation: schannel.c:HRESULT_FROM_WIN32
Unexecuted instantiation: sspi_gss.c:HRESULT_FROM_WIN32
Unexecuted instantiation: smartcard.c:HRESULT_FROM_WIN32
Unexecuted instantiation: smartcard_pcsc.c:HRESULT_FROM_WIN32
Unexecuted instantiation: image.c:HRESULT_FROM_WIN32
Unexecuted instantiation: ntlm_message.c:HRESULT_FROM_WIN32
Unexecuted instantiation: schannel_openssl.c:HRESULT_FROM_WIN32
Unexecuted instantiation: ntlm_av_pairs.c:HRESULT_FROM_WIN32
Unexecuted instantiation: ntlm_compute.c:HRESULT_FROM_WIN32
158
159
WINPR_PRAGMA_DIAG_POP
160
161
#define HRESULT_SEVERITY(hr) (((hr) >> 31) & 0x1)
162
163
0
#define SUCCEEDED(hr) (((hr)) >= 0)
164
0
#define FAILED(hr) (((hr)) < 0)
165
#define IS_ERROR(Status) ((ERROR_CAST(unsigned long, Status)) >> 31 == SEVERITY_ERROR)
166
167
#define MAKE_HRESULT(sev, fac, code)                                                             \
168
  ((HRESULT)((ERROR_CAST(unsigned long, sev) << 31) | (ERROR_CAST(unsigned long, fac) << 16) | \
169
             (ERROR_CAST(unsigned long, code))))
170
171
#define SCODE_CODE(sc) ((sc)&0xFFFF)
172
#define SCODE_FACILITY(sc) (((sc) >> 16) & 0x1FFF)
173
#define SCODE_SEVERITY(sc) (((sc) >> 31) & 0x1)
174
175
#define MAKE_SCODE(sev, fac, code)                                                             \
176
  ((SCODE)((ERROR_CAST(unsigned long, sev) << 31) | (ERROR_CAST(unsigned long, fac) << 16) | \
177
           (ERROR_CAST(unsigned long, code))))
178
179
0
#define S_OK (0L)
180
0
#define S_FALSE (1L)
181
182
/* System Error Codes (0-499) */
183
184
0
#define ERROR_SUCCESS 0x00000000
185
#define ERROR_INVALID_FUNCTION 0x00000001
186
0
#define ERROR_FILE_NOT_FOUND 0x00000002
187
#define ERROR_PATH_NOT_FOUND 0x00000003
188
#define ERROR_TOO_MANY_OPEN_FILES 0x00000004
189
0
#define ERROR_ACCESS_DENIED 0x00000005
190
0
#define ERROR_INVALID_HANDLE 0x00000006
191
#define ERROR_ARENA_TRASHED 0x00000007
192
0
#define ERROR_NOT_ENOUGH_MEMORY 0x00000008
193
#define ERROR_INVALID_BLOCK 0x00000009
194
#define ERROR_BAD_ENVIRONMENT 0x0000000A
195
#define ERROR_BAD_FORMAT 0x0000000B
196
#define ERROR_INVALID_ACCESS 0x0000000C
197
0
#define ERROR_INVALID_DATA 0x0000000D
198
0
#define ERROR_OUTOFMEMORY 0x0000000E
199
#define ERROR_INVALID_DRIVE 0x0000000F
200
#define ERROR_CURRENT_DIRECTORY 0x00000010
201
#define ERROR_NOT_SAME_DEVICE 0x00000011
202
0
#define ERROR_NO_MORE_FILES 0x00000012
203
#define ERROR_WRITE_PROTECT 0x00000013
204
#define ERROR_BAD_UNIT 0x00000014
205
0
#define ERROR_NOT_READY 0x00000015
206
#define ERROR_BAD_COMMAND 0x00000016
207
#define ERROR_CRC 0x00000017
208
#define ERROR_BAD_LENGTH 0x00000018
209
#define ERROR_SEEK 0x00000019
210
#define ERROR_NOT_DOS_DISK 0x0000001A
211
#define ERROR_SECTOR_NOT_FOUND 0x0000001B
212
#define ERROR_OUT_OF_PAPER 0x0000001C
213
#define ERROR_WRITE_FAULT 0x0000001D
214
#define ERROR_READ_FAULT 0x0000001E
215
#define ERROR_GEN_FAILURE 0x0000001F
216
0
#define ERROR_SHARING_VIOLATION 0x00000020
217
#define ERROR_LOCK_VIOLATION 0x00000021
218
#define ERROR_WRONG_DISK 0x00000022
219
#define ERROR_SHARING_BUFFER_EXCEEDED 0x00000024
220
#define ERROR_HANDLE_EOF 0x00000026
221
#define ERROR_HANDLE_DISK_FULL 0x00000027
222
0
#define ERROR_NOT_SUPPORTED 0x00000032
223
#define ERROR_REM_NOT_LIST 0x00000033
224
#define ERROR_DUP_NAME 0x00000034
225
#define ERROR_BAD_NETPATH 0x00000035
226
#define ERROR_NETWORK_BUSY 0x00000036
227
#define ERROR_DEV_NOT_EXIST 0x00000037
228
#define ERROR_TOO_MANY_CMDS 0x00000038
229
#define ERROR_ADAP_HDW_ERR 0x00000039
230
#define ERROR_BAD_NET_RESP 0x0000003A
231
#define ERROR_UNEXP_NET_ERR 0x0000003B
232
#define ERROR_BAD_REM_ADAP 0x0000003C
233
#define ERROR_PRINTQ_FULL 0x0000003D
234
#define ERROR_NO_SPOOL_SPACE 0x0000003E
235
#define ERROR_PRINT_CANCELLED 0x0000003F
236
#define ERROR_NETNAME_DELETED 0x00000040
237
#define ERROR_NETWORK_ACCESS_DENIED 0x00000041
238
#define ERROR_BAD_DEV_TYPE 0x00000042
239
#define ERROR_BAD_NET_NAME 0x00000043
240
#define ERROR_TOO_MANY_NAMES 0x00000044
241
#define ERROR_TOO_MANY_SESS 0x00000045
242
#define ERROR_SHARING_PAUSED 0x00000046
243
#define ERROR_REQ_NOT_ACCEP 0x00000047
244
#define ERROR_REDIR_PAUSED 0x00000048
245
0
#define ERROR_FILE_EXISTS 0x00000050
246
#define ERROR_CANNOT_MAKE 0x00000052
247
#define ERROR_FAIL_I24 0x00000053
248
#define ERROR_OUT_OF_STRUCTURES 0x00000054
249
#define ERROR_ALREADY_ASSIGNED 0x00000055
250
#define ERROR_INVALID_PASSWORD 0x00000056
251
0
#define ERROR_INVALID_PARAMETER 0x00000057
252
#define ERROR_NET_WRITE_FAULT 0x00000058
253
#define ERROR_NO_PROC_SLOTS 0x00000059
254
#define ERROR_TOO_MANY_SEMAPHORES 0x00000064
255
#define ERROR_EXCL_SEM_ALREADY_OWNED 0x00000065
256
#define ERROR_SEM_IS_SET 0x00000066
257
#define ERROR_TOO_MANY_SEM_REQUESTS 0x00000067
258
#define ERROR_INVALID_AT_INTERRUPT_TIME 0x00000068
259
#define ERROR_SEM_OWNER_DIED 0x00000069
260
#define ERROR_SEM_USER_LIMIT 0x0000006A
261
#define ERROR_DISK_CHANGE 0x0000006B
262
#define ERROR_DRIVE_LOCKED 0x0000006C
263
0
#define ERROR_BROKEN_PIPE 0x0000006D
264
#define ERROR_OPEN_FAILED 0x0000006E
265
0
#define ERROR_BUFFER_OVERFLOW 0x0000006F
266
#define ERROR_DISK_FULL 0x00000070
267
#define ERROR_NO_MORE_SEARCH_HANDLES 0x00000071
268
#define ERROR_INVALID_TARGET_HANDLE 0x00000072
269
#define ERROR_INVALID_CATEGORY 0x00000075
270
#define ERROR_INVALID_VERIFY_SWITCH 0x00000076
271
#define ERROR_BAD_DRIVER_LEVEL 0x00000077
272
0
#define ERROR_CALL_NOT_IMPLEMENTED 0x00000078
273
#define ERROR_SEM_TIMEOUT 0x00000079
274
0
#define ERROR_INSUFFICIENT_BUFFER 0x0000007A
275
#define ERROR_INVALID_NAME 0x0000007B
276
#define ERROR_INVALID_LEVEL 0x0000007C
277
#define ERROR_NO_VOLUME_LABEL 0x0000007D
278
#define ERROR_MOD_NOT_FOUND 0x0000007E
279
#define ERROR_PROC_NOT_FOUND 0x0000007F
280
#define ERROR_WAIT_NO_CHILDREN 0x00000080
281
#define ERROR_CHILD_NOT_COMPLETE 0x00000081
282
#define ERROR_DIRECT_ACCESS_HANDLE 0x00000082
283
#define ERROR_NEGATIVE_SEEK 0x00000083
284
#define ERROR_SEEK_ON_DEVICE 0x00000084
285
#define ERROR_IS_JOIN_TARGET 0x00000085
286
#define ERROR_IS_JOINED 0x00000086
287
#define ERROR_IS_SUBSTED 0x00000087
288
#define ERROR_NOT_JOINED 0x00000088
289
#define ERROR_NOT_SUBSTED 0x00000089
290
#define ERROR_JOIN_TO_JOIN 0x0000008A
291
#define ERROR_SUBST_TO_SUBST 0x0000008B
292
#define ERROR_JOIN_TO_SUBST 0x0000008C
293
#define ERROR_SUBST_TO_JOIN 0x0000008D
294
0
#define ERROR_BUSY_DRIVE 0x0000008E
295
#define ERROR_SAME_DRIVE 0x0000008F
296
#define ERROR_DIR_NOT_ROOT 0x00000090
297
#define ERROR_DIR_NOT_EMPTY 0x00000091
298
#define ERROR_IS_SUBST_PATH 0x00000092
299
#define ERROR_IS_JOIN_PATH 0x00000093
300
#define ERROR_PATH_BUSY 0x00000094
301
#define ERROR_IS_SUBST_TARGET 0x00000095
302
#define ERROR_SYSTEM_TRACE 0x00000096
303
#define ERROR_INVALID_EVENT_COUNT 0x00000097
304
#define ERROR_TOO_MANY_MUXWAITERS 0x00000098
305
#define ERROR_INVALID_LIST_FORMAT 0x00000099
306
#define ERROR_LABEL_TOO_LONG 0x0000009A
307
#define ERROR_TOO_MANY_TCBS 0x0000009B
308
#define ERROR_SIGNAL_REFUSED 0x0000009C
309
#define ERROR_DISCARDED 0x0000009D
310
#define ERROR_NOT_LOCKED 0x0000009E
311
#define ERROR_BAD_THREADID_ADDR 0x0000009F
312
0
#define ERROR_BAD_ARGUMENTS 0x000000A0
313
#define ERROR_BAD_PATHNAME 0x000000A1
314
#define ERROR_SIGNAL_PENDING 0x000000A2
315
#define ERROR_MAX_THRDS_REACHED 0x000000A4
316
#define ERROR_LOCK_FAILED 0x000000A7
317
#define ERROR_BUSY 0x000000AA
318
#define ERROR_DEVICE_SUPPORT_IN_PROGRESS 0x000000AB
319
#define ERROR_CANCEL_VIOLATION 0x000000AD
320
#define ERROR_ATOMIC_LOCKS_NOT_SUPPORTED 0x000000AE
321
#define ERROR_INVALID_SEGMENT_NUMBER 0x000000B4
322
#define ERROR_INVALID_ORDINAL 0x000000B6
323
0
#define ERROR_ALREADY_EXISTS 0x000000B7
324
#define ERROR_INVALID_FLAG_NUMBER 0x000000BA
325
#define ERROR_SEM_NOT_FOUND 0x000000BB
326
#define ERROR_INVALID_STARTING_CODESEG 0x000000BC
327
#define ERROR_INVALID_STACKSEG 0x000000BD
328
#define ERROR_INVALID_MODULETYPE 0x000000BE
329
#define ERROR_INVALID_EXE_SIGNATURE 0x000000BF
330
#define ERROR_EXE_MARKED_INVALID 0x000000C0
331
#define ERROR_BAD_EXE_FORMAT 0x000000C1
332
#define ERROR_ITERATED_DATA_EXCEEDS_64k 0x000000C2
333
#define ERROR_INVALID_MINALLOCSIZE 0x000000C3
334
#define ERROR_DYNLINK_FROM_INVALID_RING 0x000000C4
335
#define ERROR_IOPL_NOT_ENABLED 0x000000C5
336
#define ERROR_INVALID_SEGDPL 0x000000C6
337
#define ERROR_AUTODATASEG_EXCEEDS_64k 0x000000C7
338
#define ERROR_RING2SEG_MUST_BE_MOVABLE 0x000000C8
339
#define ERROR_RELOC_CHAIN_XEEDS_SEGLIM 0x000000C9
340
#define ERROR_INFLOOP_IN_RELOC_CHAIN 0x000000CA
341
0
#define ERROR_ENVVAR_NOT_FOUND 0x000000CB
342
#define ERROR_NO_SIGNAL_SENT 0x000000CD
343
0
#define ERROR_FILENAME_EXCED_RANGE 0x000000CE
344
#define ERROR_RING2_STACK_IN_USE 0x000000CF
345
#define ERROR_META_EXPANSION_TOO_LONG 0x000000D0
346
#define ERROR_INVALID_SIGNAL_NUMBER 0x000000D1
347
#define ERROR_THREAD_1_INACTIVE 0x000000D2
348
#define ERROR_LOCKED 0x000000D4
349
#define ERROR_TOO_MANY_MODULES 0x000000D6
350
#define ERROR_NESTING_NOT_ALLOWED 0x000000D7
351
#define ERROR_EXE_MACHINE_TYPE_MISMATCH 0x000000D8
352
#define ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY 0x000000D9
353
#define ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY 0x000000DA
354
#define ERROR_FILE_CHECKED_OUT 0x000000DC
355
#define ERROR_CHECKOUT_REQUIRED 0x000000DD
356
#define ERROR_BAD_FILE_TYPE 0x000000DE
357
#define ERROR_FILE_TOO_LARGE 0x000000DF
358
#define ERROR_FORMS_AUTH_REQUIRED 0x000000E0
359
#define ERROR_VIRUS_INFECTED 0x000000E1
360
#define ERROR_VIRUS_DELETED 0x000000E2
361
#define ERROR_PIPE_LOCAL 0x000000E5
362
#define ERROR_BAD_PIPE 0x000000E6
363
#define ERROR_PIPE_BUSY 0x000000E7
364
0
#define ERROR_NO_DATA 0x000000E8
365
#define ERROR_PIPE_NOT_CONNECTED 0x000000E9
366
0
#define ERROR_MORE_DATA 0x000000EA
367
#define ERROR_VC_DISCONNECTED 0x000000F0
368
#define ERROR_INVALID_EA_NAME 0x000000FE
369
#define ERROR_EA_LIST_INCONSISTENT 0x000000FF
370
0
#define WAIT_TIMEOUT 0x00000102
371
0
#define ERROR_NO_MORE_ITEMS 0x00000103
372
#define ERROR_CANNOT_COPY 0x0000010A
373
#define ERROR_DIRECTORY 0x0000010B
374
#define ERROR_EAS_DIDNT_FIT 0x00000113
375
#define ERROR_EA_FILE_CORRUPT 0x00000114
376
#define ERROR_EA_TABLE_FULL 0x00000115
377
#define ERROR_INVALID_EA_HANDLE 0x00000116
378
#define ERROR_EAS_NOT_SUPPORTED 0x0000011A
379
#define ERROR_NOT_OWNER 0x00000120
380
#define ERROR_TOO_MANY_POSTS 0x0000012A
381
#define ERROR_PARTIAL_COPY 0x0000012B
382
#define ERROR_OPLOCK_NOT_GRANTED 0x0000012C
383
#define ERROR_INVALID_OPLOCK_PROTOCOL 0x0000012D
384
#define ERROR_DISK_TOO_FRAGMENTED 0x0000012E
385
#define ERROR_DELETE_PENDING 0x0000012F
386
#define ERROR_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING 0x00000130
387
#define ERROR_SHORT_NAMES_NOT_ENABLED_ON_VOLUME 0x00000131
388
#define ERROR_SECURITY_STREAM_IS_INCONSISTENT 0x00000132
389
#define ERROR_INVALID_LOCK_RANGE 0x00000133
390
#define ERROR_IMAGE_SUBSYSTEM_NOT_PRESENT 0x00000134
391
#define ERROR_NOTIFICATION_GUID_ALREADY_DEFINED 0x00000135
392
#define ERROR_INVALID_EXCEPTION_HANDLER 0x00000136
393
#define ERROR_DUPLICATE_PRIVILEGES 0x00000137
394
#define ERROR_NO_RANGES_PROCESSED 0x00000138
395
#define ERROR_NOT_ALLOWED_ON_SYSTEM_FILE 0x00000139
396
#define ERROR_DISK_RESOURCES_EXHAUSTED 0x0000013A
397
#define ERROR_INVALID_TOKEN 0x0000013B
398
#define ERROR_DEVICE_FEATURE_NOT_SUPPORTED 0x0000013C
399
#define ERROR_MR_MID_NOT_FOUND 0x0000013D
400
#define ERROR_SCOPE_NOT_FOUND 0x0000013E
401
#define ERROR_UNDEFINED_SCOPE 0x0000013F
402
#define ERROR_INVALID_CAP 0x00000140
403
#define ERROR_DEVICE_UNREACHABLE 0x00000141
404
#define ERROR_DEVICE_NO_RESOURCES 0x00000142
405
#define ERROR_DATA_CHECKSUM_ERROR 0x00000143
406
#define ERROR_INTERMIXED_KERNEL_EA_OPERATION 0x00000144
407
#define ERROR_FILE_LEVEL_TRIM_NOT_SUPPORTED 0x00000146
408
#define ERROR_OFFSET_ALIGNMENT_VIOLATION 0x00000147
409
#define ERROR_INVALID_FIELD_IN_PARAMETER_LIST 0x00000148
410
0
#define ERROR_OPERATION_IN_PROGRESS 0x00000149
411
#define ERROR_BAD_DEVICE_PATH 0x0000014A
412
#define ERROR_TOO_MANY_DESCRIPTORS 0x0000014B
413
#define ERROR_SCRUB_DATA_DISABLED 0x0000014C
414
#define ERROR_NOT_REDUNDANT_STORAGE 0x0000014D
415
#define ERROR_RESIDENT_FILE_NOT_SUPPORTED 0x0000014E
416
#define ERROR_COMPRESSED_FILE_NOT_SUPPORTED 0x0000014F
417
#define ERROR_DIRECTORY_NOT_SUPPORTED 0x00000150
418
#define ERROR_NOT_READ_FROM_COPY 0x00000151
419
#define ERROR_FAIL_NOACTION_REBOOT 0x0000015E
420
#define ERROR_FAIL_SHUTDOWN 0x0000015F
421
#define ERROR_FAIL_RESTART 0x00000160
422
#define ERROR_MAX_SESSIONS_REACHED 0x00000161
423
#define ERROR_THREAD_MODE_ALREADY_BACKGROUND 0x00000190
424
#define ERROR_THREAD_MODE_NOT_BACKGROUND 0x00000191
425
#define ERROR_PROCESS_MODE_ALREADY_BACKGROUND 0x00000192
426
#define ERROR_PROCESS_MODE_NOT_BACKGROUND 0x00000193
427
#define ERROR_INVALID_ADDRESS 0x000001E7
428
429
/* System Error Codes (500-999) */
430
431
#define ERROR_USER_PROFILE_LOAD 0x000001F4
432
#define ERROR_ARITHMETIC_OVERFLOW 0x00000216
433
#define ERROR_PIPE_CONNECTED 0x00000217
434
#define ERROR_PIPE_LISTENING 0x00000218
435
#define ERROR_VERIFIER_STOP 0x00000219
436
#define ERROR_ABIOS_ERROR 0x0000021A
437
#define ERROR_WX86_WARNING 0x0000021B
438
#define ERROR_WX86_ERROR 0x0000021C
439
#define ERROR_TIMER_NOT_CANCELED 0x0000021D
440
#define ERROR_UNWIND 0x0000021E
441
#define ERROR_BAD_STACK 0x0000021F
442
#define ERROR_INVALID_UNWIND_TARGET 0x00000220
443
#define ERROR_INVALID_PORT_ATTRIBUTES 0x00000221
444
#define ERROR_PORT_MESSAGE_TOO_LONG 0x00000222
445
#define ERROR_INVALID_QUOTA_LOWER 0x00000223
446
#define ERROR_DEVICE_ALREADY_ATTACHED 0x00000224
447
#define ERROR_INSTRUCTION_MISALIGNMENT 0x00000225
448
#define ERROR_PROFILING_NOT_STARTED 0x00000226
449
#define ERROR_PROFILING_NOT_STOPPED 0x00000227
450
#define ERROR_COULD_NOT_INTERPRET 0x00000228
451
#define ERROR_PROFILING_AT_LIMIT 0x00000229
452
#define ERROR_CANT_WAIT 0x0000022A
453
#define ERROR_CANT_TERMINATE_SELF 0x0000022B
454
#define ERROR_UNEXPECTED_MM_CREATE_ERR 0x0000022C
455
#define ERROR_UNEXPECTED_MM_MAP_ERROR 0x0000022D
456
#define ERROR_UNEXPECTED_MM_EXTEND_ERR 0x0000022E
457
#define ERROR_BAD_FUNCTION_TABLE 0x0000022F
458
#define ERROR_NO_GUID_TRANSLATION 0x00000230
459
#define ERROR_INVALID_LDT_SIZE 0x00000231
460
#define ERROR_INVALID_LDT_OFFSET 0x00000233
461
#define ERROR_INVALID_LDT_DESCRIPTOR 0x00000234
462
#define ERROR_TOO_MANY_THREADS 0x00000235
463
#define ERROR_THREAD_NOT_IN_PROCESS 0x00000236
464
#define ERROR_PAGEFILE_QUOTA_EXCEEDED 0x00000237
465
#define ERROR_LOGON_SERVER_CONFLICT 0x00000238
466
#define ERROR_SYNCHRONIZATION_REQUIRED 0x00000239
467
#define ERROR_NET_OPEN_FAILED 0x0000023A
468
#define ERROR_IO_PRIVILEGE_FAILED 0x0000023B
469
#define ERROR_CONTROL_C_EXIT 0x0000023C
470
#define ERROR_MISSING_SYSTEMFILE 0x0000023D
471
#define ERROR_UNHANDLED_EXCEPTION 0x0000023E
472
#define ERROR_APP_INIT_FAILURE 0x0000023F
473
#define ERROR_PAGEFILE_CREATE_FAILED 0x00000240
474
#define ERROR_INVALID_IMAGE_HASH 0x00000241
475
#define ERROR_NO_PAGEFILE 0x00000242
476
#define ERROR_ILLEGAL_FLOAT_CONTEXT 0x00000243
477
#define ERROR_NO_EVENT_PAIR 0x00000244
478
#define ERROR_DOMAIN_CTRLR_CONFIG_ERROR 0x00000245
479
#define ERROR_ILLEGAL_CHARACTER 0x00000246
480
#define ERROR_UNDEFINED_CHARACTER 0x00000247
481
#define ERROR_FLOPPY_VOLUME 0x00000248
482
#define ERROR_BIOS_FAILED_TO_CONNECT_INTERRUPT 0x00000249
483
#define ERROR_BACKUP_CONTROLLER 0x0000024A
484
#define ERROR_MUTANT_LIMIT_EXCEEDED 0x0000024B
485
#define ERROR_FS_DRIVER_REQUIRED 0x0000024C
486
#define ERROR_CANNOT_LOAD_REGISTRY_FILE 0x0000024D
487
#define ERROR_DEBUG_ATTACH_FAILED 0x0000024E
488
#define ERROR_SYSTEM_PROCESS_TERMINATED 0x0000024F
489
#define ERROR_DATA_NOT_ACCEPTED 0x00000250
490
#define ERROR_VDM_HARD_ERROR 0x00000251
491
#define ERROR_DRIVER_CANCEL_TIMEOUT 0x00000252
492
#define ERROR_REPLY_MESSAGE_MISMATCH 0x00000253
493
#define ERROR_LOST_WRITEBEHIND_DATA 0x00000254
494
#define ERROR_CLIENT_SERVER_PARAMETERS_INVALID 0x00000255
495
#define ERROR_NOT_TINY_STREAM 0x00000256
496
#define ERROR_STACK_OVERFLOW_READ 0x00000257
497
0
#define ERROR_CONVERT_TO_LARGE 0x00000258
498
#define ERROR_FOUND_OUT_OF_SCOPE 0x00000259
499
#define ERROR_ALLOCATE_BUCKET 0x0000025A
500
#define ERROR_MARSHALL_OVERFLOW 0x0000025B
501
#define ERROR_INVALID_VARIANT 0x0000025C
502
#define ERROR_BAD_COMPRESSION_BUFFER 0x0000025D
503
#define ERROR_AUDIT_FAILED 0x0000025E
504
#define ERROR_TIMER_RESOLUTION_NOT_SET 0x0000025F
505
#define ERROR_INSUFFICIENT_LOGON_INFO 0x00000260
506
#define ERROR_BAD_DLL_ENTRYPOINT 0x00000261
507
#define ERROR_BAD_SERVICE_ENTRYPOINT 0x00000262
508
#define ERROR_IP_ADDRESS_CONFLICT1 0x00000263
509
#define ERROR_IP_ADDRESS_CONFLICT2 0x00000264
510
#define ERROR_REGISTRY_QUOTA_LIMIT 0x00000265
511
#define ERROR_NO_CALLBACK_ACTIVE 0x00000266
512
#define ERROR_PWD_TOO_SHORT 0x00000267
513
#define ERROR_PWD_TOO_RECENT 0x00000268
514
#define ERROR_PWD_HISTORY_CONFLICT 0x00000269
515
#define ERROR_UNSUPPORTED_COMPRESSION 0x0000026A
516
#define ERROR_INVALID_HW_PROFILE 0x0000026B
517
#define ERROR_INVALID_PLUGPLAY_DEVICE_PATH 0x0000026C
518
#define ERROR_QUOTA_LIST_INCONSISTENT 0x0000026D
519
#define ERROR_EVALUATION_EXPIRATION 0x0000026E
520
#define ERROR_ILLEGAL_DLL_RELOCATION 0x0000026F
521
#define ERROR_DLL_INIT_FAILED_LOGOFF 0x00000270
522
#define ERROR_VALIDATE_CONTINUE 0x00000271
523
#define ERROR_NO_MORE_MATCHES 0x00000272
524
#define ERROR_RANGE_LIST_CONFLICT 0x00000273
525
#define ERROR_SERVER_SID_MISMATCH 0x00000274
526
#define ERROR_CANT_ENABLE_DENY_ONLY 0x00000275
527
#define ERROR_FLOAT_MULTIPLE_FAULTS 0x00000276
528
#define ERROR_FLOAT_MULTIPLE_TRAPS 0x00000277
529
#define ERROR_NOINTERFACE 0x00000278
530
#define ERROR_DRIVER_FAILED_SLEEP 0x00000279
531
#define ERROR_CORRUPT_SYSTEM_FILE 0x0000027A
532
#define ERROR_COMMITMENT_MINIMUM 0x0000027B
533
#define ERROR_PNP_RESTART_ENUMERATION 0x0000027C
534
#define ERROR_SYSTEM_IMAGE_BAD_SIGNATURE 0x0000027D
535
#define ERROR_PNP_REBOOT_REQUIRED 0x0000027E
536
#define ERROR_INSUFFICIENT_POWER 0x0000027F
537
#define ERROR_MULTIPLE_FAULT_VIOLATION 0x00000280
538
#define ERROR_SYSTEM_SHUTDOWN 0x00000281
539
#define ERROR_PORT_NOT_SET 0x00000282
540
#define ERROR_DS_VERSION_CHECK_FAILURE 0x00000283
541
#define ERROR_RANGE_NOT_FOUND 0x00000284
542
#define ERROR_NOT_SAFE_MODE_DRIVER 0x00000286
543
#define ERROR_FAILED_DRIVER_ENTRY 0x00000287
544
#define ERROR_DEVICE_ENUMERATION_ERROR 0x00000288
545
#define ERROR_MOUNT_POINT_NOT_RESOLVED 0x00000289
546
0
#define ERROR_INVALID_DEVICE_OBJECT_PARAMETER 0x0000028A
547
/* The following is not a typo. It's the same spelling as in the Microsoft headers */
548
#define ERROR_MCA_OCCURED 0x0000028B
549
#define ERROR_DRIVER_DATABASE_ERROR 0x0000028C
550
#define ERROR_SYSTEM_HIVE_TOO_LARGE 0x0000028D
551
#define ERROR_DRIVER_FAILED_PRIOR_UNLOAD 0x0000028E
552
#define ERROR_VOLSNAP_PREPARE_HIBERNATE 0x0000028F
553
#define ERROR_HIBERNATION_FAILURE 0x00000290
554
#define ERROR_PWD_TOO_LONG 0x00000291
555
#define ERROR_FILE_SYSTEM_LIMITATION 0x00000299
556
#define ERROR_ASSERTION_FAILURE 0x0000029C
557
#define ERROR_ACPI_ERROR 0x0000029D
558
#define ERROR_WOW_ASSERTION 0x0000029E
559
#define ERROR_PNP_BAD_MPS_TABLE 0x0000029F
560
#define ERROR_PNP_TRANSLATION_FAILED 0x000002A0
561
#define ERROR_PNP_IRQ_TRANSLATION_FAILED 0x000002A1
562
#define ERROR_PNP_INVALID_ID 0x000002A2
563
#define ERROR_WAKE_SYSTEM_DEBUGGER 0x000002A3
564
#define ERROR_HANDLES_CLOSED 0x000002A4
565
#define ERROR_EXTRANEOUS_INFORMATION 0x000002A5
566
#define ERROR_RXACT_COMMIT_NECESSARY 0x000002A6
567
#define ERROR_MEDIA_CHECK 0x000002A7
568
#define ERROR_GUID_SUBSTITUTION_MADE 0x000002A8
569
#define ERROR_STOPPED_ON_SYMLINK 0x000002A9
570
#define ERROR_LONGJUMP 0x000002AA
571
#define ERROR_PLUGPLAY_QUERY_VETOED 0x000002AB
572
#define ERROR_UNWIND_CONSOLIDATE 0x000002AC
573
#define ERROR_REGISTRY_HIVE_RECOVERED 0x000002AD
574
#define ERROR_DLL_MIGHT_BE_INSECURE 0x000002AE
575
#define ERROR_DLL_MIGHT_BE_INCOMPATIBLE 0x000002AF
576
#define ERROR_DBG_EXCEPTION_NOT_HANDLED 0x000002B0
577
#define ERROR_DBG_REPLY_LATER 0x000002B1
578
#define ERROR_DBG_UNABLE_TO_PROVIDE_HANDLE 0x000002B2
579
#define ERROR_DBG_TERMINATE_THREAD 0x000002B3
580
#define ERROR_DBG_TERMINATE_PROCESS 0x000002B4
581
#define ERROR_DBG_CONTROL_C 0x000002B5
582
#define ERROR_DBG_PRINTEXCEPTION_C 0x000002B6
583
#define ERROR_DBG_RIPEXCEPTION 0x000002B7
584
#define ERROR_DBG_CONTROL_BREAK 0x000002B8
585
#define ERROR_DBG_COMMAND_EXCEPTION 0x000002B9
586
#define ERROR_OBJECT_NAME_EXISTS 0x000002BA
587
#define ERROR_THREAD_WAS_SUSPENDED 0x000002BB
588
#define ERROR_IMAGE_NOT_AT_BASE 0x000002BC
589
#define ERROR_RXACT_STATE_CREATED 0x000002BD
590
#define ERROR_SEGMENT_NOTIFICATION 0x000002BE
591
#define ERROR_BAD_CURRENT_DIRECTORY 0x000002BF
592
#define ERROR_FT_READ_RECOVERY_FROM_BACKUP 0x000002C0
593
#define ERROR_FT_WRITE_RECOVERY 0x000002C1
594
#define ERROR_IMAGE_MACHINE_TYPE_MISMATCH 0x000002C2
595
#define ERROR_RECEIVE_PARTIAL 0x000002C3
596
#define ERROR_RECEIVE_EXPEDITED 0x000002C4
597
#define ERROR_RECEIVE_PARTIAL_EXPEDITED 0x000002C5
598
#define ERROR_EVENT_DONE 0x000002C6
599
#define ERROR_EVENT_PENDING 0x000002C7
600
#define ERROR_CHECKING_FILE_SYSTEM 0x000002C8
601
#define ERROR_FATAL_APP_EXIT 0x000002C9
602
#define ERROR_PREDEFINED_HANDLE 0x000002CA
603
#define ERROR_WAS_UNLOCKED 0x000002CB
604
#define ERROR_SERVICE_NOTIFICATION 0x000002CC
605
#define ERROR_WAS_LOCKED 0x000002CD
606
#define ERROR_LOG_HARD_ERROR 0x000002CE
607
#define ERROR_ALREADY_WIN32 0x000002CF
608
#define ERROR_IMAGE_MACHINE_TYPE_MISMATCH_EXE 0x000002D0
609
#define ERROR_NO_YIELD_PERFORMED 0x000002D1
610
#define ERROR_TIMER_RESUME_IGNORED 0x000002D2
611
#define ERROR_ARBITRATION_UNHANDLED 0x000002D3
612
#define ERROR_CARDBUS_NOT_SUPPORTED 0x000002D4
613
#define ERROR_MP_PROCESSOR_MISMATCH 0x000002D5
614
#define ERROR_HIBERNATED 0x000002D6
615
#define ERROR_RESUME_HIBERNATION 0x000002D7
616
#define ERROR_FIRMWARE_UPDATED 0x000002D8
617
#define ERROR_DRIVERS_LEAKING_LOCKED_PAGES 0x000002D9
618
#define ERROR_WAKE_SYSTEM 0x000002DA
619
#define ERROR_WAIT_1 0x000002DB
620
#define ERROR_WAIT_2 0x000002DC
621
#define ERROR_WAIT_3 0x000002DD
622
#define ERROR_WAIT_63 0x000002DE
623
#define ERROR_ABANDONED_WAIT_0 0x000002DF
624
#define ERROR_ABANDONED_WAIT_63 0x000002E0
625
#define ERROR_USER_APC 0x000002E1
626
#define ERROR_KERNEL_APC 0x000002E2
627
#define ERROR_ALERTED 0x000002E3
628
#define ERROR_ELEVATION_REQUIRED 0x000002E4
629
#define ERROR_REPARSE 0x000002E5
630
#define ERROR_OPLOCK_BREAK_IN_PROGRESS 0x000002E6
631
#define ERROR_VOLUME_MOUNTED 0x000002E7
632
#define ERROR_RXACT_COMMITTED 0x000002E8
633
#define ERROR_NOTIFY_CLEANUP 0x000002E9
634
#define ERROR_PRIMARY_TRANSPORT_CONNECT_FAILED 0x000002EA
635
#define ERROR_PAGE_FAULT_TRANSITION 0x000002EB
636
#define ERROR_PAGE_FAULT_DEMAND_ZERO 0x000002EC
637
#define ERROR_PAGE_FAULT_COPY_ON_WRITE 0x000002ED
638
#define ERROR_PAGE_FAULT_GUARD_PAGE 0x000002EE
639
#define ERROR_PAGE_FAULT_PAGING_FILE 0x000002EF
640
#define ERROR_CACHE_PAGE_LOCKED 0x000002F0
641
#define ERROR_CRASH_DUMP 0x000002F1
642
#define ERROR_BUFFER_ALL_ZEROS 0x000002F2
643
#define ERROR_REPARSE_OBJECT 0x000002F3
644
#define ERROR_RESOURCE_REQUIREMENTS_CHANGED 0x000002F4
645
#define ERROR_TRANSLATION_COMPLETE 0x000002F5
646
#define ERROR_NOTHING_TO_TERMINATE 0x000002F6
647
#define ERROR_PROCESS_NOT_IN_JOB 0x000002F7
648
#define ERROR_PROCESS_IN_JOB 0x000002F8
649
#define ERROR_VOLSNAP_HIBERNATE_READY 0x000002F9
650
#define ERROR_FSFILTER_OP_COMPLETED_SUCCESSFULLY 0x000002FA
651
#define ERROR_INTERRUPT_VECTOR_ALREADY_CONNECTED 0x000002FB
652
#define ERROR_INTERRUPT_STILL_CONNECTED 0x000002FC
653
#define ERROR_WAIT_FOR_OPLOCK 0x000002FD
654
#define ERROR_DBG_EXCEPTION_HANDLED 0x000002FE
655
#define ERROR_DBG_CONTINUE 0x000002FF
656
#define ERROR_CALLBACK_POP_STACK 0x00000300
657
#define ERROR_COMPRESSION_DISABLED 0x00000301
658
#define ERROR_CANTFETCHBACKWARDS 0x00000302
659
#define ERROR_CANTSCROLLBACKWARDS 0x00000303
660
#define ERROR_ROWSNOTRELEASED 0x00000304
661
#define ERROR_BAD_ACCESSOR_FLAGS 0x00000305
662
#define ERROR_ERRORS_ENCOUNTERED 0x00000306
663
#define ERROR_NOT_CAPABLE 0x00000307
664
#define ERROR_REQUEST_OUT_OF_SEQUENCE 0x00000308
665
#define ERROR_VERSION_PARSE_ERROR 0x00000309
666
#define ERROR_BADSTARTPOSITION 0x0000030A
667
#define ERROR_MEMORY_HARDWARE 0x0000030B
668
#define ERROR_DISK_REPAIR_DISABLED 0x0000030C
669
#define ERROR_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE 0x0000030D
670
#define ERROR_SYSTEM_POWERSTATE_TRANSITION 0x0000030E
671
#define ERROR_SYSTEM_POWERSTATE_COMPLEX_TRANSITION 0x0000030F
672
#define ERROR_MCA_EXCEPTION 0x00000310
673
#define ERROR_ACCESS_AUDIT_BY_POLICY 0x00000311
674
#define ERROR_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY 0x00000312
675
#define ERROR_ABANDON_HIBERFILE 0x00000313
676
#define ERROR_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED 0x00000314
677
#define ERROR_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR 0x00000315
678
#define ERROR_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR 0x00000316
679
#define ERROR_BAD_MCFG_TABLE 0x00000317
680
#define ERROR_DISK_REPAIR_REDIRECTED 0x00000318
681
#define ERROR_DISK_REPAIR_UNSUCCESSFUL 0x00000319
682
#define ERROR_CORRUPT_LOG_OVERFULL 0x0000031A
683
#define ERROR_CORRUPT_LOG_CORRUPTED 0x0000031B
684
#define ERROR_CORRUPT_LOG_UNAVAILABLE 0x0000031C
685
#define ERROR_CORRUPT_LOG_DELETED_FULL 0x0000031D
686
#define ERROR_CORRUPT_LOG_CLEARED 0x0000031E
687
#define ERROR_ORPHAN_NAME_EXHAUSTED 0x0000031F
688
#define ERROR_OPLOCK_SWITCHED_TO_NEW_HANDLE 0x00000320
689
#define ERROR_CANNOT_GRANT_REQUESTED_OPLOCK 0x00000321
690
#define ERROR_CANNOT_BREAK_OPLOCK 0x00000322
691
#define ERROR_OPLOCK_HANDLE_CLOSED 0x00000323
692
#define ERROR_NO_ACE_CONDITION 0x00000324
693
#define ERROR_INVALID_ACE_CONDITION 0x00000325
694
#define ERROR_FILE_HANDLE_REVOKED 0x00000326
695
#define ERROR_IMAGE_AT_DIFFERENT_BASE 0x00000327
696
#define ERROR_EA_ACCESS_DENIED 0x000003E2
697
#define ERROR_OPERATION_ABORTED 0x000003E3
698
#define ERROR_IO_INCOMPLETE 0x000003E4
699
0
#define ERROR_IO_PENDING 0x000003E5
700
#define ERROR_NOACCESS 0x000003E6
701
#define ERROR_SWAPERROR 0x000003E7
702
703
/* System Error Codes (1000-1299) */
704
705
#define ERROR_STACK_OVERFLOW 0x000003E9
706
#define ERROR_INVALID_MESSAGE 0x000003EA
707
#define ERROR_CAN_NOT_COMPLETE 0x000003EB
708
#define ERROR_INVALID_FLAGS 0x000003EC
709
#define ERROR_UNRECOGNIZED_VOLUME 0x000003ED
710
#define ERROR_FILE_INVALID 0x000003EE
711
#define ERROR_FULLSCREEN_MODE 0x000003EF
712
#define ERROR_NO_TOKEN 0x000003F0
713
#define ERROR_BADDB 0x000003F1
714
#define ERROR_BADKEY 0x000003F2
715
#define ERROR_CANTOPEN 0x000003F3
716
#define ERROR_CANTREAD 0x000003F4
717
#define ERROR_CANTWRITE 0x000003F5
718
#define ERROR_REGISTRY_RECOVERED 0x000003F6
719
#define ERROR_REGISTRY_CORRUPT 0x000003F7
720
#define ERROR_REGISTRY_IO_FAILED 0x000003F8
721
#define ERROR_NOT_REGISTRY_FILE 0x000003F9
722
#define ERROR_KEY_DELETED 0x000003FA
723
#define ERROR_NO_LOG_SPACE 0x000003FB
724
#define ERROR_KEY_HAS_CHILDREN 0x000003FC
725
#define ERROR_CHILD_MUST_BE_VOLATILE 0x000003FD
726
#define ERROR_NOTIFY_ENUM_DIR 0x000003FE
727
#define ERROR_DEPENDENT_SERVICES_RUNNING 0x0000041B
728
#define ERROR_INVALID_SERVICE_CONTROL 0x0000041C
729
#define ERROR_SERVICE_REQUEST_TIMEOUT 0x0000041D
730
#define ERROR_SERVICE_NO_THREAD 0x0000041E
731
#define ERROR_SERVICE_DATABASE_LOCKED 0x0000041F
732
#define ERROR_SERVICE_ALREADY_RUNNING 0x00000420
733
#define ERROR_INVALID_SERVICE_ACCOUNT 0x00000421
734
#define ERROR_SERVICE_DISABLED 0x00000422
735
#define ERROR_CIRCULAR_DEPENDENCY 0x00000423
736
#define ERROR_SERVICE_DOES_NOT_EXIST 0x00000424
737
#define ERROR_SERVICE_CANNOT_ACCEPT_CTRL 0x00000425
738
#define ERROR_SERVICE_NOT_ACTIVE 0x00000426
739
#define ERROR_FAILED_SERVICE_CONTROLLER_CONNECT 0x00000427
740
#define ERROR_EXCEPTION_IN_SERVICE 0x00000428
741
#define ERROR_DATABASE_DOES_NOT_EXIST 0x00000429
742
#define ERROR_SERVICE_SPECIFIC_ERROR 0x0000042A
743
#define ERROR_PROCESS_ABORTED 0x0000042B
744
#define ERROR_SERVICE_DEPENDENCY_FAIL 0x0000042C
745
#define ERROR_SERVICE_LOGON_FAILED 0x0000042D
746
#define ERROR_SERVICE_START_HANG 0x0000042E
747
#define ERROR_INVALID_SERVICE_LOCK 0x0000042F
748
#define ERROR_SERVICE_MARKED_FOR_DELETE 0x00000430
749
#define ERROR_SERVICE_EXISTS 0x00000431
750
#define ERROR_ALREADY_RUNNING_LKG 0x00000432
751
#define ERROR_SERVICE_DEPENDENCY_DELETED 0x00000433
752
#define ERROR_BOOT_ALREADY_ACCEPTED 0x00000434
753
#define ERROR_SERVICE_NEVER_STARTED 0x00000435
754
#define ERROR_DUPLICATE_SERVICE_NAME 0x00000436
755
#define ERROR_DIFFERENT_SERVICE_ACCOUNT 0x00000437
756
#define ERROR_CANNOT_DETECT_DRIVER_FAILURE 0x00000438
757
#define ERROR_CANNOT_DETECT_PROCESS_ABORT 0x00000439
758
#define ERROR_NO_RECOVERY_PROGRAM 0x0000043A
759
#define ERROR_SERVICE_NOT_IN_EXE 0x0000043B
760
#define ERROR_NOT_SAFEBOOT_SERVICE 0x0000043C
761
#define ERROR_END_OF_MEDIA 0x0000044C
762
#define ERROR_FILEMARK_DETECTED 0x0000044D
763
#define ERROR_BEGINNING_OF_MEDIA 0x0000044E
764
#define ERROR_SETMARK_DETECTED 0x0000044F
765
#define ERROR_NO_DATA_DETECTED 0x00000450
766
#define ERROR_PARTITION_FAILURE 0x00000451
767
#define ERROR_INVALID_BLOCK_LENGTH 0x00000452
768
#define ERROR_DEVICE_NOT_PARTITIONED 0x00000453
769
#define ERROR_UNABLE_TO_LOCK_MEDIA 0x00000454
770
#define ERROR_UNABLE_TO_UNLOAD_MEDIA 0x00000455
771
#define ERROR_MEDIA_CHANGED 0x00000456
772
#define ERROR_BUS_RESET 0x00000457
773
#define ERROR_NO_MEDIA_IN_DRIVE 0x00000458
774
#define ERROR_NO_UNICODE_TRANSLATION 0x00000459
775
0
#define ERROR_DLL_INIT_FAILED 0x0000045A
776
#define ERROR_SHUTDOWN_IN_PROGRESS 0x0000045B
777
#define ERROR_NO_SHUTDOWN_IN_PROGRESS 0x0000045C
778
0
#define ERROR_IO_DEVICE 0x0000045D
779
#define ERROR_SERIAL_NO_DEVICE 0x0000045E
780
#define ERROR_IRQ_BUSY 0x0000045F
781
#define ERROR_MORE_WRITES 0x00000460
782
#define ERROR_COUNTER_TIMEOUT 0x00000461
783
#define ERROR_FLOPPY_ID_MARK_NOT_FOUND 0x00000462
784
#define ERROR_FLOPPY_WRONG_CYLINDER 0x00000463
785
#define ERROR_FLOPPY_UNKNOWN_ERROR 0x00000464
786
#define ERROR_FLOPPY_BAD_REGISTERS 0x00000465
787
#define ERROR_DISK_RECALIBRATE_FAILED 0x00000466
788
#define ERROR_DISK_OPERATION_FAILED 0x00000467
789
#define ERROR_DISK_RESET_FAILED 0x00000468
790
#define ERROR_EOM_OVERFLOW 0x00000469
791
0
#define ERROR_NOT_ENOUGH_SERVER_MEMORY 0x0000046A
792
#define ERROR_POSSIBLE_DEADLOCK 0x0000046B
793
#define ERROR_MAPPED_ALIGNMENT 0x0000046C
794
#define ERROR_SET_POWER_STATE_VETOED 0x00000474
795
#define ERROR_SET_POWER_STATE_FAILED 0x00000475
796
#define ERROR_TOO_MANY_LINKS 0x00000476
797
#define ERROR_OLD_WIN_VERSION 0x0000047E
798
#define ERROR_APP_WRONG_OS 0x0000047F
799
#define ERROR_SINGLE_INSTANCE_APP 0x00000480
800
#define ERROR_RMODE_APP 0x00000481
801
#define ERROR_INVALID_DLL 0x00000482
802
#define ERROR_NO_ASSOCIATION 0x00000483
803
#define ERROR_DDE_FAIL 0x00000484
804
#define ERROR_DLL_NOT_FOUND 0x00000485
805
#define ERROR_NO_MORE_USER_HANDLES 0x00000486
806
#define ERROR_MESSAGE_SYNC_ONLY 0x00000487
807
#define ERROR_SOURCE_ELEMENT_EMPTY 0x00000488
808
#define ERROR_DESTINATION_ELEMENT_FULL 0x00000489
809
#define ERROR_ILLEGAL_ELEMENT_ADDRESS 0x0000048A
810
#define ERROR_MAGAZINE_NOT_PRESENT 0x0000048B
811
#define ERROR_DEVICE_REINITIALIZATION_NEEDED 0x0000048C
812
#define ERROR_DEVICE_REQUIRES_CLEANING 0x0000048D
813
#define ERROR_DEVICE_DOOR_OPEN 0x0000048E
814
#define ERROR_DEVICE_NOT_CONNECTED 0x0000048F
815
0
#define ERROR_NOT_FOUND 0x00000490
816
#define ERROR_NO_MATCH 0x00000491
817
#define ERROR_SET_NOT_FOUND 0x00000492
818
#define ERROR_POINT_NOT_FOUND 0x00000493
819
#define ERROR_NO_TRACKING_SERVICE 0x00000494
820
#define ERROR_NO_VOLUME_ID 0x00000495
821
#define ERROR_UNABLE_TO_REMOVE_REPLACED 0x00000497
822
#define ERROR_UNABLE_TO_MOVE_REPLACEMENT 0x00000498
823
#define ERROR_UNABLE_TO_MOVE_REPLACEMENT_2 0x00000499
824
#define ERROR_JOURNAL_DELETE_IN_PROGRESS 0x0000049A
825
#define ERROR_JOURNAL_NOT_ACTIVE 0x0000049B
826
#define ERROR_POTENTIAL_FILE_FOUND 0x0000049C
827
#define ERROR_JOURNAL_ENTRY_DELETED 0x0000049D
828
#define ERROR_SHUTDOWN_IS_SCHEDULED 0x000004A6
829
#define ERROR_SHUTDOWN_USERS_LOGGED_ON 0x000004A7
830
0
#define ERROR_BAD_DEVICE 0x000004B0
831
#define ERROR_CONNECTION_UNAVAIL 0x000004B1
832
#define ERROR_DEVICE_ALREADY_REMEMBERED 0x000004B2
833
#define ERROR_NO_NET_OR_BAD_PATH 0x000004B3
834
#define ERROR_BAD_PROVIDER 0x000004B4
835
#define ERROR_CANNOT_OPEN_PROFILE 0x000004B5
836
#define ERROR_BAD_PROFILE 0x000004B6
837
#define ERROR_NOT_CONTAINER 0x000004B7
838
#define ERROR_EXTENDED_ERROR 0x000004B8
839
#define ERROR_INVALID_GROUPNAME 0x000004B9
840
#define ERROR_INVALID_COMPUTERNAME 0x000004BA
841
#define ERROR_INVALID_EVENTNAME 0x000004BB
842
#define ERROR_INVALID_DOMAINNAME 0x000004BC
843
#define ERROR_INVALID_SERVICENAME 0x000004BD
844
#define ERROR_INVALID_NETNAME 0x000004BE
845
#define ERROR_INVALID_SHARENAME 0x000004BF
846
#define ERROR_INVALID_PASSWORDNAME 0x000004C0
847
#define ERROR_INVALID_MESSAGENAME 0x000004C1
848
#define ERROR_INVALID_MESSAGEDEST 0x000004C2
849
#define ERROR_SESSION_CREDENTIAL_CONFLICT 0x000004C3
850
#define ERROR_REMOTE_SESSION_LIMIT_EXCEEDED 0x000004C4
851
#define ERROR_DUP_DOMAINNAME 0x000004C5
852
#define ERROR_NO_NETWORK 0x000004C6
853
0
#define ERROR_CANCELLED 0x000004C7
854
#define ERROR_USER_MAPPED_FILE 0x000004C8
855
#define ERROR_CONNECTION_REFUSED 0x000004C9
856
#define ERROR_GRACEFUL_DISCONNECT 0x000004CA
857
#define ERROR_ADDRESS_ALREADY_ASSOCIATED 0x000004CB
858
#define ERROR_ADDRESS_NOT_ASSOCIATED 0x000004CC
859
#define ERROR_CONNECTION_INVALID 0x000004CD
860
#define ERROR_CONNECTION_ACTIVE 0x000004CE
861
#define ERROR_NETWORK_UNREACHABLE 0x000004CF
862
#define ERROR_HOST_UNREACHABLE 0x000004D0
863
#define ERROR_PROTOCOL_UNREACHABLE 0x000004D1
864
#define ERROR_PORT_UNREACHABLE 0x000004D2
865
#define ERROR_REQUEST_ABORTED 0x000004D3
866
#define ERROR_CONNECTION_ABORTED 0x000004D4
867
#define ERROR_RETRY 0x000004D5
868
#define ERROR_CONNECTION_COUNT_LIMIT 0x000004D6
869
#define ERROR_LOGIN_TIME_RESTRICTION 0x000004D7
870
#define ERROR_LOGIN_WKSTA_RESTRICTION 0x000004D8
871
#define ERROR_INCORRECT_ADDRESS 0x000004D9
872
#define ERROR_ALREADY_REGISTERED 0x000004DA
873
#define ERROR_SERVICE_NOT_FOUND 0x000004DB
874
#define ERROR_NOT_AUTHENTICATED 0x000004DC
875
#define ERROR_NOT_LOGGED_ON 0x000004DD
876
#define ERROR_CONTINUE 0x000004DE
877
#define ERROR_ALREADY_INITIALIZED 0x000004DF
878
#define ERROR_NO_MORE_DEVICES 0x000004E0
879
#define ERROR_NO_SUCH_SITE 0x000004E1
880
#define ERROR_DOMAIN_CONTROLLER_EXISTS 0x000004E2
881
#define ERROR_ONLY_IF_CONNECTED 0x000004E3
882
#define ERROR_OVERRIDE_NOCHANGES 0x000004E4
883
#define ERROR_BAD_USER_PROFILE 0x000004E5
884
#define ERROR_NOT_SUPPORTED_ON_SBS 0x000004E6
885
#define ERROR_SERVER_SHUTDOWN_IN_PROGRESS 0x000004E7
886
#define ERROR_HOST_DOWN 0x000004E8
887
#define ERROR_NON_ACCOUNT_SID 0x000004E9
888
#define ERROR_NON_DOMAIN_SID 0x000004EA
889
#define ERROR_APPHELP_BLOCK 0x000004EB
890
#define ERROR_ACCESS_DISABLED_BY_POLICY 0x000004EC
891
#define ERROR_REG_NAT_CONSUMPTION 0x000004ED
892
#define ERROR_CSCSHARE_OFFLINE 0x000004EE
893
#define ERROR_PKINIT_FAILURE 0x000004EF
894
#define ERROR_SMARTCARD_SUBSYSTEM_FAILURE 0x000004F0
895
#define ERROR_DOWNGRADE_DETECTED 0x000004F1
896
#define ERROR_MACHINE_LOCKED 0x000004F7
897
#define ERROR_CALLBACK_SUPPLIED_INVALID_DATA 0x000004F9
898
#define ERROR_SYNC_FOREGROUND_REFRESH_REQUIRED 0x000004FA
899
#define ERROR_DRIVER_BLOCKED 0x000004FB
900
#define ERROR_INVALID_IMPORT_OF_NON_DLL 0x000004FC
901
#define ERROR_ACCESS_DISABLED_WEBBLADE 0x000004FD
902
#define ERROR_ACCESS_DISABLED_WEBBLADE_TAMPER 0x000004FE
903
#define ERROR_RECOVERY_FAILURE 0x000004FF
904
#define ERROR_ALREADY_FIBER 0x00000500
905
#define ERROR_ALREADY_THREAD 0x00000501
906
#define ERROR_STACK_BUFFER_OVERRUN 0x00000502
907
#define ERROR_PARAMETER_QUOTA_EXCEEDED 0x00000503
908
#define ERROR_DEBUGGER_INACTIVE 0x00000504
909
#define ERROR_DELAY_LOAD_FAILED 0x00000505
910
#define ERROR_VDM_DISALLOWED 0x00000506
911
#define ERROR_UNIDENTIFIED_ERROR 0x00000507
912
#define ERROR_INVALID_CRUNTIME_PARAMETER 0x00000508
913
#define ERROR_BEYOND_VDL 0x00000509
914
#define ERROR_INCOMPATIBLE_SERVICE_SID_TYPE 0x0000050A
915
#define ERROR_DRIVER_PROCESS_TERMINATED 0x0000050B
916
#define ERROR_IMPLEMENTATION_LIMIT 0x0000050C
917
#define ERROR_PROCESS_IS_PROTECTED 0x0000050D
918
#define ERROR_SERVICE_NOTIFY_CLIENT_LAGGING 0x0000050E
919
#define ERROR_DISK_QUOTA_EXCEEDED 0x0000050F
920
#define ERROR_CONTENT_BLOCKED 0x00000510
921
#define ERROR_INCOMPATIBLE_SERVICE_PRIVILEGE 0x00000511
922
#define ERROR_APP_HANG 0x00000512
923
#define ERROR_INVALID_LABEL 0x00000513
924
925
/* System Error Codes (1300-1699) */
926
#define ERROR_NOT_ALL_ASSIGNED 0x00000514
927
#define ERROR_SOME_NOT_MAPPED 0x00000515
928
#define ERROR_NO_QUOTAS_FOR_ACCOUNT 0x00000516
929
#define ERROR_LOCAL_USER_SESSION_KEY 0x00000517
930
#define ERROR_NULL_LM_PASSWORD 0x00000518
931
#define ERROR_UNKNOWN_REVISION 0x00000519
932
#define ERROR_REVISION_MISMATCH 0x0000051A
933
#define ERROR_INVALID_OWNER 0x0000051B
934
#define ERROR_INVALID_PRIMARY_GROUP 0x0000051C
935
#define ERROR_NO_IMPERSONATION_TOKEN 0x0000051D
936
#define ERROR_CANT_DISABLE_MANDATORY 0x0000051E
937
#define ERROR_NO_LOGON_SERVERS 0x0000051F
938
#define ERROR_NO_SUCH_LOGON_SESSION 0x00000520
939
#define ERROR_NO_SUCH_PRIVILEGE 0x00000521
940
#define ERROR_PRIVILEGE_NOT_HELD 0x00000522
941
#define ERROR_INVALID_ACCOUNT_NAME 0x00000523
942
#define ERROR_USER_EXISTS 0x00000524
943
#define ERROR_NO_SUCH_USER 0x00000525
944
#define ERROR_GROUP_EXISTS 0x00000526
945
#define ERROR_NO_SUCH_GROUP 0x00000527
946
#define ERROR_MEMBER_IN_GROUP 0x00000528
947
#define ERROR_MEMBER_NOT_IN_GROUP 0x00000529
948
#define ERROR_LAST_ADMIN 0x0000052A
949
#define ERROR_WRONG_PASSWORD 0x0000052B
950
#define ERROR_ILL_FORMED_PASSWORD 0x0000052C
951
#define ERROR_PASSWORD_RESTRICTION 0x0000052D
952
#define ERROR_LOGON_FAILURE 0x0000052E
953
#define ERROR_ACCOUNT_RESTRICTION 0x0000052F
954
#define ERROR_INVALID_LOGON_HOURS 0x00000530
955
#define ERROR_INVALID_WORKSTATION 0x00000531
956
0
#define ERROR_PASSWORD_EXPIRED 0x00000532
957
0
#define ERROR_ACCOUNT_DISABLED 0x00000533
958
#define ERROR_NONE_MAPPED 0x00000534
959
#define ERROR_TOO_MANY_LUIDS_REQUESTED 0x00000535
960
#define ERROR_LUIDS_EXHAUSTED 0x00000536
961
#define ERROR_INVALID_SUB_AUTHORITY 0x00000537
962
#define ERROR_INVALID_ACL 0x00000538
963
#define ERROR_INVALID_SID 0x00000539
964
#define ERROR_INVALID_SECURITY_DESCR 0x0000053A
965
#define ERROR_BAD_INHERITANCE_ACL 0x0000053C
966
#define ERROR_SERVER_DISABLED 0x0000053D
967
#define ERROR_SERVER_NOT_DISABLED 0x0000053E
968
#define ERROR_INVALID_ID_AUTHORITY 0x0000053F
969
#define ERROR_ALLOTTED_SPACE_EXCEEDED 0x00000540
970
#define ERROR_INVALID_GROUP_ATTRIBUTES 0x00000541
971
#define ERROR_BAD_IMPERSONATION_LEVEL 0x00000542
972
#define ERROR_CANT_OPEN_ANONYMOUS 0x00000543
973
#define ERROR_BAD_VALIDATION_CLASS 0x00000544
974
#define ERROR_BAD_TOKEN_TYPE 0x00000545
975
#define ERROR_NO_SECURITY_ON_OBJECT 0x00000546
976
#define ERROR_CANT_ACCESS_DOMAIN_INFO 0x00000547
977
#define ERROR_INVALID_SERVER_STATE 0x00000548
978
#define ERROR_INVALID_DOMAIN_STATE 0x00000549
979
#define ERROR_INVALID_DOMAIN_ROLE 0x0000054A
980
#define ERROR_NO_SUCH_DOMAIN 0x0000054B
981
#define ERROR_DOMAIN_EXISTS 0x0000054C
982
#define ERROR_DOMAIN_LIMIT_EXCEEDED 0x0000054D
983
#define ERROR_INTERNAL_DB_CORRUPTION 0x0000054E
984
0
#define ERROR_INTERNAL_ERROR 0x0000054F
985
#define ERROR_GENERIC_NOT_MAPPED 0x00000550
986
#define ERROR_BAD_DESCRIPTOR_FORMAT 0x00000551
987
#define ERROR_NOT_LOGON_PROCESS 0x00000552
988
#define ERROR_LOGON_SESSION_EXISTS 0x00000553
989
#define ERROR_NO_SUCH_PACKAGE 0x00000554
990
#define ERROR_BAD_LOGON_SESSION_STATE 0x00000555
991
#define ERROR_LOGON_SESSION_COLLISION 0x00000556
992
#define ERROR_INVALID_LOGON_TYPE 0x00000557
993
#define ERROR_CANNOT_IMPERSONATE 0x00000558
994
#define ERROR_RXACT_INVALID_STATE 0x00000559
995
#define ERROR_RXACT_COMMIT_FAILURE 0x0000055A
996
#define ERROR_SPECIAL_ACCOUNT 0x0000055B
997
#define ERROR_SPECIAL_GROUP 0x0000055C
998
#define ERROR_SPECIAL_USER 0x0000055D
999
#define ERROR_MEMBERS_PRIMARY_GROUP 0x0000055E
1000
#define ERROR_TOKEN_ALREADY_IN_USE 0x0000055F
1001
#define ERROR_NO_SUCH_ALIAS 0x00000560
1002
#define ERROR_MEMBER_NOT_IN_ALIAS 0x00000561
1003
#define ERROR_MEMBER_IN_ALIAS 0x00000562
1004
#define ERROR_ALIAS_EXISTS 0x00000563
1005
#define ERROR_LOGON_NOT_GRANTED 0x00000564
1006
#define ERROR_TOO_MANY_SECRETS 0x00000565
1007
#define ERROR_SECRET_TOO_LONG 0x00000566
1008
#define ERROR_INTERNAL_DB_ERROR 0x00000567
1009
#define ERROR_TOO_MANY_CONTEXT_IDS 0x00000568
1010
#define ERROR_LOGON_TYPE_NOT_GRANTED 0x00000569
1011
#define ERROR_NT_CROSS_ENCRYPTION_REQUIRED 0x0000056A
1012
#define ERROR_NO_SUCH_MEMBER 0x0000056B
1013
#define ERROR_INVALID_MEMBER 0x0000056C
1014
#define ERROR_TOO_MANY_SIDS 0x0000056D
1015
#define ERROR_LM_CROSS_ENCRYPTION_REQUIRED 0x0000056E
1016
#define ERROR_NO_INHERITANCE 0x0000056F
1017
#define ERROR_FILE_CORRUPT 0x00000570
1018
#define ERROR_DISK_CORRUPT 0x00000571
1019
#define ERROR_NO_USER_SESSION_KEY 0x00000572
1020
#define ERROR_LICENSE_QUOTA_EXCEEDED 0x00000573
1021
#define ERROR_WRONG_TARGET_NAME 0x00000574
1022
#define ERROR_MUTUAL_AUTH_FAILED 0x00000575
1023
#define ERROR_TIME_SKEW 0x00000576
1024
#define ERROR_CURRENT_DOMAIN_NOT_ALLOWED 0x00000577
1025
#define ERROR_INVALID_WINDOW_HANDLE 0x00000578
1026
#define ERROR_INVALID_MENU_HANDLE 0x00000579
1027
#define ERROR_INVALID_CURSOR_HANDLE 0x0000057A
1028
#define ERROR_INVALID_ACCEL_HANDLE 0x0000057B
1029
#define ERROR_INVALID_HOOK_HANDLE 0x0000057C
1030
#define ERROR_INVALID_DWP_HANDLE 0x0000057D
1031
#define ERROR_TLW_WITH_WSCHILD 0x0000057E
1032
#define ERROR_CANNOT_FIND_WND_CLASS 0x0000057F
1033
#define ERROR_WINDOW_OF_OTHER_THREAD 0x00000580
1034
#define ERROR_HOTKEY_ALREADY_REGISTERED 0x00000581
1035
#define ERROR_CLASS_ALREADY_EXISTS 0x00000582
1036
#define ERROR_CLASS_DOES_NOT_EXIST 0x00000583
1037
#define ERROR_CLASS_HAS_WINDOWS 0x00000584
1038
#define ERROR_INVALID_INDEX 0x00000585
1039
#define ERROR_INVALID_ICON_HANDLE 0x00000586
1040
#define ERROR_PRIVATE_DIALOG_INDEX 0x00000587
1041
#define ERROR_LISTBOX_ID_NOT_FOUND 0x00000588
1042
#define ERROR_NO_WILDCARD_CHARACTERS 0x00000589
1043
#define ERROR_CLIPBOARD_NOT_OPEN 0x0000058A
1044
#define ERROR_HOTKEY_NOT_REGISTERED 0x0000058B
1045
#define ERROR_WINDOW_NOT_DIALOG 0x0000058C
1046
#define ERROR_CONTROL_ID_NOT_FOUND 0x0000058D
1047
#define ERROR_INVALID_COMBOBOX_MESSAGE 0x0000058E
1048
#define ERROR_WINDOW_NOT_COMBOBOX 0x0000058F
1049
#define ERROR_INVALID_EDIT_HEIGHT 0x00000590
1050
#define ERROR_DC_NOT_FOUND 0x00000591
1051
#define ERROR_INVALID_HOOK_FILTER 0x00000592
1052
#define ERROR_INVALID_FILTER_PROC 0x00000593
1053
#define ERROR_HOOK_NEEDS_HMOD 0x00000594
1054
#define ERROR_GLOBAL_ONLY_HOOK 0x00000595
1055
#define ERROR_JOURNAL_HOOK_SET 0x00000596
1056
#define ERROR_HOOK_NOT_INSTALLED 0x00000597
1057
#define ERROR_INVALID_LB_MESSAGE 0x00000598
1058
#define ERROR_SETCOUNT_ON_BAD_LB 0x00000599
1059
#define ERROR_LB_WITHOUT_TABSTOPS 0x0000059A
1060
#define ERROR_DESTROY_OBJECT_OF_OTHER_THREAD 0x0000059B
1061
#define ERROR_CHILD_WINDOW_MENU 0x0000059C
1062
#define ERROR_NO_SYSTEM_MENU 0x0000059D
1063
#define ERROR_INVALID_MSGBOX_STYLE 0x0000059E
1064
#define ERROR_INVALID_SPI_VALUE 0x0000059F
1065
#define ERROR_SCREEN_ALREADY_LOCKED 0x000005A0
1066
#define ERROR_HWNDS_HAVE_DIFF_PARENT 0x000005A1
1067
#define ERROR_NOT_CHILD_WINDOW 0x000005A2
1068
#define ERROR_INVALID_GW_COMMAND 0x000005A3
1069
#define ERROR_INVALID_THREAD_ID 0x000005A4
1070
#define ERROR_NON_MDICHILD_WINDOW 0x000005A5
1071
#define ERROR_POPUP_ALREADY_ACTIVE 0x000005A6
1072
#define ERROR_NO_SCROLLBARS 0x000005A7
1073
#define ERROR_INVALID_SCROLLBAR_RANGE 0x000005A8
1074
#define ERROR_INVALID_SHOWWIN_COMMAND 0x000005A9
1075
#define ERROR_NO_SYSTEM_RESOURCES 0x000005AA
1076
#define ERROR_NONPAGED_SYSTEM_RESOURCES 0x000005AB
1077
#define ERROR_PAGED_SYSTEM_RESOURCES 0x000005AC
1078
#define ERROR_WORKING_SET_QUOTA 0x000005AD
1079
#define ERROR_PAGEFILE_QUOTA 0x000005AE
1080
#define ERROR_COMMITMENT_LIMIT 0x000005AF
1081
#define ERROR_MENU_ITEM_NOT_FOUND 0x000005B0
1082
#define ERROR_INVALID_KEYBOARD_HANDLE 0x000005B1
1083
#define ERROR_HOOK_TYPE_NOT_ALLOWED 0x000005B2
1084
#define ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION 0x000005B3
1085
0
#define ERROR_TIMEOUT 0x000005B4
1086
#define ERROR_INVALID_MONITOR_HANDLE 0x000005B5
1087
#define ERROR_INCORRECT_SIZE 0x000005B6
1088
#define ERROR_SYMLINK_CLASS_DISABLED 0x000005B7
1089
#define ERROR_SYMLINK_NOT_SUPPORTED 0x000005B8
1090
#define ERROR_XML_PARSE_ERROR 0x000005B9
1091
#define ERROR_XMLDSIG_ERROR 0x000005BA
1092
#define ERROR_RESTART_APPLICATION 0x000005BB
1093
#define ERROR_WRONG_COMPARTMENT 0x000005BC
1094
#define ERROR_AUTHIP_FAILURE 0x000005BD
1095
#define ERROR_NO_NVRAM_RESOURCES 0x000005BE
1096
#define ERROR_NOT_GUI_PROCESS 0x000005BF
1097
#define ERROR_EVENTLOG_FILE_CORRUPT 0x000005DC
1098
#define ERROR_EVENTLOG_CANT_START 0x000005DD
1099
#define ERROR_LOG_FILE_FULL 0x000005DE
1100
#define ERROR_EVENTLOG_FILE_CHANGED 0x000005DF
1101
#define ERROR_INVALID_TASK_NAME 0x0000060E
1102
#define ERROR_INVALID_TASK_INDEX 0x0000060F
1103
#define ERROR_THREAD_ALREADY_IN_TASK 0x00000610
1104
#define ERROR_INSTALL_SERVICE_FAILURE 0x00000641
1105
#define ERROR_INSTALL_USEREXIT 0x00000642
1106
#define ERROR_INSTALL_FAILURE 0x00000643
1107
#define ERROR_INSTALL_SUSPEND 0x00000644
1108
#define ERROR_UNKNOWN_PRODUCT 0x00000645
1109
#define ERROR_UNKNOWN_FEATURE 0x00000646
1110
#define ERROR_UNKNOWN_COMPONENT 0x00000647
1111
#define ERROR_UNKNOWN_PROPERTY 0x00000648
1112
#define ERROR_INVALID_HANDLE_STATE 0x00000649
1113
#define ERROR_BAD_CONFIGURATION 0x0000064A
1114
#define ERROR_INDEX_ABSENT 0x0000064B
1115
#define ERROR_INSTALL_SOURCE_ABSENT 0x0000064C
1116
#define ERROR_INSTALL_PACKAGE_VERSION 0x0000064D
1117
#define ERROR_PRODUCT_UNINSTALLED 0x0000064E
1118
#define ERROR_BAD_QUERY_SYNTAX 0x0000064F
1119
#define ERROR_INVALID_FIELD 0x00000650
1120
#define ERROR_DEVICE_REMOVED 0x00000651
1121
#define ERROR_INSTALL_ALREADY_RUNNING 0x00000652
1122
#define ERROR_INSTALL_PACKAGE_OPEN_FAILED 0x00000653
1123
#define ERROR_INSTALL_PACKAGE_INVALID 0x00000654
1124
#define ERROR_INSTALL_UI_FAILURE 0x00000655
1125
#define ERROR_INSTALL_LOG_FAILURE 0x00000656
1126
#define ERROR_INSTALL_LANGUAGE_UNSUPPORTED 0x00000657
1127
#define ERROR_INSTALL_TRANSFORM_FAILURE 0x00000658
1128
#define ERROR_INSTALL_PACKAGE_REJECTED 0x00000659
1129
#define ERROR_FUNCTION_NOT_CALLED 0x0000065A
1130
#define ERROR_FUNCTION_FAILED 0x0000065B
1131
#define ERROR_INVALID_TABLE 0x0000065C
1132
#define ERROR_DATATYPE_MISMATCH 0x0000065D
1133
#define ERROR_UNSUPPORTED_TYPE 0x0000065E
1134
#define ERROR_CREATE_FAILED 0x0000065F
1135
#define ERROR_INSTALL_TEMP_UNWRITABLE 0x00000660
1136
#define ERROR_INSTALL_PLATFORM_UNSUPPORTED 0x00000661
1137
#define ERROR_INSTALL_NOTUSED 0x00000662
1138
#define ERROR_PATCH_PACKAGE_OPEN_FAILED 0x00000663
1139
#define ERROR_PATCH_PACKAGE_INVALID 0x00000664
1140
#define ERROR_PATCH_PACKAGE_UNSUPPORTED 0x00000665
1141
#define ERROR_PRODUCT_VERSION 0x00000666
1142
#define ERROR_INVALID_COMMAND_LINE 0x00000667
1143
#define ERROR_INSTALL_REMOTE_DISALLOWED 0x00000668
1144
#define ERROR_SUCCESS_REBOOT_INITIATED 0x00000669
1145
#define ERROR_PATCH_TARGET_NOT_FOUND 0x0000066A
1146
#define ERROR_PATCH_PACKAGE_REJECTED 0x0000066B
1147
#define ERROR_INSTALL_TRANSFORM_REJECTED 0x0000066C
1148
#define ERROR_INSTALL_REMOTE_PROHIBITED 0x0000066D
1149
#define ERROR_PATCH_REMOVAL_UNSUPPORTED 0x0000066E
1150
#define ERROR_UNKNOWN_PATCH 0x0000066F
1151
#define ERROR_PATCH_NO_SEQUENCE 0x00000670
1152
#define ERROR_PATCH_REMOVAL_DISALLOWED 0x00000671
1153
#define ERROR_INVALID_PATCH_XML 0x00000672
1154
#define ERROR_PATCH_MANAGED_ADVERTISED_PRODUCT 0x00000673
1155
#define ERROR_INSTALL_SERVICE_SAFEBOOT 0x00000674
1156
#define ERROR_FAIL_FAST_EXCEPTION 0x00000675
1157
#define ERROR_INSTALL_REJECTED 0x00000676
1158
1159
/* System Error Codes (1700-3999) */
1160
1161
#define RPC_S_INVALID_STRING_BINDING 0x000006A4
1162
#define RPC_S_WRONG_KIND_OF_BINDING 0x000006A5
1163
#define RPC_S_INVALID_BINDING 0x000006A6
1164
#define RPC_S_PROTSEQ_NOT_SUPPORTED 0x000006A7
1165
#define RPC_S_INVALID_RPC_PROTSEQ 0x000006A8
1166
0
#define RPC_S_INVALID_STRING_UUID 0x000006A9
1167
#define RPC_S_INVALID_ENDPOINT_FORMAT 0x000006AA
1168
#define RPC_S_INVALID_NET_ADDR 0x000006AB
1169
#define RPC_S_NO_ENDPOINT_FOUND 0x000006AC
1170
#define RPC_S_INVALID_TIMEOUT 0x000006AD
1171
#define RPC_S_OBJECT_NOT_FOUND 0x000006AE
1172
#define RPC_S_ALREADY_REGISTERED 0x000006AF
1173
#define RPC_S_TYPE_ALREADY_REGISTERED 0x000006B0
1174
#define RPC_S_ALREADY_LISTENING 0x000006B1
1175
#define RPC_S_NO_PROTSEQS_REGISTERED 0x000006B2
1176
#define RPC_S_NOT_LISTENING 0x000006B3
1177
#define RPC_S_UNKNOWN_MGR_TYPE 0x000006B4
1178
0
#define RPC_S_UNKNOWN_IF 0x000006B5
1179
#define RPC_S_NO_BINDINGS 0x000006B6
1180
#define RPC_S_NO_PROTSEQS 0x000006B7
1181
#define RPC_S_CANT_CREATE_ENDPOINT 0x000006B8
1182
#define RPC_S_OUT_OF_RESOURCES 0x000006B9
1183
#define RPC_S_SERVER_UNAVAILABLE 0x000006BA
1184
0
#define RPC_S_SERVER_TOO_BUSY 0x000006BB
1185
#define RPC_S_INVALID_NETWORK_OPTIONS 0x000006BC
1186
#define RPC_S_NO_CALL_ACTIVE 0x000006BD
1187
0
#define RPC_S_CALL_FAILED 0x000006BE
1188
0
#define RPC_S_CALL_FAILED_DNE 0x000006BF
1189
0
#define RPC_S_PROTOCOL_ERROR 0x000006C0
1190
#define RPC_S_PROXY_ACCESS_DENIED 0x000006C1
1191
#define RPC_S_UNSUPPORTED_TRANS_SYN 0x000006C2
1192
0
#define RPC_S_UNSUPPORTED_TYPE 0x000006C4
1193
0
#define RPC_S_INVALID_TAG 0x000006C5
1194
0
#define RPC_S_INVALID_BOUND 0x000006C6
1195
#define RPC_S_NO_ENTRY_NAME 0x000006C7
1196
#define RPC_S_INVALID_NAME_SYNTAX 0x000006C8
1197
#define RPC_S_UNSUPPORTED_NAME_SYNTAX 0x000006C9
1198
#define RPC_S_UUID_NO_ADDRESS 0x000006CB
1199
#define RPC_S_DUPLICATE_ENDPOINT 0x000006CC
1200
#define RPC_S_UNKNOWN_AUTHN_TYPE 0x000006CD
1201
#define RPC_S_MAX_CALLS_TOO_SMALL 0x000006CE
1202
#define RPC_S_STRING_TOO_LONG 0x000006CF
1203
#define RPC_S_PROTSEQ_NOT_FOUND 0x000006D0
1204
0
#define RPC_S_PROCNUM_OUT_OF_RANGE 0x000006D1
1205
#define RPC_S_BINDING_HAS_NO_AUTH 0x000006D2
1206
#define RPC_S_UNKNOWN_AUTHN_SERVICE 0x000006D3
1207
#define RPC_S_UNKNOWN_AUTHN_LEVEL 0x000006D4
1208
#define RPC_S_INVALID_AUTH_IDENTITY 0x000006D5
1209
#define RPC_S_UNKNOWN_AUTHZ_SERVICE 0x000006D6
1210
#define EPT_S_INVALID_ENTRY 0x000006D7
1211
#define EPT_S_CANT_PERFORM_OP 0x000006D8
1212
#define EPT_S_NOT_REGISTERED 0x000006D9
1213
#define RPC_S_NOTHING_TO_EXPORT 0x000006DA
1214
#define RPC_S_INCOMPLETE_NAME 0x000006DB
1215
#define RPC_S_INVALID_VERS_OPTION 0x000006DC
1216
#define RPC_S_NO_MORE_MEMBERS 0x000006DD
1217
#define RPC_S_NOT_ALL_OBJS_UNEXPORTED 0x000006DE
1218
#define RPC_S_INTERFACE_NOT_FOUND 0x000006DF
1219
#define RPC_S_ENTRY_ALREADY_EXISTS 0x000006E0
1220
#define RPC_S_ENTRY_NOT_FOUND 0x000006E1
1221
#define RPC_S_NAME_SERVICE_UNAVAILABLE 0x000006E2
1222
#define RPC_S_INVALID_NAF_ID 0x000006E3
1223
#define RPC_S_CANNOT_SUPPORT 0x000006E4
1224
#define RPC_S_NO_CONTEXT_AVAILABLE 0x000006E5
1225
#define RPC_S_INTERNAL_ERROR 0x000006E6
1226
0
#define RPC_S_ZERO_DIVIDE 0x000006E7
1227
0
#define RPC_S_ADDRESS_ERROR 0x000006E8
1228
0
#define RPC_S_FP_DIV_ZERO 0x000006E9
1229
0
#define RPC_S_FP_UNDERFLOW 0x000006EA
1230
0
#define RPC_S_FP_OVERFLOW 0x000006EB
1231
#define RPC_X_NO_MORE_ENTRIES 0x000006EC
1232
#define RPC_X_SS_CHAR_TRANS_OPEN_FAIL 0x000006ED
1233
#define RPC_X_SS_CHAR_TRANS_SHORT_FILE 0x000006EE
1234
#define RPC_X_SS_IN_NULL_CONTEXT 0x000006EF
1235
#define RPC_X_SS_CONTEXT_DAMAGED 0x000006F1
1236
#define RPC_X_SS_HANDLES_MISMATCH 0x000006F2
1237
#define RPC_X_SS_CANNOT_GET_CALL_HANDLE 0x000006F3
1238
#define RPC_X_NULL_REF_POINTER 0x000006F4
1239
#define RPC_X_ENUM_VALUE_OUT_OF_RANGE 0x000006F5
1240
#define RPC_X_BYTE_COUNT_TOO_SMALL 0x000006F6
1241
#define RPC_X_BAD_STUB_DATA 0x000006F7
1242
#define ERROR_INVALID_USER_BUFFER 0x000006F8
1243
#define ERROR_UNRECOGNIZED_MEDIA 0x000006F9
1244
#define ERROR_NO_TRUST_LSA_SECRET 0x000006FA
1245
#define ERROR_NO_TRUST_SAM_ACCOUNT 0x000006FB
1246
#define ERROR_TRUSTED_DOMAIN_FAILURE 0x000006FC
1247
#define ERROR_TRUSTED_RELATIONSHIP_FAILURE 0x000006FD
1248
#define ERROR_TRUST_FAILURE 0x000006FE
1249
#define RPC_S_CALL_IN_PROGRESS 0x000006FF
1250
#define ERROR_NETLOGON_NOT_STARTED 0x00000700
1251
#define ERROR_ACCOUNT_EXPIRED 0x00000701
1252
#define ERROR_REDIRECTOR_HAS_OPEN_HANDLES 0x00000702
1253
#define ERROR_PRINTER_DRIVER_ALREADY_INSTALLED 0x00000703
1254
#define ERROR_UNKNOWN_PORT 0x00000704
1255
#define ERROR_UNKNOWN_PRINTER_DRIVER 0x00000705
1256
#define ERROR_UNKNOWN_PRINTPROCESSOR 0x00000706
1257
#define ERROR_INVALID_SEPARATOR_FILE 0x00000707
1258
#define ERROR_INVALID_PRIORITY 0x00000708
1259
#define ERROR_INVALID_PRINTER_NAME 0x00000709
1260
#define ERROR_PRINTER_ALREADY_EXISTS 0x0000070A
1261
#define ERROR_INVALID_PRINTER_COMMAND 0x0000070B
1262
#define ERROR_INVALID_DATATYPE 0x0000070C
1263
#define ERROR_INVALID_ENVIRONMENT 0x0000070D
1264
#define RPC_S_NO_MORE_BINDINGS 0x0000070E
1265
#define ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT 0x0000070F
1266
#define ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT 0x00000710
1267
#define ERROR_NOLOGON_SERVER_TRUST_ACCOUNT 0x00000711
1268
#define ERROR_DOMAIN_TRUST_INCONSISTENT 0x00000712
1269
#define ERROR_SERVER_HAS_OPEN_HANDLES 0x00000713
1270
#define ERROR_RESOURCE_DATA_NOT_FOUND 0x00000714
1271
#define ERROR_RESOURCE_TYPE_NOT_FOUND 0x00000715
1272
#define ERROR_RESOURCE_NAME_NOT_FOUND 0x00000716
1273
#define ERROR_RESOURCE_LANG_NOT_FOUND 0x00000717
1274
#define ERROR_NOT_ENOUGH_QUOTA 0x00000718
1275
#define RPC_S_NO_INTERFACES 0x00000719
1276
0
#define RPC_S_CALL_CANCELLED 0x0000071A
1277
#define RPC_S_BINDING_INCOMPLETE 0x0000071B
1278
0
#define RPC_S_COMM_FAILURE 0x0000071C
1279
0
#define RPC_S_UNSUPPORTED_AUTHN_LEVEL 0x0000071D
1280
#define RPC_S_NO_PRINC_NAME 0x0000071E
1281
#define RPC_S_NOT_RPC_ERROR 0x0000071F
1282
#define RPC_S_UUID_LOCAL_ONLY 0x00000720
1283
#define RPC_S_SEC_PKG_ERROR 0x00000721
1284
#define RPC_S_NOT_CANCELLED 0x00000722
1285
#define RPC_X_INVALID_ES_ACTION 0x00000723
1286
#define RPC_X_WRONG_ES_VERSION 0x00000724
1287
#define RPC_X_WRONG_STUB_VERSION 0x00000725
1288
#define RPC_X_INVALID_PIPE_OBJECT 0x00000726
1289
0
#define RPC_X_WRONG_PIPE_ORDER 0x00000727
1290
#define RPC_X_WRONG_PIPE_VERSION 0x00000728
1291
#define RPC_S_COOKIE_AUTH_FAILED 0x00000729
1292
#define RPC_S_GROUP_MEMBER_NOT_FOUND 0x0000076A
1293
#define EPT_S_CANT_CREATE 0x0000076B
1294
#define RPC_S_INVALID_OBJECT 0x0000076C
1295
#define ERROR_INVALID_TIME 0x0000076D
1296
#define ERROR_INVALID_FORM_NAME 0x0000076E
1297
#define ERROR_INVALID_FORM_SIZE 0x0000076F
1298
#define ERROR_ALREADY_WAITING 0x00000770
1299
#define ERROR_PRINTER_DELETED 0x00000771
1300
#define ERROR_INVALID_PRINTER_STATE 0x00000772
1301
0
#define ERROR_PASSWORD_MUST_CHANGE 0x00000773
1302
#define ERROR_DOMAIN_CONTROLLER_NOT_FOUND 0x00000774
1303
#define ERROR_ACCOUNT_LOCKED_OUT 0x00000775
1304
#define OR_INVALID_OXID 0x00000776
1305
#define OR_INVALID_OID 0x00000777
1306
#define OR_INVALID_SET 0x00000778
1307
#define RPC_S_SEND_INCOMPLETE 0x00000779
1308
#define RPC_S_INVALID_ASYNC_HANDLE 0x0000077A
1309
#define RPC_S_INVALID_ASYNC_CALL 0x0000077B
1310
0
#define RPC_X_PIPE_CLOSED 0x0000077C
1311
0
#define RPC_X_PIPE_DISCIPLINE_ERROR 0x0000077D
1312
0
#define RPC_X_PIPE_EMPTY 0x0000077E
1313
#define ERROR_NO_SITENAME 0x0000077F
1314
#define ERROR_CANT_ACCESS_FILE 0x00000780
1315
#define ERROR_CANT_RESOLVE_FILENAME 0x00000781
1316
#define RPC_S_ENTRY_TYPE_MISMATCH 0x00000782
1317
#define RPC_S_NOT_ALL_OBJS_EXPORTED 0x00000783
1318
#define RPC_S_INTERFACE_NOT_EXPORTED 0x00000784
1319
#define RPC_S_PROFILE_NOT_ADDED 0x00000785
1320
#define RPC_S_PRF_ELT_NOT_ADDED 0x00000786
1321
#define RPC_S_PRF_ELT_NOT_REMOVED 0x00000787
1322
#define RPC_S_GRP_ELT_NOT_ADDED 0x00000788
1323
#define RPC_S_GRP_ELT_NOT_REMOVED 0x00000789
1324
#define ERROR_KM_DRIVER_BLOCKED 0x0000078A
1325
#define ERROR_CONTEXT_EXPIRED 0x0000078B
1326
#define ERROR_PER_USER_TRUST_QUOTA_EXCEEDED 0x0000078C
1327
#define ERROR_ALL_USER_TRUST_QUOTA_EXCEEDED 0x0000078D
1328
#define ERROR_USER_DELETE_TRUST_QUOTA_EXCEEDED 0x0000078E
1329
#define ERROR_AUTHENTICATION_FIREWALL_FAILED 0x0000078F
1330
#define ERROR_REMOTE_PRINT_CONNECTIONS_BLOCKED 0x00000790
1331
#define ERROR_NTLM_BLOCKED 0x00000791
1332
#define ERROR_PASSWORD_CHANGE_REQUIRED 0x00000792
1333
#define ERROR_INVALID_PIXEL_FORMAT 0x000007D0
1334
#define ERROR_BAD_DRIVER 0x000007D1
1335
#define ERROR_INVALID_WINDOW_STYLE 0x000007D2
1336
#define ERROR_METAFILE_NOT_SUPPORTED 0x000007D3
1337
#define ERROR_TRANSFORM_NOT_SUPPORTED 0x000007D4
1338
#define ERROR_CLIPPING_NOT_SUPPORTED 0x000007D5
1339
#define ERROR_INVALID_CMM 0x000007DA
1340
#define ERROR_INVALID_PROFILE 0x000007DB
1341
#define ERROR_TAG_NOT_FOUND 0x000007DC
1342
#define ERROR_TAG_NOT_PRESENT 0x000007DD
1343
#define ERROR_DUPLICATE_TAG 0x000007DE
1344
#define ERROR_PROFILE_NOT_ASSOCIATED_WITH_DEVICE 0x000007DF
1345
#define ERROR_PROFILE_NOT_FOUND 0x000007E0
1346
#define ERROR_INVALID_COLORSPACE 0x000007E1
1347
#define ERROR_ICM_NOT_ENABLED 0x000007E2
1348
#define ERROR_DELETING_ICM_XFORM 0x000007E3
1349
#define ERROR_INVALID_TRANSFORM 0x000007E4
1350
#define ERROR_COLORSPACE_MISMATCH 0x000007E5
1351
#define ERROR_INVALID_COLORINDEX 0x000007E6
1352
#define ERROR_PROFILE_DOES_NOT_MATCH_DEVICE 0x000007E7
1353
#define ERROR_CONNECTED_OTHER_PASSWORD 0x0000083C
1354
#define ERROR_CONNECTED_OTHER_PASSWORD_DEFAULT 0x0000083D
1355
#define ERROR_BAD_USERNAME 0x0000089A
1356
#define ERROR_NOT_CONNECTED 0x000008CA
1357
#define ERROR_OPEN_FILES 0x00000961
1358
#define ERROR_ACTIVE_CONNECTIONS 0x00000962
1359
#define ERROR_DEVICE_IN_USE 0x00000964
1360
#define ERROR_UNKNOWN_PRINT_MONITOR 0x00000BB8
1361
#define ERROR_PRINTER_DRIVER_IN_USE 0x00000BB9
1362
#define ERROR_SPOOL_FILE_NOT_FOUND 0x00000BBA
1363
#define ERROR_SPL_NO_STARTDOC 0x00000BBB
1364
#define ERROR_SPL_NO_ADDJOB 0x00000BBC
1365
#define ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED 0x00000BBD
1366
#define ERROR_PRINT_MONITOR_ALREADY_INSTALLED 0x00000BBE
1367
#define ERROR_INVALID_PRINT_MONITOR 0x00000BBF
1368
#define ERROR_PRINT_MONITOR_IN_USE 0x00000BC0
1369
#define ERROR_PRINTER_HAS_JOBS_QUEUED 0x00000BC1
1370
#define ERROR_SUCCESS_REBOOT_REQUIRED 0x00000BC2
1371
#define ERROR_SUCCESS_RESTART_REQUIRED 0x00000BC3
1372
#define ERROR_PRINTER_NOT_FOUND 0x00000BC4
1373
#define ERROR_PRINTER_DRIVER_WARNED 0x00000BC5
1374
#define ERROR_PRINTER_DRIVER_BLOCKED 0x00000BC6
1375
#define ERROR_PRINTER_DRIVER_PACKAGE_IN_USE 0x00000BC7
1376
#define ERROR_CORE_DRIVER_PACKAGE_NOT_FOUND 0x00000BC8
1377
#define ERROR_FAIL_REBOOT_REQUIRED 0x00000BC9
1378
#define ERROR_FAIL_REBOOT_INITIATED 0x00000BCA
1379
#define ERROR_PRINTER_DRIVER_DOWNLOAD_NEEDED 0x00000BCB
1380
#define ERROR_PRINT_JOB_RESTART_REQUIRED 0x00000BCC
1381
#define ERROR_INVALID_PRINTER_DRIVER_MANIFEST 0x00000BCD
1382
#define ERROR_PRINTER_NOT_SHAREABLE 0x00000BCE
1383
#define ERROR_REQUEST_PAUSED 0x00000BEA
1384
#define ERROR_IO_REISSUE_AS_CACHED 0x00000F6E
1385
1386
/* System Error Codes (4000-5999) */
1387
1388
#define ERROR_WINS_INTERNAL 0x00000FA0
1389
#define ERROR_CAN_NOT_DEL_LOCAL_WINS 0x00000FA1
1390
#define ERROR_STATIC_INIT 0x00000FA2
1391
#define ERROR_INC_BACKUP 0x00000FA3
1392
#define ERROR_FULL_BACKUP 0x00000FA4
1393
#define ERROR_REC_NON_EXISTENT 0x00000FA5
1394
#define ERROR_RPL_NOT_ALLOWED 0x00000FA6
1395
#define PEERDIST_ERROR_CONTENTINFO_VERSION_UNSUPPORTED 0x00000FD2
1396
#define PEERDIST_ERROR_CANNOT_PARSE_CONTENTINFO 0x00000FD3
1397
#define PEERDIST_ERROR_MISSING_DATA 0x00000FD4
1398
#define PEERDIST_ERROR_NO_MORE 0x00000FD5
1399
#define PEERDIST_ERROR_NOT_INITIALIZED 0x00000FD6
1400
#define PEERDIST_ERROR_ALREADY_INITIALIZED 0x00000FD7
1401
#define PEERDIST_ERROR_SHUTDOWN_IN_PROGRESS 0x00000FD8
1402
#define PEERDIST_ERROR_INVALIDATED 0x00000FD9
1403
#define PEERDIST_ERROR_ALREADY_EXISTS 0x00000FDA
1404
#define PEERDIST_ERROR_OPERATION_NOTFOUND 0x00000FDB
1405
#define PEERDIST_ERROR_ALREADY_COMPLETED 0x00000FDC
1406
#define PEERDIST_ERROR_OUT_OF_BOUNDS 0x00000FDD
1407
#define PEERDIST_ERROR_VERSION_UNSUPPORTED 0x00000FDE
1408
#define PEERDIST_ERROR_INVALID_CONFIGURATION 0x00000FDF
1409
#define PEERDIST_ERROR_NOT_LICENSED 0x00000FE0
1410
#define PEERDIST_ERROR_SERVICE_UNAVAILABLE 0x00000FE1
1411
#define PEERDIST_ERROR_TRUST_FAILURE 0x00000FE2
1412
#define ERROR_DHCP_ADDRESS_CONFLICT 0x00001004
1413
#define ERROR_WMI_GUID_NOT_FOUND 0x00001068
1414
#define ERROR_WMI_INSTANCE_NOT_FOUND 0x00001069
1415
#define ERROR_WMI_ITEMID_NOT_FOUND 0x0000106A
1416
#define ERROR_WMI_TRY_AGAIN 0x0000106B
1417
#define ERROR_WMI_DP_NOT_FOUND 0x0000106C
1418
#define ERROR_WMI_UNRESOLVED_INSTANCE_REF 0x0000106D
1419
#define ERROR_WMI_ALREADY_ENABLED 0x0000106E
1420
#define ERROR_WMI_GUID_DISCONNECTED 0x0000106F
1421
#define ERROR_WMI_SERVER_UNAVAILABLE 0x00001070
1422
#define ERROR_WMI_DP_FAILED 0x00001071
1423
#define ERROR_WMI_INVALID_MOF 0x00001072
1424
#define ERROR_WMI_INVALID_REGINFO 0x00001073
1425
#define ERROR_WMI_ALREADY_DISABLED 0x00001074
1426
#define ERROR_WMI_READ_ONLY 0x00001075
1427
#define ERROR_WMI_SET_FAILURE 0x00001076
1428
#define ERROR_NOT_APPCONTAINER 0x0000109A
1429
#define ERROR_APPCONTAINER_REQUIRED 0x0000109B
1430
#define ERROR_NOT_SUPPORTED_IN_APPCONTAINER 0x0000109C
1431
#define ERROR_INVALID_PACKAGE_SID_LENGTH 0x0000109D
1432
#define ERROR_INVALID_MEDIA 0x000010CC
1433
#define ERROR_INVALID_LIBRARY 0x000010CD
1434
#define ERROR_INVALID_MEDIA_POOL 0x000010CE
1435
#define ERROR_DRIVE_MEDIA_MISMATCH 0x000010CF
1436
#define ERROR_MEDIA_OFFLINE 0x000010D0
1437
#define ERROR_LIBRARY_OFFLINE 0x000010D1
1438
#define ERROR_EMPTY 0x000010D2
1439
#define ERROR_NOT_EMPTY 0x000010D3
1440
#define ERROR_MEDIA_UNAVAILABLE 0x000010D4
1441
#define ERROR_RESOURCE_DISABLED 0x000010D5
1442
#define ERROR_INVALID_CLEANER 0x000010D6
1443
#define ERROR_UNABLE_TO_CLEAN 0x000010D7
1444
#define ERROR_OBJECT_NOT_FOUND 0x000010D8
1445
#define ERROR_DATABASE_FAILURE 0x000010D9
1446
#define ERROR_DATABASE_FULL 0x000010DA
1447
#define ERROR_MEDIA_INCOMPATIBLE 0x000010DB
1448
#define ERROR_RESOURCE_NOT_PRESENT 0x000010DC
1449
#define ERROR_INVALID_OPERATION 0x000010DD
1450
#define ERROR_MEDIA_NOT_AVAILABLE 0x000010DE
1451
#define ERROR_DEVICE_NOT_AVAILABLE 0x000010DF
1452
#define ERROR_REQUEST_REFUSED 0x000010E0
1453
#define ERROR_INVALID_DRIVE_OBJECT 0x000010E1
1454
#define ERROR_LIBRARY_FULL 0x000010E2
1455
#define ERROR_MEDIUM_NOT_ACCESSIBLE 0x000010E3
1456
#define ERROR_UNABLE_TO_LOAD_MEDIUM 0x000010E4
1457
#define ERROR_UNABLE_TO_INVENTORY_DRIVE 0x000010E5
1458
#define ERROR_UNABLE_TO_INVENTORY_SLOT 0x000010E6
1459
#define ERROR_UNABLE_TO_INVENTORY_TRANSPORT 0x000010E7
1460
#define ERROR_TRANSPORT_FULL 0x000010E8
1461
#define ERROR_CONTROLLING_IEPORT 0x000010E9
1462
#define ERROR_UNABLE_TO_EJECT_MOUNTED_MEDIA 0x000010EA
1463
#define ERROR_CLEANER_SLOT_SET 0x000010EB
1464
#define ERROR_CLEANER_SLOT_NOT_SET 0x000010EC
1465
#define ERROR_CLEANER_CARTRIDGE_SPENT 0x000010ED
1466
#define ERROR_UNEXPECTED_OMID 0x000010EE
1467
#define ERROR_CANT_DELETE_LAST_ITEM 0x000010EF
1468
#define ERROR_MESSAGE_EXCEEDS_MAX_SIZE 0x000010F0
1469
#define ERROR_VOLUME_CONTAINS_SYS_FILES 0x000010F1
1470
#define ERROR_INDIGENOUS_TYPE 0x000010F2
1471
#define ERROR_NO_SUPPORTING_DRIVES 0x000010F3
1472
#define ERROR_CLEANER_CARTRIDGE_INSTALLED 0x000010F4
1473
#define ERROR_IEPORT_FULL 0x000010F5
1474
#define ERROR_FILE_OFFLINE 0x000010FE
1475
#define ERROR_REMOTE_STORAGE_NOT_ACTIVE 0x000010FF
1476
#define ERROR_REMOTE_STORAGE_MEDIA_ERROR 0x00001100
1477
#define ERROR_NOT_A_REPARSE_POINT 0x00001126
1478
#define ERROR_REPARSE_ATTRIBUTE_CONFLICT 0x00001127
1479
#define ERROR_INVALID_REPARSE_DATA 0x00001128
1480
#define ERROR_REPARSE_TAG_INVALID 0x00001129
1481
#define ERROR_REPARSE_TAG_MISMATCH 0x0000112A
1482
#define ERROR_APP_DATA_NOT_FOUND 0x00001130
1483
#define ERROR_APP_DATA_EXPIRED 0x00001131
1484
#define ERROR_APP_DATA_CORRUPT 0x00001132
1485
#define ERROR_APP_DATA_LIMIT_EXCEEDED 0x00001133
1486
#define ERROR_APP_DATA_REBOOT_REQUIRED 0x00001134
1487
#define ERROR_SECUREBOOT_ROLLBACK_DETECTED 0x00001144
1488
#define ERROR_SECUREBOOT_POLICY_VIOLATION 0x00001145
1489
#define ERROR_SECUREBOOT_INVALID_POLICY 0x00001146
1490
#define ERROR_SECUREBOOT_POLICY_PUBLISHER_NOT_FOUND 0x00001147
1491
#define ERROR_SECUREBOOT_POLICY_NOT_SIGNED 0x00001148
1492
#define ERROR_SECUREBOOT_NOT_ENABLED 0x00001149
1493
#define ERROR_SECUREBOOT_FILE_REPLACED 0x0000114A
1494
#define ERROR_OFFLOAD_READ_FLT_NOT_SUPPORTED 0x00001158
1495
#define ERROR_OFFLOAD_WRITE_FLT_NOT_SUPPORTED 0x00001159
1496
#define ERROR_OFFLOAD_READ_FILE_NOT_SUPPORTED 0x0000115A
1497
#define ERROR_OFFLOAD_WRITE_FILE_NOT_SUPPORTED 0x0000115B
1498
#define ERROR_VOLUME_NOT_SIS_ENABLED 0x00001194
1499
#define ERROR_DEPENDENT_RESOURCE_EXISTS 0x00001389
1500
#define ERROR_DEPENDENCY_NOT_FOUND 0x0000138A
1501
#define ERROR_DEPENDENCY_ALREADY_EXISTS 0x0000138B
1502
#define ERROR_RESOURCE_NOT_ONLINE 0x0000138C
1503
#define ERROR_HOST_NODE_NOT_AVAILABLE 0x0000138D
1504
#define ERROR_RESOURCE_NOT_AVAILABLE 0x0000138E
1505
#define ERROR_RESOURCE_NOT_FOUND 0x0000138F
1506
#define ERROR_SHUTDOWN_CLUSTER 0x00001390
1507
#define ERROR_CANT_EVICT_ACTIVE_NODE 0x00001391
1508
#define ERROR_OBJECT_ALREADY_EXISTS 0x00001392
1509
#define ERROR_OBJECT_IN_LIST 0x00001393
1510
#define ERROR_GROUP_NOT_AVAILABLE 0x00001394
1511
#define ERROR_GROUP_NOT_FOUND 0x00001395
1512
#define ERROR_GROUP_NOT_ONLINE 0x00001396
1513
#define ERROR_HOST_NODE_NOT_RESOURCE_OWNER 0x00001397
1514
#define ERROR_HOST_NODE_NOT_GROUP_OWNER 0x00001398
1515
#define ERROR_RESMON_CREATE_FAILED 0x00001399
1516
#define ERROR_RESMON_ONLINE_FAILED 0x0000139A
1517
#define ERROR_RESOURCE_ONLINE 0x0000139B
1518
#define ERROR_QUORUM_RESOURCE 0x0000139C
1519
#define ERROR_NOT_QUORUM_CAPABLE 0x0000139D
1520
#define ERROR_CLUSTER_SHUTTING_DOWN 0x0000139E
1521
#define ERROR_INVALID_STATE 0x0000139F
1522
#define ERROR_RESOURCE_PROPERTIES_STORED 0x000013A0
1523
#define ERROR_NOT_QUORUM_CLASS 0x000013A1
1524
#define ERROR_CORE_RESOURCE 0x000013A2
1525
#define ERROR_QUORUM_RESOURCE_ONLINE_FAILED 0x000013A3
1526
#define ERROR_QUORUMLOG_OPEN_FAILED 0x000013A4
1527
#define ERROR_CLUSTERLOG_CORRUPT 0x000013A5
1528
#define ERROR_CLUSTERLOG_RECORD_EXCEEDS_MAXSIZE 0x000013A6
1529
#define ERROR_CLUSTERLOG_EXCEEDS_MAXSIZE 0x000013A7
1530
#define ERROR_CLUSTERLOG_CHKPOINT_NOT_FOUND 0x000013A8
1531
#define ERROR_CLUSTERLOG_NOT_ENOUGH_SPACE 0x000013A9
1532
#define ERROR_QUORUM_OWNER_ALIVE 0x000013AA
1533
#define ERROR_NETWORK_NOT_AVAILABLE 0x000013AB
1534
#define ERROR_NODE_NOT_AVAILABLE 0x000013AC
1535
#define ERROR_ALL_NODES_NOT_AVAILABLE 0x000013AD
1536
#define ERROR_RESOURCE_FAILED 0x000013AE
1537
#define ERROR_CLUSTER_INVALID_NODE 0x000013AF
1538
#define ERROR_CLUSTER_NODE_EXISTS 0x000013B0
1539
#define ERROR_CLUSTER_JOIN_IN_PROGRESS 0x000013B1
1540
#define ERROR_CLUSTER_NODE_NOT_FOUND 0x000013B2
1541
#define ERROR_CLUSTER_LOCAL_NODE_NOT_FOUND 0x000013B3
1542
#define ERROR_CLUSTER_NETWORK_EXISTS 0x000013B4
1543
#define ERROR_CLUSTER_NETWORK_NOT_FOUND 0x000013B5
1544
#define ERROR_CLUSTER_NETINTERFACE_EXISTS 0x000013B6
1545
#define ERROR_CLUSTER_NETINTERFACE_NOT_FOUND 0x000013B7
1546
#define ERROR_CLUSTER_INVALID_REQUEST 0x000013B8
1547
#define ERROR_CLUSTER_INVALID_NETWORK_PROVIDER 0x000013B9
1548
#define ERROR_CLUSTER_NODE_DOWN 0x000013BA
1549
#define ERROR_CLUSTER_NODE_UNREACHABLE 0x000013BB
1550
#define ERROR_CLUSTER_NODE_NOT_MEMBER 0x000013BC
1551
#define ERROR_CLUSTER_JOIN_NOT_IN_PROGRESS 0x000013BD
1552
#define ERROR_CLUSTER_INVALID_NETWORK 0x000013BE
1553
#define ERROR_CLUSTER_NODE_UP 0x000013C0
1554
#define ERROR_CLUSTER_IPADDR_IN_USE 0x000013C1
1555
#define ERROR_CLUSTER_NODE_NOT_PAUSED 0x000013C2
1556
#define ERROR_CLUSTER_NO_SECURITY_CONTEXT 0x000013C3
1557
#define ERROR_CLUSTER_NETWORK_NOT_INTERNAL 0x000013C4
1558
#define ERROR_CLUSTER_NODE_ALREADY_UP 0x000013C5
1559
#define ERROR_CLUSTER_NODE_ALREADY_DOWN 0x000013C6
1560
#define ERROR_CLUSTER_NETWORK_ALREADY_ONLINE 0x000013C7
1561
#define ERROR_CLUSTER_NETWORK_ALREADY_OFFLINE 0x000013C8
1562
#define ERROR_CLUSTER_NODE_ALREADY_MEMBER 0x000013C9
1563
#define ERROR_CLUSTER_LAST_INTERNAL_NETWORK 0x000013CA
1564
#define ERROR_CLUSTER_NETWORK_HAS_DEPENDENTS 0x000013CB
1565
#define ERROR_INVALID_OPERATION_ON_QUORUM 0x000013CC
1566
#define ERROR_DEPENDENCY_NOT_ALLOWED 0x000013CD
1567
#define ERROR_CLUSTER_NODE_PAUSED 0x000013CE
1568
#define ERROR_NODE_CANT_HOST_RESOURCE 0x000013CF
1569
#define ERROR_CLUSTER_NODE_NOT_READY 0x000013D0
1570
#define ERROR_CLUSTER_NODE_SHUTTING_DOWN 0x000013D1
1571
#define ERROR_CLUSTER_JOIN_ABORTED 0x000013D2
1572
#define ERROR_CLUSTER_INCOMPATIBLE_VERSIONS 0x000013D3
1573
#define ERROR_CLUSTER_MAXNUM_OF_RESOURCES_EXCEEDED 0x000013D4
1574
#define ERROR_CLUSTER_SYSTEM_CONFIG_CHANGED 0x000013D5
1575
#define ERROR_CLUSTER_RESOURCE_TYPE_NOT_FOUND 0x000013D6
1576
#define ERROR_CLUSTER_RESTYPE_NOT_SUPPORTED 0x000013D7
1577
#define ERROR_CLUSTER_RESNAME_NOT_FOUND 0x000013D8
1578
#define ERROR_CLUSTER_NO_RPC_PACKAGES_REGISTERED 0x000013D9
1579
#define ERROR_CLUSTER_OWNER_NOT_IN_PREFLIST 0x000013DA
1580
#define ERROR_CLUSTER_DATABASE_SEQMISMATCH 0x000013DB
1581
#define ERROR_RESMON_INVALID_STATE 0x000013DC
1582
#define ERROR_CLUSTER_GUM_NOT_LOCKER 0x000013DD
1583
#define ERROR_QUORUM_DISK_NOT_FOUND 0x000013DE
1584
#define ERROR_DATABASE_BACKUP_CORRUPT 0x000013DF
1585
#define ERROR_CLUSTER_NODE_ALREADY_HAS_DFS_ROOT 0x000013E0
1586
#define ERROR_RESOURCE_PROPERTY_UNCHANGEABLE 0x000013E1
1587
#define ERROR_CLUSTER_MEMBERSHIP_INVALID_STATE 0x00001702
1588
#define ERROR_CLUSTER_QUORUMLOG_NOT_FOUND 0x00001703
1589
#define ERROR_CLUSTER_MEMBERSHIP_HALT 0x00001704
1590
#define ERROR_CLUSTER_INSTANCE_ID_MISMATCH 0x00001705
1591
#define ERROR_CLUSTER_NETWORK_NOT_FOUND_FOR_IP 0x00001706
1592
#define ERROR_CLUSTER_PROPERTY_DATA_TYPE_MISMATCH 0x00001707
1593
#define ERROR_CLUSTER_EVICT_WITHOUT_CLEANUP 0x00001708
1594
#define ERROR_CLUSTER_PARAMETER_MISMATCH 0x00001709
1595
#define ERROR_NODE_CANNOT_BE_CLUSTERED 0x0000170A
1596
#define ERROR_CLUSTER_WRONG_OS_VERSION 0x0000170B
1597
#define ERROR_CLUSTER_CANT_CREATE_DUP_CLUSTER_NAME 0x0000170C
1598
#define ERROR_CLUSCFG_ALREADY_COMMITTED 0x0000170D
1599
#define ERROR_CLUSCFG_ROLLBACK_FAILED 0x0000170E
1600
#define ERROR_CLUSCFG_SYSTEM_DISK_DRIVE_LETTER_CONFLICT 0x0000170F
1601
#define ERROR_CLUSTER_OLD_VERSION 0x00001710
1602
#define ERROR_CLUSTER_MISMATCHED_COMPUTER_ACCT_NAME 0x00001711
1603
#define ERROR_CLUSTER_NO_NET_ADAPTERS 0x00001712
1604
#define ERROR_CLUSTER_POISONED 0x00001713
1605
#define ERROR_CLUSTER_GROUP_MOVING 0x00001714
1606
#define ERROR_CLUSTER_RESOURCE_TYPE_BUSY 0x00001715
1607
#define ERROR_RESOURCE_CALL_TIMED_OUT 0x00001716
1608
#define ERROR_INVALID_CLUSTER_IPV6_ADDRESS 0x00001717
1609
#define ERROR_CLUSTER_INTERNAL_INVALID_FUNCTION 0x00001718
1610
#define ERROR_CLUSTER_PARAMETER_OUT_OF_BOUNDS 0x00001719
1611
#define ERROR_CLUSTER_PARTIAL_SEND 0x0000171A
1612
#define ERROR_CLUSTER_REGISTRY_INVALID_FUNCTION 0x0000171B
1613
#define ERROR_CLUSTER_INVALID_STRING_TERMINATION 0x0000171C
1614
#define ERROR_CLUSTER_INVALID_STRING_FORMAT 0x0000171D
1615
#define ERROR_CLUSTER_DATABASE_TRANSACTION_IN_PROGRESS 0x0000171E
1616
#define ERROR_CLUSTER_DATABASE_TRANSACTION_NOT_IN_PROGRESS 0x0000171F
1617
#define ERROR_CLUSTER_NULL_DATA 0x00001720
1618
#define ERROR_CLUSTER_PARTIAL_READ 0x00001721
1619
#define ERROR_CLUSTER_PARTIAL_WRITE 0x00001722
1620
#define ERROR_CLUSTER_CANT_DESERIALIZE_DATA 0x00001723
1621
#define ERROR_DEPENDENT_RESOURCE_PROPERTY_CONFLICT 0x00001724
1622
#define ERROR_CLUSTER_NO_QUORUM 0x00001725
1623
#define ERROR_CLUSTER_INVALID_IPV6_NETWORK 0x00001726
1624
#define ERROR_CLUSTER_INVALID_IPV6_TUNNEL_NETWORK 0x00001727
1625
#define ERROR_QUORUM_NOT_ALLOWED_IN_THIS_GROUP 0x00001728
1626
#define ERROR_DEPENDENCY_TREE_TOO_COMPLEX 0x00001729
1627
#define ERROR_EXCEPTION_IN_RESOURCE_CALL 0x0000172A
1628
#define ERROR_CLUSTER_RHS_FAILED_INITIALIZATION 0x0000172B
1629
#define ERROR_CLUSTER_NOT_INSTALLED 0x0000172C
1630
#define ERROR_CLUSTER_RESOURCES_MUST_BE_ONLINE_ON_THE_SAME_NODE 0x0000172D
1631
#define ERROR_CLUSTER_MAX_NODES_IN_CLUSTER 0x0000172E
1632
#define ERROR_CLUSTER_TOO_MANY_NODES 0x0000172F
1633
#define ERROR_CLUSTER_OBJECT_ALREADY_USED 0x00001730
1634
#define ERROR_NONCORE_GROUPS_FOUND 0x00001731
1635
#define ERROR_FILE_SHARE_RESOURCE_CONFLICT 0x00001732
1636
#define ERROR_CLUSTER_EVICT_INVALID_REQUEST 0x00001733
1637
#define ERROR_CLUSTER_SINGLETON_RESOURCE 0x00001734
1638
#define ERROR_CLUSTER_GROUP_SINGLETON_RESOURCE 0x00001735
1639
#define ERROR_CLUSTER_RESOURCE_PROVIDER_FAILED 0x00001736
1640
#define ERROR_CLUSTER_RESOURCE_CONFIGURATION_ERROR 0x00001737
1641
#define ERROR_CLUSTER_GROUP_BUSY 0x00001738
1642
#define ERROR_CLUSTER_NOT_SHARED_VOLUME 0x00001739
1643
#define ERROR_CLUSTER_INVALID_SECURITY_DESCRIPTOR 0x0000173A
1644
#define ERROR_CLUSTER_SHARED_VOLUMES_IN_USE 0x0000173B
1645
#define ERROR_CLUSTER_USE_SHARED_VOLUMES_API 0x0000173C
1646
#define ERROR_CLUSTER_BACKUP_IN_PROGRESS 0x0000173D
1647
#define ERROR_NON_CSV_PATH 0x0000173E
1648
#define ERROR_CSV_VOLUME_NOT_LOCAL 0x0000173F
1649
#define ERROR_CLUSTER_WATCHDOG_TERMINATING 0x00001740
1650
#define ERROR_CLUSTER_RESOURCE_VETOED_MOVE_INCOMPATIBLE_NODES 0x00001741
1651
#define ERROR_CLUSTER_INVALID_NODE_WEIGHT 0x00001742
1652
#define ERROR_CLUSTER_RESOURCE_VETOED_CALL 0x00001743
1653
#define ERROR_RESMON_SYSTEM_RESOURCES_LACKING 0x00001744
1654
#define ERROR_CLUSTER_RESOURCE_VETOED_MOVE_NOT_ENOUGH_RESOURCES_ON_DESTINATION 0x00001745
1655
#define ERROR_CLUSTER_RESOURCE_VETOED_MOVE_NOT_ENOUGH_RESOURCES_ON_SOURCE 0x00001746
1656
#define ERROR_CLUSTER_GROUP_QUEUED 0x00001747
1657
#define ERROR_CLUSTER_RESOURCE_LOCKED_STATUS 0x00001748
1658
#define ERROR_CLUSTER_SHARED_VOLUME_FAILOVER_NOT_ALLOWED 0x00001749
1659
#define ERROR_CLUSTER_NODE_DRAIN_IN_PROGRESS 0x0000174A
1660
#define ERROR_CLUSTER_DISK_NOT_CONNECTED 0x0000174B
1661
#define ERROR_DISK_NOT_CSV_CAPABLE 0x0000174C
1662
#define ERROR_RESOURCE_NOT_IN_AVAILABLE_STORAGE 0x0000174D
1663
#define ERROR_CLUSTER_SHARED_VOLUME_REDIRECTED 0x0000174E
1664
#define ERROR_CLUSTER_SHARED_VOLUME_NOT_REDIRECTED 0x0000174F
1665
#define ERROR_CLUSTER_CANNOT_RETURN_PROPERTIES 0x00001750
1666
#define ERROR_CLUSTER_RESOURCE_CONTAINS_UNSUPPORTED_DIFF_AREA_FOR_SHARED_VOLUMES 0x00001751
1667
#define ERROR_CLUSTER_RESOURCE_IS_IN_MAINTENANCE_MODE 0x00001752
1668
#define ERROR_CLUSTER_AFFINITY_CONFLICT 0x00001753
1669
#define ERROR_CLUSTER_RESOURCE_IS_REPLICA_VIRTUAL_MACHINE 0x00001754
1670
1671
/* System Error Codes (6000-8199) */
1672
1673
#define ERROR_ENCRYPTION_FAILED 0x00001770
1674
#define ERROR_DECRYPTION_FAILED 0x00001771
1675
#define ERROR_FILE_ENCRYPTED 0x00001772
1676
#define ERROR_NO_RECOVERY_POLICY 0x00001773
1677
#define ERROR_NO_EFS 0x00001774
1678
#define ERROR_WRONG_EFS 0x00001775
1679
#define ERROR_NO_USER_KEYS 0x00001776
1680
#define ERROR_FILE_NOT_ENCRYPTED 0x00001777
1681
#define ERROR_NOT_EXPORT_FORMAT 0x00001778
1682
#define ERROR_FILE_READ_ONLY 0x00001779
1683
#define ERROR_DIR_EFS_DISALLOWED 0x0000177A
1684
#define ERROR_EFS_SERVER_NOT_TRUSTED 0x0000177B
1685
#define ERROR_BAD_RECOVERY_POLICY 0x0000177C
1686
#define ERROR_EFS_ALG_BLOB_TOO_BIG 0x0000177D
1687
#define ERROR_VOLUME_NOT_SUPPORT_EFS 0x0000177E
1688
#define ERROR_EFS_DISABLED 0x0000177F
1689
#define ERROR_EFS_VERSION_NOT_SUPPORT 0x00001780
1690
#define ERROR_CS_ENCRYPTION_INVALID_SERVER_RESPONSE 0x00001781
1691
#define ERROR_CS_ENCRYPTION_UNSUPPORTED_SERVER 0x00001782
1692
#define ERROR_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE 0x00001783
1693
#define ERROR_CS_ENCRYPTION_NEW_ENCRYPTED_FILE 0x00001784
1694
#define ERROR_CS_ENCRYPTION_FILE_NOT_CSE 0x00001785
1695
#define ERROR_ENCRYPTION_POLICY_DENIES_OPERATION 0x00001786
1696
#define ERROR_NO_BROWSER_SERVERS_FOUND 0x000017E6
1697
#define SCHED_E_SERVICE_NOT_LOCALSYSTEM 0x00001838
1698
#define ERROR_LOG_SECTOR_INVALID 0x000019C8
1699
#define ERROR_LOG_SECTOR_PARITY_INVALID 0x000019C9
1700
#define ERROR_LOG_SECTOR_REMAPPED 0x000019CA
1701
#define ERROR_LOG_BLOCK_INCOMPLETE 0x000019CB
1702
#define ERROR_LOG_INVALID_RANGE 0x000019CC
1703
#define ERROR_LOG_BLOCKS_EXHAUSTED 0x000019CD
1704
#define ERROR_LOG_READ_CONTEXT_INVALID 0x000019CE
1705
#define ERROR_LOG_RESTART_INVALID 0x000019CF
1706
#define ERROR_LOG_BLOCK_VERSION 0x000019D0
1707
#define ERROR_LOG_BLOCK_INVALID 0x000019D1
1708
#define ERROR_LOG_READ_MODE_INVALID 0x000019D2
1709
#define ERROR_LOG_NO_RESTART 0x000019D3
1710
#define ERROR_LOG_METADATA_CORRUPT 0x000019D4
1711
#define ERROR_LOG_METADATA_INVALID 0x000019D5
1712
#define ERROR_LOG_METADATA_INCONSISTENT 0x000019D6
1713
#define ERROR_LOG_RESERVATION_INVALID 0x000019D7
1714
#define ERROR_LOG_CANT_DELETE 0x000019D8
1715
#define ERROR_LOG_CONTAINER_LIMIT_EXCEEDED 0x000019D9
1716
#define ERROR_LOG_START_OF_LOG 0x000019DA
1717
#define ERROR_LOG_POLICY_ALREADY_INSTALLED 0x000019DB
1718
#define ERROR_LOG_POLICY_NOT_INSTALLED 0x000019DC
1719
#define ERROR_LOG_POLICY_INVALID 0x000019DD
1720
#define ERROR_LOG_POLICY_CONFLICT 0x000019DE
1721
#define ERROR_LOG_PINNED_ARCHIVE_TAIL 0x000019DF
1722
#define ERROR_LOG_RECORD_NONEXISTENT 0x000019E0
1723
#define ERROR_LOG_RECORDS_RESERVED_INVALID 0x000019E1
1724
#define ERROR_LOG_SPACE_RESERVED_INVALID 0x000019E2
1725
#define ERROR_LOG_TAIL_INVALID 0x000019E3
1726
#define ERROR_LOG_FULL 0x000019E4
1727
#define ERROR_COULD_NOT_RESIZE_LOG 0x000019E5
1728
#define ERROR_LOG_MULTIPLEXED 0x000019E6
1729
#define ERROR_LOG_DEDICATED 0x000019E7
1730
#define ERROR_LOG_ARCHIVE_NOT_IN_PROGRESS 0x000019E8
1731
#define ERROR_LOG_ARCHIVE_IN_PROGRESS 0x000019E9
1732
#define ERROR_LOG_EPHEMERAL 0x000019EA
1733
#define ERROR_LOG_NOT_ENOUGH_CONTAINERS 0x000019EB
1734
#define ERROR_LOG_CLIENT_ALREADY_REGISTERED 0x000019EC
1735
#define ERROR_LOG_CLIENT_NOT_REGISTERED 0x000019ED
1736
#define ERROR_LOG_FULL_HANDLER_IN_PROGRESS 0x000019EE
1737
#define ERROR_LOG_CONTAINER_READ_FAILED 0x000019EF
1738
#define ERROR_LOG_CONTAINER_WRITE_FAILED 0x000019F0
1739
#define ERROR_LOG_CONTAINER_OPEN_FAILED 0x000019F1
1740
#define ERROR_LOG_CONTAINER_STATE_INVALID 0x000019F2
1741
#define ERROR_LOG_STATE_INVALID 0x000019F3
1742
#define ERROR_LOG_PINNED 0x000019F4
1743
#define ERROR_LOG_METADATA_FLUSH_FAILED 0x000019F5
1744
#define ERROR_LOG_INCONSISTENT_SECURITY 0x000019F6
1745
#define ERROR_LOG_APPENDED_FLUSH_FAILED 0x000019F7
1746
#define ERROR_LOG_PINNED_RESERVATION 0x000019F8
1747
#define ERROR_INVALID_TRANSACTION 0x00001A2C
1748
#define ERROR_TRANSACTION_NOT_ACTIVE 0x00001A2D
1749
#define ERROR_TRANSACTION_REQUEST_NOT_VALID 0x00001A2E
1750
#define ERROR_TRANSACTION_NOT_REQUESTED 0x00001A2F
1751
#define ERROR_TRANSACTION_ALREADY_ABORTED 0x00001A30
1752
#define ERROR_TRANSACTION_ALREADY_COMMITTED 0x00001A31
1753
#define ERROR_TM_INITIALIZATION_FAILED 0x00001A32
1754
#define ERROR_RESOURCEMANAGER_READ_ONLY 0x00001A33
1755
#define ERROR_TRANSACTION_NOT_JOINED 0x00001A34
1756
#define ERROR_TRANSACTION_SUPERIOR_EXISTS 0x00001A35
1757
#define ERROR_CRM_PROTOCOL_ALREADY_EXISTS 0x00001A36
1758
#define ERROR_TRANSACTION_PROPAGATION_FAILED 0x00001A37
1759
#define ERROR_CRM_PROTOCOL_NOT_FOUND 0x00001A38
1760
#define ERROR_TRANSACTION_INVALID_MARSHALL_BUFFER 0x00001A39
1761
#define ERROR_CURRENT_TRANSACTION_NOT_VALID 0x00001A3A
1762
#define ERROR_TRANSACTION_NOT_FOUND 0x00001A3B
1763
#define ERROR_RESOURCEMANAGER_NOT_FOUND 0x00001A3C
1764
#define ERROR_ENLISTMENT_NOT_FOUND 0x00001A3D
1765
#define ERROR_TRANSACTIONMANAGER_NOT_FOUND 0x00001A3E
1766
#define ERROR_TRANSACTIONMANAGER_NOT_ONLINE 0x00001A3F
1767
#define ERROR_TRANSACTIONMANAGER_RECOVERY_NAME_COLLISION 0x00001A40
1768
#define ERROR_TRANSACTION_NOT_ROOT 0x00001A41
1769
#define ERROR_TRANSACTION_OBJECT_EXPIRED 0x00001A42
1770
#define ERROR_TRANSACTION_RESPONSE_NOT_ENLISTED 0x00001A43
1771
#define ERROR_TRANSACTION_RECORD_TOO_LONG 0x00001A44
1772
#define ERROR_IMPLICIT_TRANSACTION_NOT_SUPPORTED 0x00001A45
1773
#define ERROR_TRANSACTION_INTEGRITY_VIOLATED 0x00001A46
1774
#define ERROR_TRANSACTIONMANAGER_IDENTITY_MISMATCH 0x00001A47
1775
#define ERROR_RM_CANNOT_BE_FROZEN_FOR_SNAPSHOT 0x00001A48
1776
#define ERROR_TRANSACTION_MUST_WRITETHROUGH 0x00001A49
1777
#define ERROR_TRANSACTION_NO_SUPERIOR 0x00001A4A
1778
#define ERROR_HEURISTIC_DAMAGE_POSSIBLE 0x00001A4B
1779
#define ERROR_TRANSACTIONAL_CONFLICT 0x00001A90
1780
#define ERROR_RM_NOT_ACTIVE 0x00001A91
1781
#define ERROR_RM_METADATA_CORRUPT 0x00001A92
1782
#define ERROR_DIRECTORY_NOT_RM 0x00001A93
1783
#define ERROR_TRANSACTIONS_UNSUPPORTED_REMOTE 0x00001A95
1784
#define ERROR_LOG_RESIZE_INVALID_SIZE 0x00001A96
1785
#define ERROR_OBJECT_NO_LONGER_EXISTS 0x00001A97
1786
#define ERROR_STREAM_MINIVERSION_NOT_FOUND 0x00001A98
1787
#define ERROR_STREAM_MINIVERSION_NOT_VALID 0x00001A99
1788
#define ERROR_MINIVERSION_INACCESSIBLE_FROM_SPECIFIED_TRANSACTION 0x00001A9A
1789
#define ERROR_CANT_OPEN_MINIVERSION_WITH_MODIFY_INTENT 0x00001A9B
1790
#define ERROR_CANT_CREATE_MORE_STREAM_MINIVERSIONS 0x00001A9C
1791
#define ERROR_REMOTE_FILE_VERSION_MISMATCH 0x00001A9E
1792
#define ERROR_HANDLE_NO_LONGER_VALID 0x00001A9F
1793
#define ERROR_NO_TXF_METADATA 0x00001AA0
1794
#define ERROR_LOG_CORRUPTION_DETECTED 0x00001AA1
1795
#define ERROR_CANT_RECOVER_WITH_HANDLE_OPEN 0x00001AA2
1796
#define ERROR_RM_DISCONNECTED 0x00001AA3
1797
#define ERROR_ENLISTMENT_NOT_SUPERIOR 0x00001AA4
1798
#define ERROR_RECOVERY_NOT_NEEDED 0x00001AA5
1799
#define ERROR_RM_ALREADY_STARTED 0x00001AA6
1800
#define ERROR_FILE_IDENTITY_NOT_PERSISTENT 0x00001AA7
1801
#define ERROR_CANT_BREAK_TRANSACTIONAL_DEPENDENCY 0x00001AA8
1802
#define ERROR_CANT_CROSS_RM_BOUNDARY 0x00001AA9
1803
#define ERROR_TXF_DIR_NOT_EMPTY 0x00001AAA
1804
#define ERROR_INDOUBT_TRANSACTIONS_EXIST 0x00001AAB
1805
#define ERROR_TM_VOLATILE 0x00001AAC
1806
#define ERROR_ROLLBACK_TIMER_EXPIRED 0x00001AAD
1807
#define ERROR_TXF_ATTRIBUTE_CORRUPT 0x00001AAE
1808
#define ERROR_EFS_NOT_ALLOWED_IN_TRANSACTION 0x00001AAF
1809
#define ERROR_TRANSACTIONAL_OPEN_NOT_ALLOWED 0x00001AB0
1810
#define ERROR_LOG_GROWTH_FAILED 0x00001AB1
1811
#define ERROR_TRANSACTED_MAPPING_UNSUPPORTED_REMOTE 0x00001AB2
1812
#define ERROR_TXF_METADATA_ALREADY_PRESENT 0x00001AB3
1813
#define ERROR_TRANSACTION_SCOPE_CALLBACKS_NOT_SET 0x00001AB4
1814
#define ERROR_TRANSACTION_REQUIRED_PROMOTION 0x00001AB5
1815
#define ERROR_CANNOT_EXECUTE_FILE_IN_TRANSACTION 0x00001AB6
1816
#define ERROR_TRANSACTIONS_NOT_FROZEN 0x00001AB7
1817
#define ERROR_TRANSACTION_FREEZE_IN_PROGRESS 0x00001AB8
1818
#define ERROR_NOT_SNAPSHOT_VOLUME 0x00001AB9
1819
#define ERROR_NO_SAVEPOINT_WITH_OPEN_FILES 0x00001ABA
1820
#define ERROR_DATA_LOST_REPAIR 0x00001ABB
1821
#define ERROR_SPARSE_NOT_ALLOWED_IN_TRANSACTION 0x00001ABC
1822
#define ERROR_TM_IDENTITY_MISMATCH 0x00001ABD
1823
#define ERROR_FLOATED_SECTION 0x00001ABE
1824
#define ERROR_CANNOT_ACCEPT_TRANSACTED_WORK 0x00001ABF
1825
#define ERROR_CANNOT_ABORT_TRANSACTIONS 0x00001AC0
1826
#define ERROR_BAD_CLUSTERS 0x00001AC1
1827
#define ERROR_COMPRESSION_NOT_ALLOWED_IN_TRANSACTION 0x00001AC2
1828
#define ERROR_VOLUME_DIRTY 0x00001AC3
1829
#define ERROR_NO_LINK_TRACKING_IN_TRANSACTION 0x00001AC4
1830
#define ERROR_OPERATION_NOT_SUPPORTED_IN_TRANSACTION 0x00001AC5
1831
#define ERROR_EXPIRED_HANDLE 0x00001AC6
1832
#define ERROR_TRANSACTION_NOT_ENLISTED 0x00001AC7
1833
#define ERROR_CTX_WINSTATION_NAME_INVALID 0x00001B59
1834
#define ERROR_CTX_INVALID_PD 0x00001B5A
1835
#define ERROR_CTX_PD_NOT_FOUND 0x00001B5B
1836
#define ERROR_CTX_WD_NOT_FOUND 0x00001B5C
1837
#define ERROR_CTX_CANNOT_MAKE_EVENTLOG_ENTRY 0x00001B5D
1838
#define ERROR_CTX_SERVICE_NAME_COLLISION 0x00001B5E
1839
#define ERROR_CTX_CLOSE_PENDING 0x00001B5F
1840
#define ERROR_CTX_NO_OUTBUF 0x00001B60
1841
#define ERROR_CTX_MODEM_INF_NOT_FOUND 0x00001B61
1842
#define ERROR_CTX_INVALID_MODEMNAME 0x00001B62
1843
#define ERROR_CTX_MODEM_RESPONSE_ERROR 0x00001B63
1844
#define ERROR_CTX_MODEM_RESPONSE_TIMEOUT 0x00001B64
1845
#define ERROR_CTX_MODEM_RESPONSE_NO_CARRIER 0x00001B65
1846
#define ERROR_CTX_MODEM_RESPONSE_NO_DIALTONE 0x00001B66
1847
#define ERROR_CTX_MODEM_RESPONSE_BUSY 0x00001B67
1848
#define ERROR_CTX_MODEM_RESPONSE_VOICE 0x00001B68
1849
#define ERROR_CTX_TD_ERROR 0x00001B69
1850
#define ERROR_CTX_WINSTATION_NOT_FOUND 0x00001B6E
1851
#define ERROR_CTX_WINSTATION_ALREADY_EXISTS 0x00001B6F
1852
#define ERROR_CTX_WINSTATION_BUSY 0x00001B70
1853
#define ERROR_CTX_BAD_VIDEO_MODE 0x00001B71
1854
#define ERROR_CTX_GRAPHICS_INVALID 0x00001B7B
1855
#define ERROR_CTX_LOGON_DISABLED 0x00001B7D
1856
#define ERROR_CTX_NOT_CONSOLE 0x00001B7E
1857
#define ERROR_CTX_CLIENT_QUERY_TIMEOUT 0x00001B80
1858
#define ERROR_CTX_CONSOLE_DISCONNECT 0x00001B81
1859
#define ERROR_CTX_CONSOLE_CONNECT 0x00001B82
1860
#define ERROR_CTX_SHADOW_DENIED 0x00001B84
1861
#define ERROR_CTX_WINSTATION_ACCESS_DENIED 0x00001B85
1862
#define ERROR_CTX_INVALID_WD 0x00001B89
1863
#define ERROR_CTX_SHADOW_INVALID 0x00001B8A
1864
#define ERROR_CTX_SHADOW_DISABLED 0x00001B8B
1865
#define ERROR_CTX_CLIENT_LICENSE_IN_USE 0x00001B8C
1866
#define ERROR_CTX_CLIENT_LICENSE_NOT_SET 0x00001B8D
1867
#define ERROR_CTX_LICENSE_NOT_AVAILABLE 0x00001B8E
1868
#define ERROR_CTX_LICENSE_CLIENT_INVALID 0x00001B8F
1869
#define ERROR_CTX_LICENSE_EXPIRED 0x00001B90
1870
#define ERROR_CTX_SHADOW_NOT_RUNNING 0x00001B91
1871
#define ERROR_CTX_SHADOW_ENDED_BY_MODE_CHANGE 0x00001B92
1872
#define ERROR_ACTIVATION_COUNT_EXCEEDED 0x00001B93
1873
#define ERROR_CTX_WINSTATIONS_DISABLED 0x00001B94
1874
#define ERROR_CTX_ENCRYPTION_LEVEL_REQUIRED 0x00001B95
1875
#define ERROR_CTX_SESSION_IN_USE 0x00001B96
1876
#define ERROR_CTX_NO_FORCE_LOGOFF 0x00001B97
1877
#define ERROR_CTX_ACCOUNT_RESTRICTION 0x00001B98
1878
#define ERROR_RDP_PROTOCOL_ERROR 0x00001B99
1879
#define ERROR_CTX_CDM_CONNECT 0x00001B9A
1880
#define ERROR_CTX_CDM_DISCONNECT 0x00001B9B
1881
#define ERROR_CTX_SECURITY_LAYER_ERROR 0x00001B9C
1882
#define ERROR_TS_INCOMPATIBLE_SESSIONS 0x00001B9D
1883
#define ERROR_TS_VIDEO_SUBSYSTEM_ERROR 0x00001B9E
1884
#define FRS_ERR_INVALID_API_SEQUENCE 0x00001F41
1885
#define FRS_ERR_STARTING_SERVICE 0x00001F42
1886
#define FRS_ERR_STOPPING_SERVICE 0x00001F43
1887
#define FRS_ERR_INTERNAL_API 0x00001F44
1888
#define FRS_ERR_INTERNAL 0x00001F45
1889
#define FRS_ERR_SERVICE_COMM 0x00001F46
1890
#define FRS_ERR_INSUFFICIENT_PRIV 0x00001F47
1891
#define FRS_ERR_AUTHENTICATION 0x00001F48
1892
#define FRS_ERR_PARENT_INSUFFICIENT_PRIV 0x00001F49
1893
#define FRS_ERR_PARENT_AUTHENTICATION 0x00001F4A
1894
#define FRS_ERR_CHILD_TO_PARENT_COMM 0x00001F4B
1895
#define FRS_ERR_PARENT_TO_CHILD_COMM 0x00001F4C
1896
#define FRS_ERR_SYSVOL_POPULATE 0x00001F4D
1897
#define FRS_ERR_SYSVOL_POPULATE_TIMEOUT 0x00001F4E
1898
#define FRS_ERR_SYSVOL_IS_BUSY 0x00001F4F
1899
#define FRS_ERR_SYSVOL_DEMOTE 0x00001F50
1900
#define FRS_ERR_INVALID_SERVICE_PARAMETER 0x00001F51
1901
1902
/* System Error Codes (8200-8999) */
1903
1904
#define ERROR_DS_NOT_INSTALLED 0x00002008
1905
#define ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY 0x00002009
1906
#define ERROR_DS_NO_ATTRIBUTE_OR_VALUE 0x0000200A
1907
#define ERROR_DS_INVALID_ATTRIBUTE_SYNTAX 0x0000200B
1908
#define ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED 0x0000200C
1909
#define ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS 0x0000200D
1910
#define ERROR_DS_BUSY 0x0000200E
1911
#define ERROR_DS_UNAVAILABLE 0x0000200F
1912
#define ERROR_DS_NO_RIDS_ALLOCATED 0x00002010
1913
#define ERROR_DS_NO_MORE_RIDS 0x00002011
1914
#define ERROR_DS_INCORRECT_ROLE_OWNER 0x00002012
1915
#define ERROR_DS_RIDMGR_INIT_ERROR 0x00002013
1916
#define ERROR_DS_OBJ_CLASS_VIOLATION 0x00002014
1917
#define ERROR_DS_CANT_ON_NON_LEAF 0x00002015
1918
#define ERROR_DS_CANT_ON_RDN 0x00002016
1919
#define ERROR_DS_CANT_MOD_OBJ_CLASS 0x00002017
1920
#define ERROR_DS_CROSS_DOM_MOVE_ERROR 0x00002018
1921
#define ERROR_DS_GC_NOT_AVAILABLE 0x00002019
1922
#define ERROR_SHARED_POLICY 0x0000201A
1923
#define ERROR_POLICY_OBJECT_NOT_FOUND 0x0000201B
1924
#define ERROR_POLICY_ONLY_IN_DS 0x0000201C
1925
#define ERROR_PROMOTION_ACTIVE 0x0000201D
1926
#define ERROR_NO_PROMOTION_ACTIVE 0x0000201E
1927
#define ERROR_DS_OPERATIONS_ERROR 0x00002020
1928
#define ERROR_DS_PROTOCOL_ERROR 0x00002021
1929
#define ERROR_DS_TIMELIMIT_EXCEEDED 0x00002022
1930
#define ERROR_DS_SIZELIMIT_EXCEEDED 0x00002023
1931
#define ERROR_DS_ADMIN_LIMIT_EXCEEDED 0x00002024
1932
#define ERROR_DS_COMPARE_FALSE 0x00002025
1933
#define ERROR_DS_COMPARE_TRUE 0x00002026
1934
#define ERROR_DS_AUTH_METHOD_NOT_SUPPORTED 0x00002027
1935
#define ERROR_DS_STRONG_AUTH_REQUIRED 0x00002028
1936
#define ERROR_DS_INAPPROPRIATE_AUTH 0x00002029
1937
#define ERROR_DS_AUTH_UNKNOWN 0x0000202A
1938
#define ERROR_DS_REFERRAL 0x0000202B
1939
#define ERROR_DS_UNAVAILABLE_CRIT_EXTENSION 0x0000202C
1940
#define ERROR_DS_CONFIDENTIALITY_REQUIRED 0x0000202D
1941
#define ERROR_DS_INAPPROPRIATE_MATCHING 0x0000202E
1942
#define ERROR_DS_CONSTRAINT_VIOLATION 0x0000202F
1943
#define ERROR_DS_NO_SUCH_OBJECT 0x00002030
1944
#define ERROR_DS_ALIAS_PROBLEM 0x00002031
1945
#define ERROR_DS_INVALID_DN_SYNTAX 0x00002032
1946
#define ERROR_DS_IS_LEAF 0x00002033
1947
#define ERROR_DS_ALIAS_DEREF_PROBLEM 0x00002034
1948
#define ERROR_DS_UNWILLING_TO_PERFORM 0x00002035
1949
#define ERROR_DS_LOOP_DETECT 0x00002036
1950
#define ERROR_DS_NAMING_VIOLATION 0x00002037
1951
#define ERROR_DS_OBJECT_RESULTS_TOO_LARGE 0x00002038
1952
#define ERROR_DS_AFFECTS_MULTIPLE_DSAS 0x00002039
1953
#define ERROR_DS_SERVER_DOWN 0x0000203A
1954
#define ERROR_DS_LOCAL_ERROR 0x0000203B
1955
#define ERROR_DS_ENCODING_ERROR 0x0000203C
1956
#define ERROR_DS_DECODING_ERROR 0x0000203D
1957
#define ERROR_DS_FILTER_UNKNOWN 0x0000203E
1958
#define ERROR_DS_PARAM_ERROR 0x0000203F
1959
#define ERROR_DS_NOT_SUPPORTED 0x00002040
1960
#define ERROR_DS_NO_RESULTS_RETURNED 0x00002041
1961
#define ERROR_DS_CONTROL_NOT_FOUND 0x00002042
1962
#define ERROR_DS_CLIENT_LOOP 0x00002043
1963
#define ERROR_DS_REFERRAL_LIMIT_EXCEEDED 0x00002044
1964
#define ERROR_DS_SORT_CONTROL_MISSING 0x00002045
1965
#define ERROR_DS_OFFSET_RANGE_ERROR 0x00002046
1966
#define ERROR_DS_RIDMGR_DISABLED 0x00002047
1967
#define ERROR_DS_ROOT_MUST_BE_NC 0x0000206D
1968
#define ERROR_DS_ADD_REPLICA_INHIBITED 0x0000206E
1969
#define ERROR_DS_ATT_NOT_DEF_IN_SCHEMA 0x0000206F
1970
#define ERROR_DS_MAX_OBJ_SIZE_EXCEEDED 0x00002070
1971
#define ERROR_DS_OBJ_STRING_NAME_EXISTS 0x00002071
1972
#define ERROR_DS_NO_RDN_DEFINED_IN_SCHEMA 0x00002072
1973
#define ERROR_DS_RDN_DOESNT_MATCH_SCHEMA 0x00002073
1974
#define ERROR_DS_NO_REQUESTED_ATTS_FOUND 0x00002074
1975
#define ERROR_DS_USER_BUFFER_TO_SMALL 0x00002075
1976
#define ERROR_DS_ATT_IS_NOT_ON_OBJ 0x00002076
1977
#define ERROR_DS_ILLEGAL_MOD_OPERATION 0x00002077
1978
#define ERROR_DS_OBJ_TOO_LARGE 0x00002078
1979
#define ERROR_DS_BAD_INSTANCE_TYPE 0x00002079
1980
#define ERROR_DS_MASTERDSA_REQUIRED 0x0000207A
1981
#define ERROR_DS_OBJECT_CLASS_REQUIRED 0x0000207B
1982
#define ERROR_DS_MISSING_REQUIRED_ATT 0x0000207C
1983
#define ERROR_DS_ATT_NOT_DEF_FOR_CLASS 0x0000207D
1984
#define ERROR_DS_ATT_ALREADY_EXISTS 0x0000207E
1985
#define ERROR_DS_CANT_ADD_ATT_VALUES 0x00002080
1986
#define ERROR_DS_SINGLE_VALUE_CONSTRAINT 0x00002081
1987
#define ERROR_DS_RANGE_CONSTRAINT 0x00002082
1988
#define ERROR_DS_ATT_VAL_ALREADY_EXISTS 0x00002083
1989
#define ERROR_DS_CANT_REM_MISSING_ATT 0x00002084
1990
#define ERROR_DS_CANT_REM_MISSING_ATT_VAL 0x00002085
1991
#define ERROR_DS_ROOT_CANT_BE_SUBREF 0x00002086
1992
#define ERROR_DS_NO_CHAINING 0x00002087
1993
#define ERROR_DS_NO_CHAINED_EVAL 0x00002088
1994
#define ERROR_DS_NO_PARENT_OBJECT 0x00002089
1995
#define ERROR_DS_PARENT_IS_AN_ALIAS 0x0000208A
1996
#define ERROR_DS_CANT_MIX_MASTER_AND_REPS 0x0000208B
1997
#define ERROR_DS_CHILDREN_EXIST 0x0000208C
1998
#define ERROR_DS_OBJ_NOT_FOUND 0x0000208D
1999
#define ERROR_DS_ALIASED_OBJ_MISSING 0x0000208E
2000
#define ERROR_DS_BAD_NAME_SYNTAX 0x0000208F
2001
#define ERROR_DS_ALIAS_POINTS_TO_ALIAS 0x00002090
2002
#define ERROR_DS_CANT_DEREF_ALIAS 0x00002091
2003
#define ERROR_DS_OUT_OF_SCOPE 0x00002092
2004
#define ERROR_DS_OBJECT_BEING_REMOVED 0x00002093
2005
#define ERROR_DS_CANT_DELETE_DSA_OBJ 0x00002094
2006
#define ERROR_DS_GENERIC_ERROR 0x00002095
2007
#define ERROR_DS_DSA_MUST_BE_INT_MASTER 0x00002096
2008
#define ERROR_DS_CLASS_NOT_DSA 0x00002097
2009
#define ERROR_DS_INSUFF_ACCESS_RIGHTS 0x00002098
2010
#define ERROR_DS_ILLEGAL_SUPERIOR 0x00002099
2011
#define ERROR_DS_ATTRIBUTE_OWNED_BY_SAM 0x0000209A
2012
#define ERROR_DS_NAME_TOO_MANY_PARTS 0x0000209B
2013
#define ERROR_DS_NAME_TOO_LONG 0x0000209C
2014
#define ERROR_DS_NAME_VALUE_TOO_LONG 0x0000209D
2015
#define ERROR_DS_NAME_UNPARSEABLE 0x0000209E
2016
#define ERROR_DS_NAME_TYPE_UNKNOWN 0x0000209F
2017
#define ERROR_DS_NOT_AN_OBJECT 0x000020A0
2018
#define ERROR_DS_SEC_DESC_TOO_SHORT 0x000020A1
2019
#define ERROR_DS_SEC_DESC_INVALID 0x000020A2
2020
#define ERROR_DS_NO_DELETED_NAME 0x000020A3
2021
#define ERROR_DS_SUBREF_MUST_HAVE_PARENT 0x000020A4
2022
#define ERROR_DS_NCNAME_MUST_BE_NC 0x000020A5
2023
#define ERROR_DS_CANT_ADD_SYSTEM_ONLY 0x000020A6
2024
#define ERROR_DS_CLASS_MUST_BE_CONCRETE 0x000020A7
2025
#define ERROR_DS_INVALID_DMD 0x000020A8
2026
#define ERROR_DS_OBJ_GUID_EXISTS 0x000020A9
2027
#define ERROR_DS_NOT_ON_BACKLINK 0x000020AA
2028
#define ERROR_DS_NO_CROSSREF_FOR_NC 0x000020AB
2029
#define ERROR_DS_SHUTTING_DOWN 0x000020AC
2030
#define ERROR_DS_UNKNOWN_OPERATION 0x000020AD
2031
#define ERROR_DS_INVALID_ROLE_OWNER 0x000020AE
2032
#define ERROR_DS_COULDNT_CONTACT_FSMO 0x000020AF
2033
#define ERROR_DS_CROSS_NC_DN_RENAME 0x000020B0
2034
#define ERROR_DS_CANT_MOD_SYSTEM_ONLY 0x000020B1
2035
#define ERROR_DS_REPLICATOR_ONLY 0x000020B2
2036
#define ERROR_DS_OBJ_CLASS_NOT_DEFINED 0x000020B3
2037
#define ERROR_DS_OBJ_CLASS_NOT_SUBCLASS 0x000020B4
2038
#define ERROR_DS_NAME_REFERENCE_INVALID 0x000020B5
2039
#define ERROR_DS_CROSS_REF_EXISTS 0x000020B6
2040
#define ERROR_DS_CANT_DEL_MASTER_CROSSREF 0x000020B7
2041
#define ERROR_DS_SUBTREE_NOTIFY_NOT_NC_HEAD 0x000020B8
2042
#define ERROR_DS_NOTIFY_FILTER_TOO_COMPLEX 0x000020B9
2043
#define ERROR_DS_DUP_RDN 0x000020BA
2044
#define ERROR_DS_DUP_OID 0x000020BB
2045
#define ERROR_DS_DUP_MAPI_ID 0x000020BC
2046
#define ERROR_DS_DUP_SCHEMA_ID_GUID 0x000020BD
2047
#define ERROR_DS_DUP_LDAP_DISPLAY_NAME 0x000020BE
2048
#define ERROR_DS_SEMANTIC_ATT_TEST 0x000020BF
2049
#define ERROR_DS_SYNTAX_MISMATCH 0x000020C0
2050
#define ERROR_DS_EXISTS_IN_MUST_HAVE 0x000020C1
2051
#define ERROR_DS_EXISTS_IN_MAY_HAVE 0x000020C2
2052
#define ERROR_DS_NONEXISTENT_MAY_HAVE 0x000020C3
2053
#define ERROR_DS_NONEXISTENT_MUST_HAVE 0x000020C4
2054
#define ERROR_DS_AUX_CLS_TEST_FAIL 0x000020C5
2055
#define ERROR_DS_NONEXISTENT_POSS_SUP 0x000020C6
2056
#define ERROR_DS_SUB_CLS_TEST_FAIL 0x000020C7
2057
#define ERROR_DS_BAD_RDN_ATT_ID_SYNTAX 0x000020C8
2058
#define ERROR_DS_EXISTS_IN_AUX_CLS 0x000020C9
2059
#define ERROR_DS_EXISTS_IN_SUB_CLS 0x000020CA
2060
#define ERROR_DS_EXISTS_IN_POSS_SUP 0x000020CB
2061
#define ERROR_DS_RECALCSCHEMA_FAILED 0x000020CC
2062
#define ERROR_DS_TREE_DELETE_NOT_FINISHED 0x000020CD
2063
#define ERROR_DS_CANT_DELETE 0x000020CE
2064
#define ERROR_DS_ATT_SCHEMA_REQ_ID 0x000020CF
2065
#define ERROR_DS_BAD_ATT_SCHEMA_SYNTAX 0x000020D0
2066
#define ERROR_DS_CANT_CACHE_ATT 0x000020D1
2067
#define ERROR_DS_CANT_CACHE_CLASS 0x000020D2
2068
#define ERROR_DS_CANT_REMOVE_ATT_CACHE 0x000020D3
2069
#define ERROR_DS_CANT_REMOVE_CLASS_CACHE 0x000020D4
2070
#define ERROR_DS_CANT_RETRIEVE_DN 0x000020D5
2071
#define ERROR_DS_MISSING_SUPREF 0x000020D6
2072
#define ERROR_DS_CANT_RETRIEVE_INSTANCE 0x000020D7
2073
#define ERROR_DS_CODE_INCONSISTENCY 0x000020D8
2074
#define ERROR_DS_DATABASE_ERROR 0x000020D9
2075
#define ERROR_DS_GOVERNSID_MISSING 0x000020DA
2076
#define ERROR_DS_MISSING_EXPECTED_ATT 0x000020DB
2077
#define ERROR_DS_NCNAME_MISSING_CR_REF 0x000020DC
2078
#define ERROR_DS_SECURITY_CHECKING_ERROR 0x000020DD
2079
#define ERROR_DS_SCHEMA_NOT_LOADED 0x000020DE
2080
#define ERROR_DS_SCHEMA_ALLOC_FAILED 0x000020DF
2081
#define ERROR_DS_ATT_SCHEMA_REQ_SYNTAX 0x000020E0
2082
#define ERROR_DS_GCVERIFY_ERROR 0x000020E1
2083
#define ERROR_DS_DRA_SCHEMA_MISMATCH 0x000020E2
2084
#define ERROR_DS_CANT_FIND_DSA_OBJ 0x000020E3
2085
#define ERROR_DS_CANT_FIND_EXPECTED_NC 0x000020E4
2086
#define ERROR_DS_CANT_FIND_NC_IN_CACHE 0x000020E5
2087
#define ERROR_DS_CANT_RETRIEVE_CHILD 0x000020E6
2088
#define ERROR_DS_SECURITY_ILLEGAL_MODIFY 0x000020E7
2089
#define ERROR_DS_CANT_REPLACE_HIDDEN_REC 0x000020E8
2090
#define ERROR_DS_BAD_HIERARCHY_FILE 0x000020E9
2091
#define ERROR_DS_BUILD_HIERARCHY_TABLE_FAILED 0x000020EA
2092
#define ERROR_DS_CONFIG_PARAM_MISSING 0x000020EB
2093
#define ERROR_DS_COUNTING_AB_INDICES_FAILED 0x000020EC
2094
#define ERROR_DS_HIERARCHY_TABLE_MALLOC_FAILED 0x000020ED
2095
#define ERROR_DS_INTERNAL_FAILURE 0x000020EE
2096
#define ERROR_DS_UNKNOWN_ERROR 0x000020EF
2097
#define ERROR_DS_ROOT_REQUIRES_CLASS_TOP 0x000020F0
2098
#define ERROR_DS_REFUSING_FSMO_ROLES 0x000020F1
2099
#define ERROR_DS_MISSING_FSMO_SETTINGS 0x000020F2
2100
#define ERROR_DS_UNABLE_TO_SURRENDER_ROLES 0x000020F3
2101
#define ERROR_DS_DRA_GENERIC 0x000020F4
2102
#define ERROR_DS_DRA_INVALID_PARAMETER 0x000020F5
2103
#define ERROR_DS_DRA_BUSY 0x000020F6
2104
#define ERROR_DS_DRA_BAD_DN 0x000020F7
2105
#define ERROR_DS_DRA_BAD_NC 0x000020F8
2106
#define ERROR_DS_DRA_DN_EXISTS 0x000020F9
2107
#define ERROR_DS_DRA_INTERNAL_ERROR 0x000020FA
2108
#define ERROR_DS_DRA_INCONSISTENT_DIT 0x000020FB
2109
#define ERROR_DS_DRA_CONNECTION_FAILED 0x000020FC
2110
#define ERROR_DS_DRA_BAD_INSTANCE_TYPE 0x000020FD
2111
#define ERROR_DS_DRA_OUT_OF_MEM 0x000020FE
2112
#define ERROR_DS_DRA_MAIL_PROBLEM 0x000020FF
2113
#define ERROR_DS_DRA_REF_ALREADY_EXISTS 0x00002100
2114
#define ERROR_DS_DRA_REF_NOT_FOUND 0x00002101
2115
#define ERROR_DS_DRA_OBJ_IS_REP_SOURCE 0x00002102
2116
#define ERROR_DS_DRA_DB_ERROR 0x00002103
2117
#define ERROR_DS_DRA_NO_REPLICA 0x00002104
2118
#define ERROR_DS_DRA_ACCESS_DENIED 0x00002105
2119
#define ERROR_DS_DRA_NOT_SUPPORTED 0x00002106
2120
#define ERROR_DS_DRA_RPC_CANCELLED 0x00002107
2121
#define ERROR_DS_DRA_SOURCE_DISABLED 0x00002108
2122
#define ERROR_DS_DRA_SINK_DISABLED 0x00002109
2123
#define ERROR_DS_DRA_NAME_COLLISION 0x0000210A
2124
#define ERROR_DS_DRA_SOURCE_REINSTALLED 0x0000210B
2125
#define ERROR_DS_DRA_MISSING_PARENT 0x0000210C
2126
#define ERROR_DS_DRA_PREEMPTED 0x0000210D
2127
#define ERROR_DS_DRA_ABANDON_SYNC 0x0000210E
2128
#define ERROR_DS_DRA_SHUTDOWN 0x0000210F
2129
#define ERROR_DS_DRA_INCOMPATIBLE_PARTIAL_SET 0x00002110
2130
#define ERROR_DS_DRA_SOURCE_IS_PARTIAL_REPLICA 0x00002111
2131
#define ERROR_DS_DRA_EXTN_CONNECTION_FAILED 0x00002112
2132
#define ERROR_DS_INSTALL_SCHEMA_MISMATCH 0x00002113
2133
#define ERROR_DS_DUP_LINK_ID 0x00002114
2134
#define ERROR_DS_NAME_ERROR_RESOLVING 0x00002115
2135
#define ERROR_DS_NAME_ERROR_NOT_FOUND 0x00002116
2136
#define ERROR_DS_NAME_ERROR_NOT_UNIQUE 0x00002117
2137
#define ERROR_DS_NAME_ERROR_NO_MAPPING 0x00002118
2138
#define ERROR_DS_NAME_ERROR_DOMAIN_ONLY 0x00002119
2139
#define ERROR_DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING 0x0000211A
2140
#define ERROR_DS_CONSTRUCTED_ATT_MOD 0x0000211B
2141
#define ERROR_DS_WRONG_OM_OBJ_CLASS 0x0000211C
2142
#define ERROR_DS_DRA_REPL_PENDING 0x0000211D
2143
#define ERROR_DS_DS_REQUIRED 0x0000211E
2144
#define ERROR_DS_INVALID_LDAP_DISPLAY_NAME 0x0000211F
2145
#define ERROR_DS_NON_BASE_SEARCH 0x00002120
2146
#define ERROR_DS_CANT_RETRIEVE_ATTS 0x00002121
2147
#define ERROR_DS_BACKLINK_WITHOUT_LINK 0x00002122
2148
#define ERROR_DS_EPOCH_MISMATCH 0x00002123
2149
#define ERROR_DS_SRC_NAME_MISMATCH 0x00002124
2150
#define ERROR_DS_SRC_AND_DST_NC_IDENTICAL 0x00002125
2151
#define ERROR_DS_DST_NC_MISMATCH 0x00002126
2152
#define ERROR_DS_NOT_AUTHORITIVE_FOR_DST_NC 0x00002127
2153
#define ERROR_DS_SRC_GUID_MISMATCH 0x00002128
2154
#define ERROR_DS_CANT_MOVE_DELETED_OBJECT 0x00002129
2155
#define ERROR_DS_PDC_OPERATION_IN_PROGRESS 0x0000212A
2156
#define ERROR_DS_CROSS_DOMAIN_CLEANUP_REQD 0x0000212B
2157
#define ERROR_DS_ILLEGAL_XDOM_MOVE_OPERATION 0x0000212C
2158
#define ERROR_DS_CANT_WITH_ACCT_GROUP_MEMBERSHPS 0x0000212D
2159
#define ERROR_DS_NC_MUST_HAVE_NC_PARENT 0x0000212E
2160
#define ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE 0x0000212F
2161
#define ERROR_DS_DST_DOMAIN_NOT_NATIVE 0x00002130
2162
#define ERROR_DS_MISSING_INFRASTRUCTURE_CONTAINER 0x00002131
2163
#define ERROR_DS_CANT_MOVE_ACCOUNT_GROUP 0x00002132
2164
#define ERROR_DS_CANT_MOVE_RESOURCE_GROUP 0x00002133
2165
#define ERROR_DS_INVALID_SEARCH_FLAG 0x00002134
2166
#define ERROR_DS_NO_TREE_DELETE_ABOVE_NC 0x00002135
2167
#define ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE 0x00002136
2168
#define ERROR_DS_COULDNT_IDENTIFY_OBJECTS_FOR_TREE_DELETE 0x00002137
2169
#define ERROR_DS_SAM_INIT_FAILURE 0x00002138
2170
#define ERROR_DS_SENSITIVE_GROUP_VIOLATION 0x00002139
2171
#define ERROR_DS_CANT_MOD_PRIMARYGROUPID 0x0000213A
2172
#define ERROR_DS_ILLEGAL_BASE_SCHEMA_MOD 0x0000213B
2173
#define ERROR_DS_NONSAFE_SCHEMA_CHANGE 0x0000213C
2174
#define ERROR_DS_SCHEMA_UPDATE_DISALLOWED 0x0000213D
2175
#define ERROR_DS_CANT_CREATE_UNDER_SCHEMA 0x0000213E
2176
#define ERROR_DS_INSTALL_NO_SRC_SCH_VERSION 0x0000213F
2177
#define ERROR_DS_INSTALL_NO_SCH_VERSION_IN_INIFILE 0x00002140
2178
#define ERROR_DS_INVALID_GROUP_TYPE 0x00002141
2179
#define ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN 0x00002142
2180
#define ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN 0x00002143
2181
#define ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER 0x00002144
2182
#define ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER 0x00002145
2183
#define ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER 0x00002146
2184
#define ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER 0x00002147
2185
#define ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER 0x00002148
2186
#define ERROR_DS_HAVE_PRIMARY_MEMBERS 0x00002149
2187
#define ERROR_DS_STRING_SD_CONVERSION_FAILED 0x0000214A
2188
#define ERROR_DS_NAMING_MASTER_GC 0x0000214B
2189
#define ERROR_DS_DNS_LOOKUP_FAILURE 0x0000214C
2190
#define ERROR_DS_COULDNT_UPDATE_SPNS 0x0000214D
2191
#define ERROR_DS_CANT_RETRIEVE_SD 0x0000214E
2192
#define ERROR_DS_KEY_NOT_UNIQUE 0x0000214F
2193
#define ERROR_DS_WRONG_LINKED_ATT_SYNTAX 0x00002150
2194
#define ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD 0x00002151
2195
#define ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY 0x00002152
2196
#define ERROR_DS_CANT_START 0x00002153
2197
#define ERROR_DS_INIT_FAILURE 0x00002154
2198
#define ERROR_DS_NO_PKT_PRIVACY_ON_CONNECTION 0x00002155
2199
#define ERROR_DS_SOURCE_DOMAIN_IN_FOREST 0x00002156
2200
#define ERROR_DS_DESTINATION_DOMAIN_NOT_IN_FOREST 0x00002157
2201
#define ERROR_DS_DESTINATION_AUDITING_NOT_ENABLED 0x00002158
2202
#define ERROR_DS_CANT_FIND_DC_FOR_SRC_DOMAIN 0x00002159
2203
#define ERROR_DS_SRC_OBJ_NOT_GROUP_OR_USER 0x0000215A
2204
#define ERROR_DS_SRC_SID_EXISTS_IN_FOREST 0x0000215B
2205
#define ERROR_DS_SRC_AND_DST_OBJECT_CLASS_MISMATCH 0x0000215C
2206
#define ERROR_SAM_INIT_FAILURE 0x0000215D
2207
#define ERROR_DS_DRA_SCHEMA_INFO_SHIP 0x0000215E
2208
#define ERROR_DS_DRA_SCHEMA_CONFLICT 0x0000215F
2209
#define ERROR_DS_DRA_EARLIER_SCHEMA_CONFLICT 0x00002160
2210
#define ERROR_DS_DRA_OBJ_NC_MISMATCH 0x00002161
2211
#define ERROR_DS_NC_STILL_HAS_DSAS 0x00002162
2212
#define ERROR_DS_GC_REQUIRED 0x00002163
2213
#define ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY 0x00002164
2214
#define ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS 0x00002165
2215
#define ERROR_DS_CANT_ADD_TO_GC 0x00002166
2216
#define ERROR_DS_NO_CHECKPOINT_WITH_PDC 0x00002167
2217
#define ERROR_DS_SOURCE_AUDITING_NOT_ENABLED 0x00002168
2218
#define ERROR_DS_CANT_CREATE_IN_NONDOMAIN_NC 0x00002169
2219
#define ERROR_DS_INVALID_NAME_FOR_SPN 0x0000216A
2220
#define ERROR_DS_FILTER_USES_CONTRUCTED_ATTRS 0x0000216B
2221
#define ERROR_DS_UNICODEPWD_NOT_IN_QUOTES 0x0000216C
2222
#define ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED 0x0000216D
2223
#define ERROR_DS_MUST_BE_RUN_ON_DST_DC 0x0000216E
2224
#define ERROR_DS_SRC_DC_MUST_BE_SP4_OR_GREATER 0x0000216F
2225
#define ERROR_DS_CANT_TREE_DELETE_CRITICAL_OBJ 0x00002170
2226
#define ERROR_DS_INIT_FAILURE_CONSOLE 0x00002171
2227
#define ERROR_DS_SAM_INIT_FAILURE_CONSOLE 0x00002172
2228
#define ERROR_DS_FOREST_VERSION_TOO_HIGH 0x00002173
2229
#define ERROR_DS_DOMAIN_VERSION_TOO_HIGH 0x00002174
2230
#define ERROR_DS_FOREST_VERSION_TOO_LOW 0x00002175
2231
#define ERROR_DS_DOMAIN_VERSION_TOO_LOW 0x00002176
2232
#define ERROR_DS_INCOMPATIBLE_VERSION 0x00002177
2233
#define ERROR_DS_LOW_DSA_VERSION 0x00002178
2234
#define ERROR_DS_NO_BEHAVIOR_VERSION_IN_MIXEDDOMAIN 0x00002179
2235
#define ERROR_DS_NOT_SUPPORTED_SORT_ORDER 0x0000217A
2236
#define ERROR_DS_NAME_NOT_UNIQUE 0x0000217B
2237
#define ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4 0x0000217C
2238
#define ERROR_DS_OUT_OF_VERSION_STORE 0x0000217D
2239
#define ERROR_DS_INCOMPATIBLE_CONTROLS_USED 0x0000217E
2240
#define ERROR_DS_NO_REF_DOMAIN 0x0000217F
2241
#define ERROR_DS_RESERVED_LINK_ID 0x00002180
2242
#define ERROR_DS_LINK_ID_NOT_AVAILABLE 0x00002181
2243
#define ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER 0x00002182
2244
#define ERROR_DS_MODIFYDN_DISALLOWED_BY_INSTANCE_TYPE 0x00002183
2245
#define ERROR_DS_NO_OBJECT_MOVE_IN_SCHEMA_NC 0x00002184
2246
#define ERROR_DS_MODIFYDN_DISALLOWED_BY_FLAG 0x00002185
2247
#define ERROR_DS_MODIFYDN_WRONG_GRANDPARENT 0x00002186
2248
#define ERROR_DS_NAME_ERROR_TRUST_REFERRAL 0x00002187
2249
#define ERROR_NOT_SUPPORTED_ON_STANDARD_SERVER 0x00002188
2250
#define ERROR_DS_CANT_ACCESS_REMOTE_PART_OF_AD 0x00002189
2251
#define ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE_V2 0x0000218A
2252
#define ERROR_DS_THREAD_LIMIT_EXCEEDED 0x0000218B
2253
#define ERROR_DS_NOT_CLOSEST 0x0000218C
2254
#define ERROR_DS_CANT_DERIVE_SPN_WITHOUT_SERVER_REF 0x0000218D
2255
#define ERROR_DS_SINGLE_USER_MODE_FAILED 0x0000218E
2256
#define ERROR_DS_NTDSCRIPT_SYNTAX_ERROR 0x0000218F
2257
#define ERROR_DS_NTDSCRIPT_PROCESS_ERROR 0x00002190
2258
#define ERROR_DS_DIFFERENT_REPL_EPOCHS 0x00002191
2259
#define ERROR_DS_DRS_EXTENSIONS_CHANGED 0x00002192
2260
#define ERROR_DS_REPLICA_SET_CHANGE_NOT_ALLOWED_ON_DISABLED_CR 0x00002193
2261
#define ERROR_DS_NO_MSDS_INTID 0x00002194
2262
#define ERROR_DS_DUP_MSDS_INTID 0x00002195
2263
#define ERROR_DS_EXISTS_IN_RDNATTID 0x00002196
2264
#define ERROR_DS_AUTHORIZATION_FAILED 0x00002197
2265
#define ERROR_DS_INVALID_SCRIPT 0x00002198
2266
#define ERROR_DS_REMOTE_CROSSREF_OP_FAILED 0x00002199
2267
#define ERROR_DS_CROSS_REF_BUSY 0x0000219A
2268
#define ERROR_DS_CANT_DERIVE_SPN_FOR_DELETED_DOMAIN 0x0000219B
2269
#define ERROR_DS_CANT_DEMOTE_WITH_WRITEABLE_NC 0x0000219C
2270
#define ERROR_DS_DUPLICATE_ID_FOUND 0x0000219D
2271
#define ERROR_DS_INSUFFICIENT_ATTR_TO_CREATE_OBJECT 0x0000219E
2272
#define ERROR_DS_GROUP_CONVERSION_ERROR 0x0000219F
2273
#define ERROR_DS_CANT_MOVE_APP_BASIC_GROUP 0x000021A0
2274
#define ERROR_DS_CANT_MOVE_APP_QUERY_GROUP 0x000021A1
2275
#define ERROR_DS_ROLE_NOT_VERIFIED 0x000021A2
2276
#define ERROR_DS_WKO_CONTAINER_CANNOT_BE_SPECIAL 0x000021A3
2277
#define ERROR_DS_DOMAIN_RENAME_IN_PROGRESS 0x000021A4
2278
#define ERROR_DS_EXISTING_AD_CHILD_NC 0x000021A5
2279
#define ERROR_DS_REPL_LIFETIME_EXCEEDED 0x000021A6
2280
#define ERROR_DS_DISALLOWED_IN_SYSTEM_CONTAINER 0x000021A7
2281
#define ERROR_DS_LDAP_SEND_QUEUE_FULL 0x000021A8
2282
#define ERROR_DS_DRA_OUT_SCHEDULE_WINDOW 0x000021A9
2283
#define ERROR_DS_POLICY_NOT_KNOWN 0x000021AA
2284
#define ERROR_NO_SITE_SETTINGS_OBJECT 0x000021AB
2285
#define ERROR_NO_SECRETS 0x000021AC
2286
#define ERROR_NO_WRITABLE_DC_FOUND 0x000021AD
2287
#define ERROR_DS_NO_SERVER_OBJECT 0x000021AE
2288
#define ERROR_DS_NO_NTDSA_OBJECT 0x000021AF
2289
#define ERROR_DS_NON_ASQ_SEARCH 0x000021B0
2290
#define ERROR_DS_AUDIT_FAILURE 0x000021B1
2291
#define ERROR_DS_INVALID_SEARCH_FLAG_SUBTREE 0x000021B2
2292
#define ERROR_DS_INVALID_SEARCH_FLAG_TUPLE 0x000021B3
2293
#define ERROR_DS_HIERARCHY_TABLE_TOO_DEEP 0x000021B4
2294
#define ERROR_DS_DRA_CORRUPT_UTD_VECTOR 0x000021B5
2295
#define ERROR_DS_DRA_SECRETS_DENIED 0x000021B6
2296
#define ERROR_DS_RESERVED_MAPI_ID 0x000021B7
2297
#define ERROR_DS_MAPI_ID_NOT_AVAILABLE 0x000021B8
2298
#define ERROR_DS_DRA_MISSING_KRBTGT_SECRET 0x000021B9
2299
#define ERROR_DS_DOMAIN_NAME_EXISTS_IN_FOREST 0x000021BA
2300
#define ERROR_DS_FLAT_NAME_EXISTS_IN_FOREST 0x000021BB
2301
#define ERROR_INVALID_USER_PRINCIPAL_NAME 0x000021BC
2302
#define ERROR_DS_OID_MAPPED_GROUP_CANT_HAVE_MEMBERS 0x000021BD
2303
#define ERROR_DS_OID_NOT_FOUND 0x000021BE
2304
#define ERROR_DS_DRA_RECYCLED_TARGET 0x000021BF
2305
#define ERROR_DS_DISALLOWED_NC_REDIRECT 0x000021C0
2306
#define ERROR_DS_HIGH_ADLDS_FFL 0x000021C1
2307
#define ERROR_DS_HIGH_DSA_VERSION 0x000021C2
2308
#define ERROR_DS_LOW_ADLDS_FFL 0x000021C3
2309
#define ERROR_DOMAIN_SID_SAME_AS_LOCAL_WORKSTATION 0x000021C4
2310
#define ERROR_DS_UNDELETE_SAM_VALIDATION_FAILED 0x000021C5
2311
#define ERROR_INCORRECT_ACCOUNT_TYPE 0x000021C6
2312
2313
/* System Error Codes (9000-11999) */
2314
2315
#define DNS_ERROR_RCODE_FORMAT_ERROR 0x00002329
2316
#define DNS_ERROR_RCODE_SERVER_FAILURE 0x0000232A
2317
#define DNS_ERROR_RCODE_NAME_ERROR 0x0000232B
2318
#define DNS_ERROR_RCODE_NOT_IMPLEMENTED 0x0000232C
2319
#define DNS_ERROR_RCODE_REFUSED 0x0000232D
2320
#define DNS_ERROR_RCODE_YXDOMAIN 0x0000232E
2321
#define DNS_ERROR_RCODE_YXRRSET 0x0000232F
2322
#define DNS_ERROR_RCODE_NXRRSET 0x00002330
2323
#define DNS_ERROR_RCODE_NOTAUTH 0x00002331
2324
#define DNS_ERROR_RCODE_NOTZONE 0x00002332
2325
#define DNS_ERROR_RCODE_BADSIG 0x00002338
2326
#define DNS_ERROR_RCODE_BADKEY 0x00002339
2327
#define DNS_ERROR_RCODE_BADTIME 0x0000233A
2328
#define DNS_ERROR_KEYMASTER_REQUIRED 0x0000238D
2329
#define DNS_ERROR_NOT_ALLOWED_ON_SIGNED_ZONE 0x0000238E
2330
#define DNS_ERROR_NSEC3_INCOMPATIBLE_WITH_RSA_SHA1 0x0000238F
2331
#define DNS_ERROR_NOT_ENOUGH_SIGNING_KEY_DESCRIPTORS 0x00002390
2332
#define DNS_ERROR_UNSUPPORTED_ALGORITHM 0x00002391
2333
#define DNS_ERROR_INVALID_KEY_SIZE 0x00002392
2334
#define DNS_ERROR_SIGNING_KEY_NOT_ACCESSIBLE 0x00002393
2335
#define DNS_ERROR_KSP_DOES_NOT_SUPPORT_PROTECTION 0x00002394
2336
#define DNS_ERROR_UNEXPECTED_DATA_PROTECTION_ERROR 0x00002395
2337
#define DNS_ERROR_UNEXPECTED_CNG_ERROR 0x00002396
2338
#define DNS_ERROR_UNKNOWN_SIGNING_PARAMETER_VERSION 0x00002397
2339
#define DNS_ERROR_KSP_NOT_ACCESSIBLE 0x00002398
2340
#define DNS_ERROR_TOO_MANY_SKDS 0x00002399
2341
#define DNS_ERROR_INVALID_ROLLOVER_PERIOD 0x0000239A
2342
#define DNS_ERROR_INVALID_INITIAL_ROLLOVER_OFFSET 0x0000239B
2343
#define DNS_ERROR_ROLLOVER_IN_PROGRESS 0x0000239C
2344
#define DNS_ERROR_STANDBY_KEY_NOT_PRESENT 0x0000239D
2345
#define DNS_ERROR_NOT_ALLOWED_ON_ZSK 0x0000239E
2346
#define DNS_ERROR_NOT_ALLOWED_ON_ACTIVE_SKD 0x0000239F
2347
#define DNS_ERROR_ROLLOVER_ALREADY_QUEUED 0x000023A0
2348
#define DNS_ERROR_NOT_ALLOWED_ON_UNSIGNED_ZONE 0x000023A1
2349
#define DNS_ERROR_BAD_KEYMASTER 0x000023A2
2350
#define DNS_ERROR_INVALID_SIGNATURE_VALIDITY_PERIOD 0x000023A3
2351
#define DNS_ERROR_INVALID_NSEC3_ITERATION_COUNT 0x000023A4
2352
#define DNS_ERROR_DNSSEC_IS_DISABLED 0x000023A5
2353
#define DNS_ERROR_INVALID_XML 0x000023A6
2354
#define DNS_ERROR_NO_VALID_TRUST_ANCHORS 0x000023A7
2355
#define DNS_ERROR_ROLLOVER_NOT_POKEABLE 0x000023A8
2356
#define DNS_ERROR_NSEC3_NAME_COLLISION 0x000023A9
2357
#define DNS_ERROR_NSEC_INCOMPATIBLE_WITH_NSEC3_RSA_SHA1 0x000023AA
2358
#define DNS_INFO_NO_RECORDS 0x0000251D
2359
#define DNS_ERROR_BAD_PACKET 0x0000251E
2360
#define DNS_ERROR_NO_PACKET 0x0000251F
2361
#define DNS_ERROR_RCODE 0x00002520
2362
#define DNS_ERROR_UNSECURE_PACKET 0x00002521
2363
#define DNS_REQUEST_PENDING 0x00002522
2364
#define DNS_ERROR_INVALID_TYPE 0x0000254F
2365
#define DNS_ERROR_INVALID_IP_ADDRESS 0x00002550
2366
#define DNS_ERROR_INVALID_PROPERTY 0x00002551
2367
#define DNS_ERROR_TRY_AGAIN_LATER 0x00002552
2368
#define DNS_ERROR_NOT_UNIQUE 0x00002553
2369
#define DNS_ERROR_NON_RFC_NAME 0x00002554
2370
#define DNS_STATUS_FQDN 0x00002555
2371
#define DNS_STATUS_DOTTED_NAME 0x00002556
2372
#define DNS_STATUS_SINGLE_PART_NAME 0x00002557
2373
#define DNS_ERROR_INVALID_NAME_CHAR 0x00002558
2374
#define DNS_ERROR_NUMERIC_NAME 0x00002559
2375
#define DNS_ERROR_NOT_ALLOWED_ON_ROOT_SERVER 0x0000255A
2376
#define DNS_ERROR_NOT_ALLOWED_UNDER_DELEGATION 0x0000255B
2377
#define DNS_ERROR_CANNOT_FIND_ROOT_HINTS 0x0000255C
2378
#define DNS_ERROR_INCONSISTENT_ROOT_HINTS 0x0000255D
2379
#define DNS_ERROR_DWORD_VALUE_TOO_SMALL 0x0000255E
2380
#define DNS_ERROR_DWORD_VALUE_TOO_LARGE 0x0000255F
2381
#define DNS_ERROR_BACKGROUND_LOADING 0x00002560
2382
#define DNS_ERROR_NOT_ALLOWED_ON_RODC 0x00002561
2383
#define DNS_ERROR_NOT_ALLOWED_UNDER_DNAME 0x00002562
2384
#define DNS_ERROR_DELEGATION_REQUIRED 0x00002563
2385
#define DNS_ERROR_INVALID_POLICY_TABLE 0x00002564
2386
#define DNS_ERROR_ZONE_DOES_NOT_EXIST 0x00002581
2387
#define DNS_ERROR_NO_ZONE_INFO 0x00002582
2388
#define DNS_ERROR_INVALID_ZONE_OPERATION 0x00002583
2389
#define DNS_ERROR_ZONE_CONFIGURATION_ERROR 0x00002584
2390
#define DNS_ERROR_ZONE_HAS_NO_SOA_RECORD 0x00002585
2391
#define DNS_ERROR_ZONE_HAS_NO_NS_RECORDS 0x00002586
2392
#define DNS_ERROR_ZONE_LOCKED 0x00002587
2393
#define DNS_ERROR_ZONE_CREATION_FAILED 0x00002588
2394
#define DNS_ERROR_ZONE_ALREADY_EXISTS 0x00002589
2395
#define DNS_ERROR_AUTOZONE_ALREADY_EXISTS 0x0000258A
2396
#define DNS_ERROR_INVALID_ZONE_TYPE 0x0000258B
2397
#define DNS_ERROR_SECONDARY_REQUIRES_MASTER_IP 0x0000258C
2398
#define DNS_ERROR_ZONE_NOT_SECONDARY 0x0000258D
2399
#define DNS_ERROR_NEED_SECONDARY_ADDRESSES 0x0000258E
2400
#define DNS_ERROR_WINS_INIT_FAILED 0x0000258F
2401
#define DNS_ERROR_NEED_WINS_SERVERS 0x00002590
2402
#define DNS_ERROR_NBSTAT_INIT_FAILED 0x00002591
2403
#define DNS_ERROR_SOA_DELETE_INVALID 0x00002592
2404
#define DNS_ERROR_FORWARDER_ALREADY_EXISTS 0x00002593
2405
#define DNS_ERROR_ZONE_REQUIRES_MASTER_IP 0x00002594
2406
#define DNS_ERROR_ZONE_IS_SHUTDOWN 0x00002595
2407
#define DNS_ERROR_ZONE_LOCKED_FOR_SIGNING 0x00002596
2408
#define DNS_ERROR_PRIMARY_REQUIRES_DATAFILE 0x000025B3
2409
#define DNS_ERROR_INVALID_DATAFILE_NAME 0x000025B4
2410
#define DNS_ERROR_DATAFILE_OPEN_FAILURE 0x000025B5
2411
#define DNS_ERROR_FILE_WRITEBACK_FAILED 0x000025B6
2412
#define DNS_ERROR_DATAFILE_PARSING 0x000025B7
2413
#define DNS_ERROR_RECORD_DOES_NOT_EXIST 0x000025E5
2414
#define DNS_ERROR_RECORD_FORMAT 0x000025E6
2415
#define DNS_ERROR_NODE_CREATION_FAILED 0x000025E7
2416
#define DNS_ERROR_UNKNOWN_RECORD_TYPE 0x000025E8
2417
#define DNS_ERROR_RECORD_TIMED_OUT 0x000025E9
2418
#define DNS_ERROR_NAME_NOT_IN_ZONE 0x000025EA
2419
#define DNS_ERROR_CNAME_LOOP 0x000025EB
2420
#define DNS_ERROR_NODE_IS_CNAME 0x000025EC
2421
#define DNS_ERROR_CNAME_COLLISION 0x000025ED
2422
#define DNS_ERROR_RECORD_ONLY_AT_ZONE_ROOT 0x000025EE
2423
#define DNS_ERROR_RECORD_ALREADY_EXISTS 0x000025EF
2424
#define DNS_ERROR_SECONDARY_DATA 0x000025F0
2425
#define DNS_ERROR_NO_CREATE_CACHE_DATA 0x000025F1
2426
#define DNS_ERROR_NAME_DOES_NOT_EXIST 0x000025F2
2427
#define DNS_WARNING_PTR_CREATE_FAILED 0x000025F3
2428
#define DNS_WARNING_DOMAIN_UNDELETED 0x000025F4
2429
#define DNS_ERROR_DS_UNAVAILABLE 0x000025F5
2430
#define DNS_ERROR_DS_ZONE_ALREADY_EXISTS 0x000025F6
2431
#define DNS_ERROR_NO_BOOTFILE_IF_DS_ZONE 0x000025F7
2432
#define DNS_ERROR_NODE_IS_DNAME 0x000025F8
2433
#define DNS_ERROR_DNAME_COLLISION 0x000025F9
2434
#define DNS_ERROR_ALIAS_LOOP 0x000025FA
2435
#define DNS_INFO_AXFR_COMPLETE 0x00002617
2436
#define DNS_ERROR_AXFR 0x00002618
2437
#define DNS_INFO_ADDED_LOCAL_WINS 0x00002619
2438
#define DNS_STATUS_CONTINUE_NEEDED 0x00002649
2439
#define DNS_ERROR_NO_TCPIP 0x0000267B
2440
#define DNS_ERROR_NO_DNS_SERVERS 0x0000267C
2441
#define DNS_ERROR_DP_DOES_NOT_EXIST 0x000026AD
2442
#define DNS_ERROR_DP_ALREADY_EXISTS 0x000026AE
2443
#define DNS_ERROR_DP_NOT_ENLISTED 0x000026AF
2444
#define DNS_ERROR_DP_ALREADY_ENLISTED 0x000026B0
2445
#define DNS_ERROR_DP_NOT_AVAILABLE 0x000026B1
2446
#define DNS_ERROR_DP_FSMO_ERROR 0x000026B2
2447
0
#define WSAEINTR 0x00002714
2448
0
#define WSAEBADF 0x00002719
2449
0
#define WSAEACCES 0x0000271D
2450
0
#define WSAEFAULT 0x0000271E
2451
0
#define WSAEINVAL 0x00002726
2452
0
#define WSAEMFILE 0x00002728
2453
0
#define WSAEWOULDBLOCK 0x00002733
2454
0
#define WSAEINPROGRESS 0x00002734
2455
0
#define WSAEALREADY 0x00002735
2456
0
#define WSAENOTSOCK 0x00002736
2457
0
#define WSAEDESTADDRREQ 0x00002737
2458
0
#define WSAEMSGSIZE 0x00002738
2459
0
#define WSAEPROTOTYPE 0x00002739
2460
0
#define WSAENOPROTOOPT 0x0000273A
2461
0
#define WSAEPROTONOSUPPORT 0x0000273B
2462
0
#define WSAESOCKTNOSUPPORT 0x0000273C
2463
0
#define WSAEOPNOTSUPP 0x0000273D
2464
0
#define WSAEPFNOSUPPORT 0x0000273E
2465
0
#define WSAEAFNOSUPPORT 0x0000273F
2466
0
#define WSAEADDRINUSE 0x00002740
2467
0
#define WSAEADDRNOTAVAIL 0x00002741
2468
0
#define WSAENETDOWN 0x00002742
2469
0
#define WSAENETUNREACH 0x00002743
2470
0
#define WSAENETRESET 0x00002744
2471
0
#define WSAECONNABORTED 0x00002745
2472
0
#define WSAECONNRESET 0x00002746
2473
0
#define WSAENOBUFS 0x00002747
2474
0
#define WSAEISCONN 0x00002748
2475
0
#define WSAENOTCONN 0x00002749
2476
0
#define WSAESHUTDOWN 0x0000274A
2477
0
#define WSAETOOMANYREFS 0x0000274B
2478
0
#define WSAETIMEDOUT 0x0000274C
2479
0
#define WSAECONNREFUSED 0x0000274D
2480
0
#define WSAELOOP 0x0000274E
2481
0
#define WSAENAMETOOLONG 0x0000274F
2482
0
#define WSAEHOSTDOWN 0x00002750
2483
0
#define WSAEHOSTUNREACH 0x00002751
2484
0
#define WSAENOTEMPTY 0x00002752
2485
#define WSAEPROCLIM 0x00002753
2486
0
#define WSAEUSERS 0x00002754
2487
0
#define WSAEDQUOT 0x00002755
2488
0
#define WSAESTALE 0x00002756
2489
0
#define WSAEREMOTE 0x00002757
2490
#define WSASYSNOTREADY 0x0000276B
2491
#define WSAVERNOTSUPPORTED 0x0000276C
2492
#define WSANOTINITIALISED 0x0000276D
2493
#define WSAEDISCON 0x00002775
2494
#define WSAENOMORE 0x00002776
2495
#define WSAECANCELLED 0x00002777
2496
#define WSAEINVALIDPROCTABLE 0x00002778
2497
#define WSAEINVALIDPROVIDER 0x00002779
2498
#define WSAEPROVIDERFAILEDINIT 0x0000277A
2499
#define WSASYSCALLFAILURE 0x0000277B
2500
#define WSASERVICE_NOT_FOUND 0x0000277C
2501
#define WSATYPE_NOT_FOUND 0x0000277D
2502
#define WSA_E_NO_MORE 0x0000277E
2503
#define WSA_E_CANCELLED 0x0000277F
2504
#define WSAEREFUSED 0x00002780
2505
#define WSAHOST_NOT_FOUND 0x00002AF9
2506
#define WSATRY_AGAIN 0x00002AFA
2507
#define WSANO_RECOVERY 0x00002AFB
2508
#define WSANO_DATA 0x00002AFC
2509
#define WSA_QOS_RECEIVERS 0x00002AFD
2510
#define WSA_QOS_SENDERS 0x00002AFE
2511
#define WSA_QOS_NO_SENDERS 0x00002AFF
2512
#define WSA_QOS_NO_RECEIVERS 0x00002B00
2513
#define WSA_QOS_REQUEST_CONFIRMED 0x00002B01
2514
#define WSA_QOS_ADMISSION_FAILURE 0x00002B02
2515
#define WSA_QOS_POLICY_FAILURE 0x00002B03
2516
#define WSA_QOS_BAD_STYLE 0x00002B04
2517
#define WSA_QOS_BAD_OBJECT 0x00002B05
2518
#define WSA_QOS_TRAFFIC_CTRL_ERROR 0x00002B06
2519
#define WSA_QOS_GENERIC_ERROR 0x00002B07
2520
#define WSA_QOS_ESERVICETYPE 0x00002B08
2521
#define WSA_QOS_EFLOWSPEC 0x00002B09
2522
#define WSA_QOS_EPROVSPECBUF 0x00002B0A
2523
#define WSA_QOS_EFILTERSTYLE 0x00002B0B
2524
#define WSA_QOS_EFILTERTYPE 0x00002B0C
2525
#define WSA_QOS_EFILTERCOUNT 0x00002B0D
2526
#define WSA_QOS_EOBJLENGTH 0x00002B0E
2527
#define WSA_QOS_EFLOWCOUNT 0x00002B0F
2528
#define WSA_QOS_EUNKOWNPSOBJ 0x00002B10
2529
#define WSA_QOS_EPOLICYOBJ 0x00002B11
2530
#define WSA_QOS_EFLOWDESC 0x00002B12
2531
#define WSA_QOS_EPSFLOWSPEC 0x00002B13
2532
#define WSA_QOS_EPSFILTERSPEC 0x00002B14
2533
#define WSA_QOS_ESDMODEOBJ 0x00002B15
2534
#define WSA_QOS_ESHAPERATEOBJ 0x00002B16
2535
#define WSA_QOS_RESERVED_PETYPE 0x00002B17
2536
#define WSA_SECURE_HOST_NOT_FOUND 0x00002B18
2537
#define WSA_IPSEC_NAME_POLICY_ERROR 0x00002B19
2538
2539
/* System Error Codes (12000-15999) */
2540
2541
/* ERROR_INTERNET_* : (12000 - 12175) defined in WinInet.h */
2542
2543
#define ERROR_IPSEC_QM_POLICY_EXISTS 0x000032C8
2544
#define ERROR_IPSEC_QM_POLICY_NOT_FOUND 0x000032C9
2545
#define ERROR_IPSEC_QM_POLICY_IN_USE 0x000032CA
2546
#define ERROR_IPSEC_MM_POLICY_EXISTS 0x000032CB
2547
#define ERROR_IPSEC_MM_POLICY_NOT_FOUND 0x000032CC
2548
#define ERROR_IPSEC_MM_POLICY_IN_USE 0x000032CD
2549
#define ERROR_IPSEC_MM_FILTER_EXISTS 0x000032CE
2550
#define ERROR_IPSEC_MM_FILTER_NOT_FOUND 0x000032CF
2551
#define ERROR_IPSEC_TRANSPORT_FILTER_EXISTS 0x000032D0
2552
#define ERROR_IPSEC_TRANSPORT_FILTER_NOT_FOUND 0x000032D1
2553
#define ERROR_IPSEC_MM_AUTH_EXISTS 0x000032D2
2554
#define ERROR_IPSEC_MM_AUTH_NOT_FOUND 0x000032D3
2555
#define ERROR_IPSEC_MM_AUTH_IN_USE 0x000032D4
2556
#define ERROR_IPSEC_DEFAULT_MM_POLICY_NOT_FOUND 0x000032D5
2557
#define ERROR_IPSEC_DEFAULT_MM_AUTH_NOT_FOUND 0x000032D6
2558
#define ERROR_IPSEC_DEFAULT_QM_POLICY_NOT_FOUND 0x000032D7
2559
#define ERROR_IPSEC_TUNNEL_FILTER_EXISTS 0x000032D8
2560
#define ERROR_IPSEC_TUNNEL_FILTER_NOT_FOUND 0x000032D9
2561
#define ERROR_IPSEC_MM_FILTER_PENDING_DELETION 0x000032DA
2562
#define ERROR_IPSEC_TRANSPORT_FILTER_PENDING_DELETION 0x000032DB
2563
#define ERROR_IPSEC_TUNNEL_FILTER_PENDING_DELETION 0x000032DC
2564
#define ERROR_IPSEC_MM_POLICY_PENDING_DELETION 0x000032DD
2565
#define ERROR_IPSEC_MM_AUTH_PENDING_DELETION 0x000032DE
2566
#define ERROR_IPSEC_QM_POLICY_PENDING_DELETION 0x000032DF
2567
#define WARNING_IPSEC_MM_POLICY_PRUNED 0x000032E0
2568
#define WARNING_IPSEC_QM_POLICY_PRUNED 0x000032E1
2569
#define ERROR_IPSEC_IKE_NEG_STATUS_BEGIN 0x000035E8
2570
#define ERROR_IPSEC_IKE_AUTH_FAIL 0x000035E9
2571
#define ERROR_IPSEC_IKE_ATTRIB_FAIL 0x000035EA
2572
#define ERROR_IPSEC_IKE_NEGOTIATION_PENDING 0x000035EB
2573
#define ERROR_IPSEC_IKE_GENERAL_PROCESSING_ERROR 0x000035EC
2574
#define ERROR_IPSEC_IKE_TIMED_OUT 0x000035ED
2575
#define ERROR_IPSEC_IKE_NO_CERT 0x000035EE
2576
#define ERROR_IPSEC_IKE_SA_DELETED 0x000035EF
2577
#define ERROR_IPSEC_IKE_SA_REAPED 0x000035F0
2578
#define ERROR_IPSEC_IKE_MM_ACQUIRE_DROP 0x000035F1
2579
#define ERROR_IPSEC_IKE_QM_ACQUIRE_DROP 0x000035F2
2580
#define ERROR_IPSEC_IKE_QUEUE_DROP_MM 0x000035F3
2581
#define ERROR_IPSEC_IKE_QUEUE_DROP_NO_MM 0x000035F4
2582
#define ERROR_IPSEC_IKE_DROP_NO_RESPONSE 0x000035F5
2583
#define ERROR_IPSEC_IKE_MM_DELAY_DROP 0x000035F6
2584
#define ERROR_IPSEC_IKE_QM_DELAY_DROP 0x000035F7
2585
#define ERROR_IPSEC_IKE_ERROR 0x000035F8
2586
#define ERROR_IPSEC_IKE_CRL_FAILED 0x000035F9
2587
#define ERROR_IPSEC_IKE_INVALID_KEY_USAGE 0x000035FA
2588
#define ERROR_IPSEC_IKE_INVALID_CERT_TYPE 0x000035FB
2589
#define ERROR_IPSEC_IKE_NO_PRIVATE_KEY 0x000035FC
2590
#define ERROR_IPSEC_IKE_SIMULTANEOUS_REKEY 0x000035FD
2591
#define ERROR_IPSEC_IKE_DH_FAIL 0x000035FE
2592
#define ERROR_IPSEC_IKE_CRITICAL_PAYLOAD_NOT_RECOGNIZED 0x000035FF
2593
#define ERROR_IPSEC_IKE_INVALID_HEADER 0x00003600
2594
#define ERROR_IPSEC_IKE_NO_POLICY 0x00003601
2595
#define ERROR_IPSEC_IKE_INVALID_SIGNATURE 0x00003602
2596
#define ERROR_IPSEC_IKE_KERBEROS_ERROR 0x00003603
2597
#define ERROR_IPSEC_IKE_NO_PUBLIC_KEY 0x00003604
2598
#define ERROR_IPSEC_IKE_PROCESS_ERR 0x00003605
2599
#define ERROR_IPSEC_IKE_PROCESS_ERR_SA 0x00003606
2600
#define ERROR_IPSEC_IKE_PROCESS_ERR_PROP 0x00003607
2601
#define ERROR_IPSEC_IKE_PROCESS_ERR_TRANS 0x00003608
2602
#define ERROR_IPSEC_IKE_PROCESS_ERR_KE 0x00003609
2603
#define ERROR_IPSEC_IKE_PROCESS_ERR_ID 0x0000360A
2604
#define ERROR_IPSEC_IKE_PROCESS_ERR_CERT 0x0000360B
2605
#define ERROR_IPSEC_IKE_PROCESS_ERR_CERT_REQ 0x0000360C
2606
#define ERROR_IPSEC_IKE_PROCESS_ERR_HASH 0x0000360D
2607
#define ERROR_IPSEC_IKE_PROCESS_ERR_SIG 0x0000360E
2608
#define ERROR_IPSEC_IKE_PROCESS_ERR_NONCE 0x0000360F
2609
#define ERROR_IPSEC_IKE_PROCESS_ERR_NOTIFY 0x00003610
2610
#define ERROR_IPSEC_IKE_PROCESS_ERR_DELETE 0x00003611
2611
#define ERROR_IPSEC_IKE_PROCESS_ERR_VENDOR 0x00003612
2612
#define ERROR_IPSEC_IKE_INVALID_PAYLOAD 0x00003613
2613
#define ERROR_IPSEC_IKE_LOAD_SOFT_SA 0x00003614
2614
#define ERROR_IPSEC_IKE_SOFT_SA_TORN_DOWN 0x00003615
2615
#define ERROR_IPSEC_IKE_INVALID_COOKIE 0x00003616
2616
#define ERROR_IPSEC_IKE_NO_PEER_CERT 0x00003617
2617
#define ERROR_IPSEC_IKE_PEER_CRL_FAILED 0x00003618
2618
#define ERROR_IPSEC_IKE_POLICY_CHANGE 0x00003619
2619
#define ERROR_IPSEC_IKE_NO_MM_POLICY 0x0000361A
2620
#define ERROR_IPSEC_IKE_NOTCBPRIV 0x0000361B
2621
#define ERROR_IPSEC_IKE_SECLOADFAIL 0x0000361C
2622
#define ERROR_IPSEC_IKE_FAILSSPINIT 0x0000361D
2623
#define ERROR_IPSEC_IKE_FAILQUERYSSP 0x0000361E
2624
#define ERROR_IPSEC_IKE_SRVACQFAIL 0x0000361F
2625
#define ERROR_IPSEC_IKE_SRVQUERYCRED 0x00003620
2626
#define ERROR_IPSEC_IKE_GETSPIFAIL 0x00003621
2627
#define ERROR_IPSEC_IKE_INVALID_FILTER 0x00003622
2628
#define ERROR_IPSEC_IKE_OUT_OF_MEMORY 0x00003623
2629
#define ERROR_IPSEC_IKE_ADD_UPDATE_KEY_FAILED 0x00003624
2630
#define ERROR_IPSEC_IKE_INVALID_POLICY 0x00003625
2631
#define ERROR_IPSEC_IKE_UNKNOWN_DOI 0x00003626
2632
#define ERROR_IPSEC_IKE_INVALID_SITUATION 0x00003627
2633
#define ERROR_IPSEC_IKE_DH_FAILURE 0x00003628
2634
#define ERROR_IPSEC_IKE_INVALID_GROUP 0x00003629
2635
#define ERROR_IPSEC_IKE_ENCRYPT 0x0000362A
2636
#define ERROR_IPSEC_IKE_DECRYPT 0x0000362B
2637
#define ERROR_IPSEC_IKE_POLICY_MATCH 0x0000362C
2638
#define ERROR_IPSEC_IKE_UNSUPPORTED_ID 0x0000362D
2639
#define ERROR_IPSEC_IKE_INVALID_HASH 0x0000362E
2640
#define ERROR_IPSEC_IKE_INVALID_HASH_ALG 0x0000362F
2641
#define ERROR_IPSEC_IKE_INVALID_HASH_SIZE 0x00003630
2642
#define ERROR_IPSEC_IKE_INVALID_ENCRYPT_ALG 0x00003631
2643
#define ERROR_IPSEC_IKE_INVALID_AUTH_ALG 0x00003632
2644
#define ERROR_IPSEC_IKE_INVALID_SIG 0x00003633
2645
#define ERROR_IPSEC_IKE_LOAD_FAILED 0x00003634
2646
#define ERROR_IPSEC_IKE_RPC_DELETE 0x00003635
2647
#define ERROR_IPSEC_IKE_BENIGN_REINIT 0x00003636
2648
#define ERROR_IPSEC_IKE_INVALID_RESPONDER_LIFETIME_NOTIFY 0x00003637
2649
#define ERROR_IPSEC_IKE_INVALID_MAJOR_VERSION 0x00003638
2650
#define ERROR_IPSEC_IKE_INVALID_CERT_KEYLEN 0x00003639
2651
#define ERROR_IPSEC_IKE_MM_LIMIT 0x0000363A
2652
#define ERROR_IPSEC_IKE_NEGOTIATION_DISABLED 0x0000363B
2653
#define ERROR_IPSEC_IKE_QM_LIMIT 0x0000363C
2654
#define ERROR_IPSEC_IKE_MM_EXPIRED 0x0000363D
2655
#define ERROR_IPSEC_IKE_PEER_MM_ASSUMED_INVALID 0x0000363E
2656
#define ERROR_IPSEC_IKE_CERT_CHAIN_POLICY_MISMATCH 0x0000363F
2657
#define ERROR_IPSEC_IKE_UNEXPECTED_MESSAGE_ID 0x00003640
2658
#define ERROR_IPSEC_IKE_INVALID_AUTH_PAYLOAD 0x00003641
2659
#define ERROR_IPSEC_IKE_DOS_COOKIE_SENT 0x00003642
2660
#define ERROR_IPSEC_IKE_SHUTTING_DOWN 0x00003643
2661
#define ERROR_IPSEC_IKE_CGA_AUTH_FAILED 0x00003644
2662
#define ERROR_IPSEC_IKE_PROCESS_ERR_NATOA 0x00003645
2663
#define ERROR_IPSEC_IKE_INVALID_MM_FOR_QM 0x00003646
2664
#define ERROR_IPSEC_IKE_QM_EXPIRED 0x00003647
2665
#define ERROR_IPSEC_IKE_TOO_MANY_FILTERS 0x00003648
2666
#define ERROR_IPSEC_IKE_NEG_STATUS_END 0x00003649
2667
#define ERROR_IPSEC_IKE_KILL_DUMMY_NAP_TUNNEL 0x0000364A
2668
#define ERROR_IPSEC_IKE_INNER_IP_ASSIGNMENT_FAILURE 0x0000364B
2669
#define ERROR_IPSEC_IKE_REQUIRE_CP_PAYLOAD_MISSING 0x0000364C
2670
#define ERROR_IPSEC_KEY_MODULE_IMPERSONATION_NEGOTIATION_PENDING 0x0000364D
2671
#define ERROR_IPSEC_IKE_COEXISTENCE_SUPPRESS 0x0000364E
2672
#define ERROR_IPSEC_IKE_RATELIMIT_DROP 0x0000364F
2673
#define ERROR_IPSEC_IKE_PEER_DOESNT_SUPPORT_MOBIKE 0x00003650
2674
#define ERROR_IPSEC_IKE_AUTHORIZATION_FAILURE 0x00003651
2675
#define ERROR_IPSEC_IKE_STRONG_CRED_AUTHORIZATION_FAILURE 0x00003652
2676
#define ERROR_IPSEC_IKE_AUTHORIZATION_FAILURE_WITH_OPTIONAL_RETRY 0x00003653
2677
#define ERROR_IPSEC_IKE_STRONG_CRED_AUTHORIZATION_AND_CERTMAP_FAILURE 0x00003654
2678
#define ERROR_IPSEC_IKE_NEG_STATUS_EXTENDED_END 0x00003655
2679
#define ERROR_IPSEC_BAD_SPI 0x00003656
2680
#define ERROR_IPSEC_SA_LIFETIME_EXPIRED 0x00003657
2681
#define ERROR_IPSEC_WRONG_SA 0x00003658
2682
#define ERROR_IPSEC_REPLAY_CHECK_FAILED 0x00003659
2683
#define ERROR_IPSEC_INVALID_PACKET 0x0000365A
2684
#define ERROR_IPSEC_INTEGRITY_CHECK_FAILED 0x0000365B
2685
#define ERROR_IPSEC_CLEAR_TEXT_DROP 0x0000365C
2686
#define ERROR_IPSEC_AUTH_FIREWALL_DROP 0x0000365D
2687
#define ERROR_IPSEC_THROTTLE_DROP 0x0000365E
2688
#define ERROR_IPSEC_DOSP_BLOCK 0x00003665
2689
#define ERROR_IPSEC_DOSP_RECEIVED_MULTICAST 0x00003666
2690
#define ERROR_IPSEC_DOSP_INVALID_PACKET 0x00003667
2691
#define ERROR_IPSEC_DOSP_STATE_LOOKUP_FAILED 0x00003668
2692
#define ERROR_IPSEC_DOSP_MAX_ENTRIES 0x00003669
2693
#define ERROR_IPSEC_DOSP_KEYMOD_NOT_ALLOWED 0x0000366A
2694
#define ERROR_IPSEC_DOSP_NOT_INSTALLED 0x0000366B
2695
#define ERROR_IPSEC_DOSP_MAX_PER_IP_RATELIMIT_QUEUES 0x0000366C
2696
#define ERROR_SXS_SECTION_NOT_FOUND 0x000036B0
2697
#define ERROR_SXS_CANT_GEN_ACTCTX 0x000036B1
2698
#define ERROR_SXS_INVALID_ACTCTXDATA_FORMAT 0x000036B2
2699
#define ERROR_SXS_ASSEMBLY_NOT_FOUND 0x000036B3
2700
#define ERROR_SXS_MANIFEST_FORMAT_ERROR 0x000036B4
2701
#define ERROR_SXS_MANIFEST_PARSE_ERROR 0x000036B5
2702
#define ERROR_SXS_ACTIVATION_CONTEXT_DISABLED 0x000036B6
2703
#define ERROR_SXS_KEY_NOT_FOUND 0x000036B7
2704
#define ERROR_SXS_VERSION_CONFLICT 0x000036B8
2705
#define ERROR_SXS_WRONG_SECTION_TYPE 0x000036B9
2706
#define ERROR_SXS_THREAD_QUERIES_DISABLED 0x000036BA
2707
#define ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET 0x000036BB
2708
#define ERROR_SXS_UNKNOWN_ENCODING_GROUP 0x000036BC
2709
#define ERROR_SXS_UNKNOWN_ENCODING 0x000036BD
2710
#define ERROR_SXS_INVALID_XML_NAMESPACE_URI 0x000036BE
2711
#define ERROR_SXS_ROOT_MANIFEST_DEPENDENCY_NOT_INSTALLED 0x000036BF
2712
#define ERROR_SXS_LEAF_MANIFEST_DEPENDENCY_NOT_INSTALLED 0x000036C0
2713
#define ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE 0x000036C1
2714
#define ERROR_SXS_MANIFEST_MISSING_REQUIRED_DEFAULT_NAMESPACE 0x000036C2
2715
#define ERROR_SXS_MANIFEST_INVALID_REQUIRED_DEFAULT_NAMESPACE 0x000036C3
2716
#define ERROR_SXS_PRIVATE_MANIFEST_CROSS_PATH_WITH_REPARSE_POINT 0x000036C4
2717
#define ERROR_SXS_DUPLICATE_DLL_NAME 0x000036C5
2718
#define ERROR_SXS_DUPLICATE_WINDOWCLASS_NAME 0x000036C6
2719
#define ERROR_SXS_DUPLICATE_CLSID 0x000036C7
2720
#define ERROR_SXS_DUPLICATE_IID 0x000036C8
2721
#define ERROR_SXS_DUPLICATE_TLBID 0x000036C9
2722
#define ERROR_SXS_DUPLICATE_PROGID 0x000036CA
2723
#define ERROR_SXS_DUPLICATE_ASSEMBLY_NAME 0x000036CB
2724
#define ERROR_SXS_FILE_HASH_MISMATCH 0x000036CC
2725
#define ERROR_SXS_POLICY_PARSE_ERROR 0x000036CD
2726
#define ERROR_SXS_XML_E_MISSINGQUOTE 0x000036CE
2727
#define ERROR_SXS_XML_E_COMMENTSYNTAX 0x000036CF
2728
#define ERROR_SXS_XML_E_BADSTARTNAMECHAR 0x000036D0
2729
#define ERROR_SXS_XML_E_BADNAMECHAR 0x000036D1
2730
#define ERROR_SXS_XML_E_BADCHARINSTRING 0x000036D2
2731
#define ERROR_SXS_XML_E_XMLDECLSYNTAX 0x000036D3
2732
#define ERROR_SXS_XML_E_BADCHARDATA 0x000036D4
2733
#define ERROR_SXS_XML_E_MISSINGWHITESPACE 0x000036D5
2734
#define ERROR_SXS_XML_E_EXPECTINGTAGEND 0x000036D6
2735
#define ERROR_SXS_XML_E_MISSINGSEMICOLON 0x000036D7
2736
#define ERROR_SXS_XML_E_UNBALANCEDPAREN 0x000036D8
2737
#define ERROR_SXS_XML_E_INTERNALERROR 0x000036D9
2738
#define ERROR_SXS_XML_E_UNEXPECTED_WHITESPACE 0x000036DA
2739
#define ERROR_SXS_XML_E_INCOMPLETE_ENCODING 0x000036DB
2740
#define ERROR_SXS_XML_E_MISSING_PAREN 0x000036DC
2741
#define ERROR_SXS_XML_E_EXPECTINGCLOSEQUOTE 0x000036DD
2742
#define ERROR_SXS_XML_E_MULTIPLE_COLONS 0x000036DE
2743
#define ERROR_SXS_XML_E_INVALID_DECIMAL 0x000036DF
2744
#define ERROR_SXS_XML_E_INVALID_HEXIDECIMAL 0x000036E0
2745
#define ERROR_SXS_XML_E_INVALID_UNICODE 0x000036E1
2746
#define ERROR_SXS_XML_E_WHITESPACEORQUESTIONMARK 0x000036E2
2747
#define ERROR_SXS_XML_E_UNEXPECTEDENDTAG 0x000036E3
2748
#define ERROR_SXS_XML_E_UNCLOSEDTAG 0x000036E4
2749
#define ERROR_SXS_XML_E_DUPLICATEATTRIBUTE 0x000036E5
2750
#define ERROR_SXS_XML_E_MULTIPLEROOTS 0x000036E6
2751
#define ERROR_SXS_XML_E_INVALIDATROOTLEVEL 0x000036E7
2752
#define ERROR_SXS_XML_E_BADXMLDECL 0x000036E8
2753
#define ERROR_SXS_XML_E_MISSINGROOT 0x000036E9
2754
#define ERROR_SXS_XML_E_UNEXPECTEDEOF 0x000036EA
2755
#define ERROR_SXS_XML_E_BADPEREFINSUBSET 0x000036EB
2756
#define ERROR_SXS_XML_E_UNCLOSEDSTARTTAG 0x000036EC
2757
#define ERROR_SXS_XML_E_UNCLOSEDENDTAG 0x000036ED
2758
#define ERROR_SXS_XML_E_UNCLOSEDSTRING 0x000036EE
2759
#define ERROR_SXS_XML_E_UNCLOSEDCOMMENT 0x000036EF
2760
#define ERROR_SXS_XML_E_UNCLOSEDDECL 0x000036F0
2761
#define ERROR_SXS_XML_E_UNCLOSEDCDATA 0x000036F1
2762
#define ERROR_SXS_XML_E_RESERVEDNAMESPACE 0x000036F2
2763
#define ERROR_SXS_XML_E_INVALIDENCODING 0x000036F3
2764
#define ERROR_SXS_XML_E_INVALIDSWITCH 0x000036F4
2765
#define ERROR_SXS_XML_E_BADXMLCASE 0x000036F5
2766
#define ERROR_SXS_XML_E_INVALID_STANDALONE 0x000036F6
2767
#define ERROR_SXS_XML_E_UNEXPECTED_STANDALONE 0x000036F7
2768
#define ERROR_SXS_XML_E_INVALID_VERSION 0x000036F8
2769
#define ERROR_SXS_XML_E_MISSINGEQUALS 0x000036F9
2770
#define ERROR_SXS_PROTECTION_RECOVERY_FAILED 0x000036FA
2771
#define ERROR_SXS_PROTECTION_PUBLIC_KEY_TOO_SHORT 0x000036FB
2772
#define ERROR_SXS_PROTECTION_CATALOG_NOT_VALID 0x000036FC
2773
#define ERROR_SXS_UNTRANSLATABLE_HRESULT 0x000036FD
2774
#define ERROR_SXS_PROTECTION_CATALOG_FILE_MISSING 0x000036FE
2775
#define ERROR_SXS_MISSING_ASSEMBLY_IDENTITY_ATTRIBUTE 0x000036FF
2776
#define ERROR_SXS_INVALID_ASSEMBLY_IDENTITY_ATTRIBUTE_NAME 0x00003700
2777
#define ERROR_SXS_ASSEMBLY_MISSING 0x00003701
2778
#define ERROR_SXS_CORRUPT_ACTIVATION_STACK 0x00003702
2779
#define ERROR_SXS_CORRUPTION 0x00003703
2780
#define ERROR_SXS_EARLY_DEACTIVATION 0x00003704
2781
#define ERROR_SXS_INVALID_DEACTIVATION 0x00003705
2782
#define ERROR_SXS_MULTIPLE_DEACTIVATION 0x00003706
2783
#define ERROR_SXS_PROCESS_TERMINATION_REQUESTED 0x00003707
2784
#define ERROR_SXS_RELEASE_ACTIVATION_CONTEXT 0x00003708
2785
#define ERROR_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY 0x00003709
2786
#define ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE 0x0000370A
2787
#define ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME 0x0000370B
2788
#define ERROR_SXS_IDENTITY_DUPLICATE_ATTRIBUTE 0x0000370C
2789
#define ERROR_SXS_IDENTITY_PARSE_ERROR 0x0000370D
2790
#define ERROR_MALFORMED_SUBSTITUTION_STRING 0x0000370E
2791
#define ERROR_SXS_INCORRECT_PUBLIC_KEY_TOKEN 0x0000370F
2792
#define ERROR_UNMAPPED_SUBSTITUTION_STRING 0x00003710
2793
#define ERROR_SXS_ASSEMBLY_NOT_LOCKED 0x00003711
2794
#define ERROR_SXS_COMPONENT_STORE_CORRUPT 0x00003712
2795
#define ERROR_ADVANCED_INSTALLER_FAILED 0x00003713
2796
#define ERROR_XML_ENCODING_MISMATCH 0x00003714
2797
#define ERROR_SXS_MANIFEST_IDENTITY_SAME_BUT_CONTENTS_DIFFERENT 0x00003715
2798
#define ERROR_SXS_IDENTITIES_DIFFERENT 0x00003716
2799
#define ERROR_SXS_ASSEMBLY_IS_NOT_A_DEPLOYMENT 0x00003717
2800
#define ERROR_SXS_FILE_NOT_PART_OF_ASSEMBLY 0x00003718
2801
#define ERROR_SXS_MANIFEST_TOO_BIG 0x00003719
2802
#define ERROR_SXS_SETTING_NOT_REGISTERED 0x0000371A
2803
#define ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE 0x0000371B
2804
#define ERROR_SMI_PRIMITIVE_INSTALLER_FAILED 0x0000371C
2805
#define ERROR_GENERIC_COMMAND_FAILED 0x0000371D
2806
#define ERROR_SXS_FILE_HASH_MISSING 0x0000371E
2807
#define ERROR_EVT_INVALID_CHANNEL_PATH 0x00003A98
2808
#define ERROR_EVT_INVALID_QUERY 0x00003A99
2809
#define ERROR_EVT_PUBLISHER_METADATA_NOT_FOUND 0x00003A9A
2810
#define ERROR_EVT_EVENT_TEMPLATE_NOT_FOUND 0x00003A9B
2811
#define ERROR_EVT_INVALID_PUBLISHER_NAME 0x00003A9C
2812
#define ERROR_EVT_INVALID_EVENT_DATA 0x00003A9D
2813
#define ERROR_EVT_CHANNEL_NOT_FOUND 0x00003A9F
2814
#define ERROR_EVT_MALFORMED_XML_TEXT 0x00003AA0
2815
#define ERROR_EVT_SUBSCRIPTION_TO_DIRECT_CHANNEL 0x00003AA1
2816
#define ERROR_EVT_CONFIGURATION_ERROR 0x00003AA2
2817
#define ERROR_EVT_QUERY_RESULT_STALE 0x00003AA3
2818
#define ERROR_EVT_QUERY_RESULT_INVALID_POSITION 0x00003AA4
2819
#define ERROR_EVT_NON_VALIDATING_MSXML 0x00003AA5
2820
#define ERROR_EVT_FILTER_ALREADYSCOPED 0x00003AA6
2821
#define ERROR_EVT_FILTER_NOTELTSET 0x00003AA7
2822
#define ERROR_EVT_FILTER_INVARG 0x00003AA8
2823
#define ERROR_EVT_FILTER_INVTEST 0x00003AA9
2824
#define ERROR_EVT_FILTER_INVTYPE 0x00003AAA
2825
#define ERROR_EVT_FILTER_PARSEERR 0x00003AAB
2826
#define ERROR_EVT_FILTER_UNSUPPORTEDOP 0x00003AAC
2827
#define ERROR_EVT_FILTER_UNEXPECTEDTOKEN 0x00003AAD
2828
#define ERROR_EVT_INVALID_OPERATION_OVER_ENABLED_DIRECT_CHANNEL 0x00003AAE
2829
#define ERROR_EVT_INVALID_CHANNEL_PROPERTY_VALUE 0x00003AAF
2830
#define ERROR_EVT_INVALID_PUBLISHER_PROPERTY_VALUE 0x00003AB0
2831
#define ERROR_EVT_CHANNEL_CANNOT_ACTIVATE 0x00003AB1
2832
#define ERROR_EVT_FILTER_TOO_COMPLEX 0x00003AB2
2833
#define ERROR_EVT_MESSAGE_NOT_FOUND 0x00003AB3
2834
#define ERROR_EVT_MESSAGE_ID_NOT_FOUND 0x00003AB4
2835
#define ERROR_EVT_UNRESOLVED_VALUE_INSERT 0x00003AB5
2836
#define ERROR_EVT_UNRESOLVED_PARAMETER_INSERT 0x00003AB6
2837
#define ERROR_EVT_MAX_INSERTS_REACHED 0x00003AB7
2838
#define ERROR_EVT_EVENT_DEFINITION_NOT_FOUND 0x00003AB8
2839
#define ERROR_EVT_MESSAGE_LOCALE_NOT_FOUND 0x00003AB9
2840
#define ERROR_EVT_VERSION_TOO_OLD 0x00003ABA
2841
#define ERROR_EVT_VERSION_TOO_NEW 0x00003ABB
2842
#define ERROR_EVT_CANNOT_OPEN_CHANNEL_OF_QUERY 0x00003ABC
2843
#define ERROR_EVT_PUBLISHER_DISABLED 0x00003ABD
2844
#define ERROR_EVT_FILTER_OUT_OF_RANGE 0x00003ABE
2845
#define ERROR_EC_SUBSCRIPTION_CANNOT_ACTIVATE 0x00003AE8
2846
#define ERROR_EC_LOG_DISABLED 0x00003AE9
2847
#define ERROR_EC_CIRCULAR_FORWARDING 0x00003AEA
2848
#define ERROR_EC_CREDSTORE_FULL 0x00003AEB
2849
#define ERROR_EC_CRED_NOT_FOUND 0x00003AEC
2850
#define ERROR_EC_NO_ACTIVE_CHANNEL 0x00003AED
2851
#define ERROR_MUI_FILE_NOT_FOUND 0x00003AFC
2852
#define ERROR_MUI_INVALID_FILE 0x00003AFD
2853
#define ERROR_MUI_INVALID_RC_CONFIG 0x00003AFE
2854
#define ERROR_MUI_INVALID_LOCALE_NAME 0x00003AFF
2855
#define ERROR_MUI_INVALID_ULTIMATEFALLBACK_NAME 0x00003B00
2856
#define ERROR_MUI_FILE_NOT_LOADED 0x00003B01
2857
#define ERROR_RESOURCE_ENUM_USER_STOP 0x00003B02
2858
#define ERROR_MUI_INTLSETTINGS_UILANG_NOT_INSTALLED 0x00003B03
2859
#define ERROR_MUI_INTLSETTINGS_INVALID_LOCALE_NAME 0x00003B04
2860
#define ERROR_MRM_RUNTIME_NO_DEFAULT_OR_NEUTRAL_RESOURCE 0x00003B06
2861
#define ERROR_MRM_INVALID_PRICONFIG 0x00003B07
2862
#define ERROR_MRM_INVALID_FILE_TYPE 0x00003B08
2863
#define ERROR_MRM_UNKNOWN_QUALIFIER 0x00003B09
2864
#define ERROR_MRM_INVALID_QUALIFIER_VALUE 0x00003B0A
2865
#define ERROR_MRM_NO_CANDIDATE 0x00003B0B
2866
#define ERROR_MRM_NO_MATCH_OR_DEFAULT_CANDIDATE 0x00003B0C
2867
#define ERROR_MRM_RESOURCE_TYPE_MISMATCH 0x00003B0D
2868
#define ERROR_MRM_DUPLICATE_MAP_NAME 0x00003B0E
2869
#define ERROR_MRM_DUPLICATE_ENTRY 0x00003B0F
2870
#define ERROR_MRM_INVALID_RESOURCE_IDENTIFIER 0x00003B10
2871
#define ERROR_MRM_FILEPATH_TOO_LONG 0x00003B11
2872
#define ERROR_MRM_UNSUPPORTED_DIRECTORY_TYPE 0x00003B12
2873
#define ERROR_MRM_INVALID_PRI_FILE 0x00003B16
2874
#define ERROR_MRM_NAMED_RESOURCE_NOT_FOUND 0x00003B17
2875
#define ERROR_MRM_MAP_NOT_FOUND 0x00003B1F
2876
#define ERROR_MRM_UNSUPPORTED_PROFILE_TYPE 0x00003B20
2877
#define ERROR_MRM_INVALID_QUALIFIER_OPERATOR 0x00003B21
2878
#define ERROR_MRM_INDETERMINATE_QUALIFIER_VALUE 0x00003B22
2879
#define ERROR_MRM_AUTOMERGE_ENABLED 0x00003B23
2880
#define ERROR_MRM_TOO_MANY_RESOURCES 0x00003B24
2881
#define ERROR_MCA_INVALID_CAPABILITIES_STRING 0x00003B60
2882
#define ERROR_MCA_INVALID_VCP_VERSION 0x00003B61
2883
#define ERROR_MCA_MONITOR_VIOLATES_MCCS_SPECIFICATION 0x00003B62
2884
#define ERROR_MCA_MCCS_VERSION_MISMATCH 0x00003B63
2885
#define ERROR_MCA_UNSUPPORTED_MCCS_VERSION 0x00003B64
2886
#define ERROR_MCA_INTERNAL_ERROR 0x00003B65
2887
#define ERROR_MCA_INVALID_TECHNOLOGY_TYPE_RETURNED 0x00003B66
2888
#define ERROR_MCA_UNSUPPORTED_COLOR_TEMPERATURE 0x00003B67
2889
#define ERROR_AMBIGUOUS_SYSTEM_DEVICE 0x00003B92
2890
#define ERROR_SYSTEM_DEVICE_NOT_FOUND 0x00003BC3
2891
#define ERROR_HASH_NOT_SUPPORTED 0x00003BC4
2892
#define ERROR_HASH_NOT_PRESENT 0x00003BC5
2893
#define ERROR_SECONDARY_IC_PROVIDER_NOT_REGISTERED 0x00003BD9
2894
#define ERROR_GPIO_CLIENT_INFORMATION_INVALID 0x00003BDA
2895
#define ERROR_GPIO_VERSION_NOT_SUPPORTED 0x00003BDB
2896
#define ERROR_GPIO_INVALID_REGISTRATION_PACKET 0x00003BDC
2897
#define ERROR_GPIO_OPERATION_DENIED 0x00003BDD
2898
#define ERROR_GPIO_INCOMPATIBLE_CONNECT_MODE 0x00003BDE
2899
#define ERROR_GPIO_INTERRUPT_ALREADY_UNMASKED 0x00003BDF
2900
#define ERROR_CANNOT_SWITCH_RUNLEVEL 0x00003C28
2901
#define ERROR_INVALID_RUNLEVEL_SETTING 0x00003C29
2902
#define ERROR_RUNLEVEL_SWITCH_TIMEOUT 0x00003C2A
2903
#define ERROR_RUNLEVEL_SWITCH_AGENT_TIMEOUT 0x00003C2B
2904
#define ERROR_RUNLEVEL_SWITCH_IN_PROGRESS 0x00003C2C
2905
#define ERROR_SERVICES_FAILED_AUTOSTART 0x00003C2D
2906
#define ERROR_COM_TASK_STOP_PENDING 0x00003C8D
2907
#define ERROR_INSTALL_OPEN_PACKAGE_FAILED 0x00003CF0
2908
#define ERROR_INSTALL_PACKAGE_NOT_FOUND 0x00003CF1
2909
#define ERROR_INSTALL_INVALID_PACKAGE 0x00003CF2
2910
#define ERROR_INSTALL_RESOLVE_DEPENDENCY_FAILED 0x00003CF3
2911
#define ERROR_INSTALL_OUT_OF_DISK_SPACE 0x00003CF4
2912
#define ERROR_INSTALL_NETWORK_FAILURE 0x00003CF5
2913
#define ERROR_INSTALL_REGISTRATION_FAILURE 0x00003CF6
2914
#define ERROR_INSTALL_DEREGISTRATION_FAILURE 0x00003CF7
2915
#define ERROR_INSTALL_CANCEL 0x00003CF8
2916
#define ERROR_INSTALL_FAILED 0x00003CF9
2917
#define ERROR_REMOVE_FAILED 0x00003CFA
2918
#define ERROR_PACKAGE_ALREADY_EXISTS 0x00003CFB
2919
#define ERROR_NEEDS_REMEDIATION 0x00003CFC
2920
#define ERROR_INSTALL_PREREQUISITE_FAILED 0x00003CFD
2921
#define ERROR_PACKAGE_REPOSITORY_CORRUPTED 0x00003CFE
2922
#define ERROR_INSTALL_POLICY_FAILURE 0x00003CFF
2923
#define ERROR_PACKAGE_UPDATING 0x00003D00
2924
#define ERROR_DEPLOYMENT_BLOCKED_BY_POLICY 0x00003D01
2925
#define ERROR_PACKAGES_IN_USE 0x00003D02
2926
#define ERROR_RECOVERY_FILE_CORRUPT 0x00003D03
2927
#define ERROR_INVALID_STAGED_SIGNATURE 0x00003D04
2928
#define ERROR_DELETING_EXISTING_APPLICATIONDATA_STORE_FAILED 0x00003D05
2929
#define ERROR_INSTALL_PACKAGE_DOWNGRADE 0x00003D06
2930
#define ERROR_SYSTEM_NEEDS_REMEDIATION 0x00003D07
2931
#define ERROR_APPX_INTEGRITY_FAILURE_CLR_NGEN 0x00003D08
2932
#define ERROR_RESILIENCY_FILE_CORRUPT 0x00003D09
2933
#define ERROR_INSTALL_FIREWALL_SERVICE_NOT_RUNNING 0x00003D0A
2934
#define APPMODEL_ERROR_NO_PACKAGE 0x00003D54
2935
#define APPMODEL_ERROR_PACKAGE_RUNTIME_CORRUPT 0x00003D55
2936
#define APPMODEL_ERROR_PACKAGE_IDENTITY_CORRUPT 0x00003D56
2937
#define APPMODEL_ERROR_NO_APPLICATION 0x00003D57
2938
#define ERROR_STATE_LOAD_STORE_FAILED 0x00003DB8
2939
#define ERROR_STATE_GET_VERSION_FAILED 0x00003DB9
2940
#define ERROR_STATE_SET_VERSION_FAILED 0x00003DBA
2941
#define ERROR_STATE_STRUCTURED_RESET_FAILED 0x00003DBB
2942
#define ERROR_STATE_OPEN_CONTAINER_FAILED 0x00003DBC
2943
#define ERROR_STATE_CREATE_CONTAINER_FAILED 0x00003DBD
2944
#define ERROR_STATE_DELETE_CONTAINER_FAILED 0x00003DBE
2945
#define ERROR_STATE_READ_SETTING_FAILED 0x00003DBF
2946
#define ERROR_STATE_WRITE_SETTING_FAILED 0x00003DC0
2947
#define ERROR_STATE_DELETE_SETTING_FAILED 0x00003DC1
2948
#define ERROR_STATE_QUERY_SETTING_FAILED 0x00003DC2
2949
#define ERROR_STATE_READ_COMPOSITE_SETTING_FAILED 0x00003DC3
2950
#define ERROR_STATE_WRITE_COMPOSITE_SETTING_FAILED 0x00003DC4
2951
#define ERROR_STATE_ENUMERATE_CONTAINER_FAILED 0x00003DC5
2952
#define ERROR_STATE_ENUMERATE_SETTINGS_FAILED 0x00003DC6
2953
#define ERROR_STATE_COMPOSITE_SETTING_VALUE_SIZE_LIMIT_EXCEEDED 0x00003DC7
2954
#define ERROR_STATE_SETTING_VALUE_SIZE_LIMIT_EXCEEDED 0x00003DC8
2955
#define ERROR_STATE_SETTING_NAME_SIZE_LIMIT_EXCEEDED 0x00003DC9
2956
#define ERROR_STATE_CONTAINER_NAME_SIZE_LIMIT_EXCEEDED 0x00003DCA
2957
#define ERROR_API_UNAVAILABLE 0x00003DE1
2958
2959
#ifndef FACILITY_WEBSERVICES
2960
#define FACILITY_WEBSERVICES 61
2961
#define WS_S_ASYNC 0x003D0000
2962
#define WS_S_END 0x003D0001
2963
#define WS_E_INVALID_FORMAT 0x803D0000
2964
#define WS_E_OBJECT_FAULTED 0x803D0001
2965
#define WS_E_NUMERIC_OVERFLOW 0x803D0002
2966
#define WS_E_INVALID_OPERATION 0x803D0003
2967
#define WS_E_OPERATION_ABORTED 0x803D0004
2968
#define WS_E_ENDPOINT_ACCESS_DENIED 0x803D0005
2969
#define WS_E_OPERATION_TIMED_OUT 0x803D0006
2970
#define WS_E_OPERATION_ABANDONED 0x803D0007
2971
#define WS_E_QUOTA_EXCEEDED 0x803D0008
2972
#define WS_E_NO_TRANSLATION_AVAILABLE 0x803D0009
2973
#define WS_E_SECURITY_VERIFICATION_FAILURE 0x803D000A
2974
#define WS_E_ADDRESS_IN_USE 0x803D000B
2975
#define WS_E_ADDRESS_NOT_AVAILABLE 0x803D000C
2976
#define WS_E_ENDPOINT_NOT_FOUND 0x803D000D
2977
#define WS_E_ENDPOINT_NOT_AVAILABLE 0x803D000E
2978
#define WS_E_ENDPOINT_FAILURE 0x803D000F
2979
#define WS_E_ENDPOINT_UNREACHABLE 0x803D0010
2980
#define WS_E_ENDPOINT_ACTION_NOT_SUPPORTED 0x803D0011
2981
#define WS_E_ENDPOINT_TOO_BUSY 0x803D0012
2982
#define WS_E_ENDPOINT_FAULT_RECEIVED 0x803D0013
2983
#define WS_E_ENDPOINT_DISCONNECTED 0x803D0014
2984
#define WS_E_PROXY_FAILURE 0x803D0015
2985
#define WS_E_PROXY_ACCESS_DENIED 0x803D0016
2986
#define WS_E_NOT_SUPPORTED 0x803D0017
2987
#define WS_E_PROXY_REQUIRES_BASIC_AUTH 0x803D0018
2988
#define WS_E_PROXY_REQUIRES_DIGEST_AUTH 0x803D0019
2989
#define WS_E_PROXY_REQUIRES_NTLM_AUTH 0x803D001A
2990
#define WS_E_PROXY_REQUIRES_NEGOTIATE_AUTH 0x803D001B
2991
#define WS_E_SERVER_REQUIRES_BASIC_AUTH 0x803D001C
2992
#define WS_E_SERVER_REQUIRES_DIGEST_AUTH 0x803D001D
2993
#define WS_E_SERVER_REQUIRES_NTLM_AUTH 0x803D001E
2994
#define WS_E_SERVER_REQUIRES_NEGOTIATE_AUTH 0x803D001F
2995
#define WS_E_INVALID_ENDPOINT_URL 0x803D0020
2996
#define WS_E_OTHER 0x803D0021
2997
#define WS_E_SECURITY_TOKEN_EXPIRED 0x803D0022
2998
#define WS_E_SECURITY_SYSTEM_FAILURE 0x803D0023
2999
#endif
3000
3001
#define NTE_BAD_UID WINPR_CXX_COMPAT_CAST(LONG, 0x80090001)
3002
#define NTE_BAD_HASH WINPR_CXX_COMPAT_CAST(LONG, 0x80090002)
3003
0
#define NTE_BAD_KEY WINPR_CXX_COMPAT_CAST(LONG, 0x80090003)
3004
#define NTE_BAD_LEN WINPR_CXX_COMPAT_CAST(LONG, 0x80090004)
3005
0
#define NTE_BAD_DATA WINPR_CXX_COMPAT_CAST(LONG, 0x80090005)
3006
#define NTE_BAD_SIGNATURE WINPR_CXX_COMPAT_CAST(LONG, 0x80090006)
3007
#define NTE_BAD_VER WINPR_CXX_COMPAT_CAST(LONG, 0x80090007)
3008
#define NTE_BAD_ALGID WINPR_CXX_COMPAT_CAST(LONG, 0x80090008)
3009
#define NTE_BAD_FLAGS WINPR_CXX_COMPAT_CAST(LONG, 0x80090009)
3010
#define NTE_BAD_TYPE WINPR_CXX_COMPAT_CAST(LONG, 0x8009000A)
3011
#define NTE_BAD_KEY_STATE WINPR_CXX_COMPAT_CAST(LONG, 0x8009000B)
3012
#define NTE_BAD_HASH_STATE WINPR_CXX_COMPAT_CAST(LONG, 0x8009000C)
3013
#define NTE_NO_KEY WINPR_CXX_COMPAT_CAST(LONG, 0x8009000D)
3014
0
#define NTE_NO_MEMORY WINPR_CXX_COMPAT_CAST(LONG, 0x8009000E)
3015
#define NTE_EXISTS WINPR_CXX_COMPAT_CAST(LONG, 0x8009000F)
3016
#define NTE_PERM WINPR_CXX_COMPAT_CAST(LONG, 0x80090010)
3017
0
#define NTE_NOT_FOUND WINPR_CXX_COMPAT_CAST(LONG, 0x80090011)
3018
#define NTE_DOUBLE_ENCRYPT WINPR_CXX_COMPAT_CAST(LONG, 0x80090012)
3019
#define NTE_BAD_PROVIDER WINPR_CXX_COMPAT_CAST(LONG, 0x80090013)
3020
#define NTE_BAD_PROV_TYPE WINPR_CXX_COMPAT_CAST(LONG, 0x80090014)
3021
#define NTE_BAD_PUBLIC_KEY WINPR_CXX_COMPAT_CAST(LONG, 0x80090015)
3022
#define NTE_BAD_KEYSET WINPR_CXX_COMPAT_CAST(LONG, 0x80090016)
3023
#define NTE_PROV_TYPE_NOT_DEF WINPR_CXX_COMPAT_CAST(LONG, 0x80090017)
3024
0
#define NTE_PROV_TYPE_ENTRY_BAD WINPR_CXX_COMPAT_CAST(LONG, 0x80090018)
3025
#define NTE_KEYSET_NOT_DEF WINPR_CXX_COMPAT_CAST(LONG, 0x80090019)
3026
#define NTE_KEYSET_ENTRY_BAD WINPR_CXX_COMPAT_CAST(LONG, 0x8009001A)
3027
#define NTE_PROV_TYPE_NO_MATCH WINPR_CXX_COMPAT_CAST(LONG, 0x8009001B)
3028
#define NTE_SIGNATURE_FILE_BAD WINPR_CXX_COMPAT_CAST(LONG, 0x8009001C)
3029
0
#define NTE_PROVIDER_DLL_FAIL WINPR_CXX_COMPAT_CAST(LONG, 0x8009001D)
3030
0
#define NTE_PROV_DLL_NOT_FOUND WINPR_CXX_COMPAT_CAST(LONG, 0x8009001E)
3031
#define NTE_BAD_KEYSET_PARAM WINPR_CXX_COMPAT_CAST(LONG, 0x8009001F)
3032
0
#define NTE_FAIL WINPR_CXX_COMPAT_CAST(LONG, 0x80090020)
3033
#define NTE_SYS_ERR WINPR_CXX_COMPAT_CAST(LONG, 0x80090021)
3034
#define NTE_SILENT_CONTEXT WINPR_CXX_COMPAT_CAST(LONG, 0x80090022)
3035
#define NTE_TOKEN_KEYSET_STORAGE_FULL WINPR_CXX_COMPAT_CAST(LONG, 0x80090023)
3036
#define NTE_TEMPORARY_PROFILE WINPR_CXX_COMPAT_CAST(LONG, 0x80090024)
3037
#define NTE_FIXEDPARAMETER WINPR_CXX_COMPAT_CAST(LONG, 0x80090025)
3038
0
#define NTE_NO_MORE_ITEMS ERROR_NO_MORE_ITEMS
3039
0
#define NTE_NOT_SUPPORTED ERROR_NOT_SUPPORTED
3040
0
#define NTE_INVALID_PARAMETER WINPR_CXX_COMPAT_CAST(LONG, 0x80090027)
3041
3042
#define EXCEPTION_MAXIMUM_PARAMETERS 15
3043
3044
typedef struct s_EXCEPTION_RECORD EXCEPTION_RECORD;
3045
typedef struct s_EXCEPTION_RECORD* PEXCEPTION_RECORD;
3046
3047
struct s_EXCEPTION_RECORD
3048
{
3049
  DWORD ExceptionCode;
3050
  DWORD ExceptionFlags;
3051
  PEXCEPTION_RECORD ExceptionRecord;
3052
  PVOID ExceptionAddress;
3053
  DWORD NumberParameters;
3054
  ULONG_PTR ExceptionInformation[EXCEPTION_MAXIMUM_PARAMETERS];
3055
};
3056
3057
typedef void* PCONTEXT;
3058
3059
typedef struct s_EXCEPTION_POINTERS
3060
{
3061
  PEXCEPTION_RECORD ExceptionRecord;
3062
  PCONTEXT ContextRecord;
3063
} EXCEPTION_POINTERS, *PEXCEPTION_POINTERS;
3064
3065
typedef LONG (*PTOP_LEVEL_EXCEPTION_FILTER)(PEXCEPTION_POINTERS ExceptionInfo);
3066
typedef PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER;
3067
3068
typedef LONG (*PVECTORED_EXCEPTION_HANDLER)(PEXCEPTION_POINTERS ExceptionInfo);
3069
3070
#ifdef __cplusplus
3071
extern "C"
3072
{
3073
#endif
3074
3075
  WINPR_API UINT GetErrorMode(void);
3076
3077
  WINPR_API UINT SetErrorMode(UINT uMode);
3078
3079
  WINPR_API DWORD GetLastError(void);
3080
3081
  WINPR_API VOID SetLastError(DWORD dwErrCode);
3082
3083
  WINPR_API VOID RestoreLastError(DWORD dwErrCode);
3084
3085
  WINPR_API VOID RaiseException(DWORD dwExceptionCode, DWORD dwExceptionFlags,
3086
                                DWORD nNumberOfArguments, CONST ULONG_PTR* lpArguments);
3087
3088
  WINPR_API LONG UnhandledExceptionFilter(PEXCEPTION_POINTERS ExceptionInfo);
3089
3090
  WINPR_API LPTOP_LEVEL_EXCEPTION_FILTER
3091
  SetUnhandledExceptionFilter(LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter);
3092
3093
  WINPR_API PVOID AddVectoredExceptionHandler(ULONG First, PVECTORED_EXCEPTION_HANDLER Handler);
3094
3095
  WINPR_API ULONG RemoveVectoredExceptionHandler(PVOID Handle);
3096
3097
  WINPR_API PVOID AddVectoredContinueHandler(ULONG First, PVECTORED_EXCEPTION_HANDLER Handler);
3098
3099
  WINPR_API ULONG RemoveVectoredContinueHandler(PVOID Handle);
3100
3101
#ifdef __cplusplus
3102
}
3103
#endif
3104
3105
#endif
3106
3107
#endif /* WINPR_ERROR_H */