(* OCaml-Win32
 * win32_errorcode.ml
 * Copyright (c) 2002-2004 by Harry Chomsky
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the Free
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *)

open Win32_core

(********************************************************************)
(* System Services: Debugging and Error Handling: SDK Documentation: Debugging and Error Handling: System Error Codes *)

let error_success = 0
let error_invalid_function = 1
let error_file_not_found = 2
let error_path_not_found = 3
let error_too_many_open_files = 4
let error_access_denied = 5
let error_invalid_handle = 6
let error_arena_trashed = 7
let error_not_enough_memory = 8
let error_invalid_block = 9
let error_bad_environment = 10
let error_bad_format = 11
let error_invalid_access = 12
let error_invalid_data = 13
let error_outofmemory = 14
let error_invalid_drive = 15
let error_current_directory = 16
let error_not_same_device = 17
let error_no_more_files = 18
let error_write_protect = 19
let error_bad_unit = 20
let error_not_ready = 21
let error_bad_command = 22
let error_crc = 23
let error_bad_length = 24
let error_seek = 25
let error_not_dos_disk = 26
let error_sector_not_found = 27
let error_out_of_paper = 28
let error_write_fault = 29
let error_read_fault = 30
let error_gen_failure = 31
let error_sharing_violation = 32
let error_lock_violation = 33
let error_wrong_disk = 34
let error_sharing_buffer_exceeded = 36
let error_handle_eof = 38
let error_handle_disk_full = 39
let error_not_supported = 50
let error_rem_not_list = 51
let error_dup_name = 52
let error_bad_netpath = 53
let error_network_busy = 54
let error_dev_not_exist = 55
let error_too_many_cmds = 56
let error_adap_hdw_err = 57
let error_bad_net_resp = 58
let error_unexp_net_err = 59
let error_bad_rem_adap = 60
let error_printq_full = 61
let error_no_spool_space = 62
let error_print_cancelled = 63
let error_netname_deleted = 64
let error_network_access_denied = 65
let error_bad_dev_type = 66
let error_bad_net_name = 67
let error_too_many_names = 68
let error_too_many_sess = 69
let error_sharing_paused = 70
let error_req_not_accep = 71
let error_redir_paused = 72
let error_file_exists = 80
let error_cannot_make = 82
let error_fail_i24 = 83
let error_out_of_structures = 84
let error_already_assigned = 85
let error_invalid_password = 86
let error_invalid_parameter = 87
let error_net_write_fault = 88
let error_no_proc_slots = 89
let error_too_many_semaphores = 100
let error_excl_sem_already_owned = 101
let error_sem_is_set = 102
let error_too_many_sem_requests = 103
let error_invalid_at_interrupt_time = 104
let error_sem_owner_died = 105
let error_sem_user_limit = 106
let error_disk_change = 107
let error_drive_locked = 108
let error_broken_pipe = 109
let error_open_failed = 110
let error_buffer_overflow = 111
let error_disk_full = 112
let error_no_more_search_handles = 113
let error_invalid_target_handle = 114
let error_invalid_category = 117
let error_invalid_verify_switch = 118
let error_bad_driver_level = 119
let error_call_not_implemented = 120
let error_sem_timeout = 121
let error_insufficient_buffer = 122
let error_invalid_name = 123
let error_invalid_level = 124
let error_no_volume_label = 125
let error_mod_not_found = 126
let error_proc_not_found = 127
let error_wait_no_children = 128
let error_child_not_complete = 129
let error_direct_access_handle = 130
let error_negative_seek = 131
let error_seek_on_device = 132
let error_is_join_target = 133
let error_is_joined = 134
let error_is_substed = 135
let error_not_joined = 136
let error_not_substed = 137
let error_join_to_join = 138
let error_subst_to_subst = 139
let error_join_to_subst = 140
let error_subst_to_join = 141
let error_busy_drive = 142
let error_same_drive = 143
let error_dir_not_root = 144
let error_dir_not_empty = 145
let error_is_subst_path = 146
let error_is_join_path = 147
let error_path_busy = 148
let error_is_subst_target = 149
let error_system_trace = 150
let error_invalid_event_count = 151
let error_too_many_muxwaiters = 152
let error_invalid_list_format = 153
let error_label_too_long = 154
let error_too_many_tcbs = 155
let error_signal_refused = 156
let error_discarded = 157
let error_not_locked = 158
let error_bad_threadid_addr = 159
let error_bad_arguments = 160
let error_bad_pathname = 161
let error_signal_pending = 162
let error_max_thrds_reached = 164
let error_lock_failed = 167
let error_busy = 170
let error_cancel_violation = 173
let error_atomic_locks_not_supported = 174
let error_invalid_segment_number = 180
let error_invalid_ordinal = 182
let error_already_exists = 183
let error_invalid_flag_number = 186
let error_sem_not_found = 187
let error_invalid_starting_codeseg = 188
let error_invalid_stackseg = 189
let error_invalid_moduletype = 190
let error_invalid_exe_signature = 191
let error_exe_marked_invalid = 192
let error_bad_exe_format = 193
let error_iterated_data_exceeds_64k = 194
let error_invalid_minallocsize = 195
let error_dynlink_from_invalid_ring = 196
let error_iopl_not_enabled = 197
let error_invalid_segdpl = 198
let error_autodataseg_exceeds_64k = 199
let error_ring2seg_must_be_movable = 200
let error_reloc_chain_xeeds_seglim = 201
let error_infloop_in_reloc_chain = 202
let error_envvar_not_found = 203
let error_no_signal_sent = 205
let error_filename_exced_range = 206
let error_ring2_stack_in_use = 207
let error_meta_expansion_too_long = 208
let error_invalid_signal_number = 209
let error_thread_1_inactive = 210
let error_locked = 212
let error_too_many_modules = 214
let error_nesting_not_allowed = 215
let error_exe_machine_type_mismatch = 216
let error_bad_pipe = 230
let error_pipe_busy = 231
let error_no_data = 232
let error_pipe_not_connected = 233
let error_more_data = 234
let error_vc_disconnected = 240
let error_invalid_ea_name = 254
let error_ea_list_inconsistent = 255
let error_no_more_items = 259
let error_cannot_copy = 266
let error_directory = 267
let error_eas_didnt_fit = 275
let error_ea_file_corrupt = 276
let error_ea_table_full = 277
let error_invalid_ea_handle = 278
let error_eas_not_supported = 282
let error_not_owner = 288
let error_too_many_posts = 298
let error_partial_copy = 299
let error_oplock_not_granted = 300
let error_invalid_oplock_protocol = 301
let error_mr_mid_not_found = 317
let error_invalid_address = 487
let error_arithmetic_overflow = 534
let error_pipe_connected = 535
let error_pipe_listening = 536
let error_ea_access_denied = 994
let error_operation_aborted = 995
let error_io_incomplete = 996
let error_io_pending = 997
let error_noaccess = 998
let error_swaperror = 999
let error_stack_overflow = 1001
let error_invalid_message = 1002
let error_can_not_complete = 1003
let error_invalid_flags = 1004
let error_unrecognized_volume = 1005
let error_file_invalid = 1006
let error_fullscreen_mode = 1007
let error_no_token = 1008
let error_baddb = 1009
let error_badkey = 1010
let error_cantopen = 1011
let error_cantread = 1012
let error_cantwrite = 1013
let error_registry_recovered = 1014
let error_registry_corrupt = 1015
let error_registry_io_failed = 1016
let error_not_registry_file = 1017
let error_key_deleted = 1018
let error_no_log_space = 1019
let error_key_has_children = 1020
let error_child_must_be_volatile = 1021
let error_notify_enum_dir = 1022
let error_dependent_services_running = 1051
let error_invalid_service_control = 1052
let error_service_request_timeout = 1053
let error_service_no_thread = 1054
let error_service_database_locked = 1055
let error_service_already_running = 1056
let error_invalid_service_account = 1057
let error_service_disabled = 1058
let error_circular_dependency = 1059
let error_service_does_not_exist = 1060
let error_service_cannot_accept_ctrl = 1061
let error_service_not_active = 1062
let error_failed_service_controller_connect = 1063
let error_exception_in_service = 1064
let error_database_does_not_exist = 1065
let error_service_specific_error = 1066
let error_process_aborted = 1067
let error_service_dependency_fail = 1068
let error_service_logon_failed = 1069
let error_service_start_hang = 1070
let error_invalid_service_lock = 1071
let error_service_marked_for_delete = 1072
let error_service_exists = 1073
let error_already_running_lkg = 1074
let error_service_dependency_deleted = 1075
let error_boot_already_accepted = 1076
let error_service_never_started = 1077
let error_duplicate_service_name = 1078
let error_different_service_account = 1079
let error_cannot_detect_driver_failure = 1080
let error_cannot_detect_process_abort = 1081
let error_no_recovery_program = 1082
let error_end_of_media = 1100
let error_filemark_detected = 1101
let error_beginning_of_media = 1102
let error_setmark_detected = 1103
let error_no_data_detected = 1104
let error_partition_failure = 1105
let error_invalid_block_length = 1106
let error_device_not_partitioned = 1107
let error_unable_to_lock_media = 1108
let error_unable_to_unload_media = 1109
let error_media_changed = 1110
let error_bus_reset = 1111
let error_no_media_in_drive = 1112
let error_no_unicode_translation = 1113
let error_dll_init_failed = 1114
let error_shutdown_in_progress = 1115
let error_no_shutdown_in_progress = 1116
let error_io_device = 1117
let error_serial_no_device = 1118
let error_irq_busy = 1119
let error_more_writes = 1120
let error_counter_timeout = 1121
let error_floppy_id_mark_not_found = 1122
let error_floppy_wrong_cylinder = 1123
let error_floppy_unknown_error = 1124
let error_floppy_bad_registers = 1125
let error_disk_recalibrate_failed = 1126
let error_disk_operation_failed = 1127
let error_disk_reset_failed = 1128
let error_eom_overflow = 1129
let error_not_enough_server_memory = 1130
let error_possible_deadlock = 1131
let error_mapped_alignment = 1132
let error_set_power_state_vetoed = 1140
let error_set_power_state_failed = 1141
let error_too_many_links = 1142
let error_old_win_version = 1150
let error_app_wrong_os = 1151
let error_single_instance_app = 1152
let error_rmode_app = 1153
let error_invalid_dll = 1154
let error_no_association = 1155
let error_dde_fail = 1156
let error_dll_not_found = 1157
let error_no_more_user_handles = 1158
let error_message_sync_only = 1159
let error_source_element_empty = 1160
let error_destination_element_full = 1161
let error_illegal_element_address = 1162
let error_magazine_not_present = 1163
let error_device_reinitialization_needed = 1164
let error_device_requires_cleaning = 1165
let error_device_door_open = 1166
let error_device_not_connected = 1167
let error_not_found = 1168
let error_no_match = 1169
let error_set_not_found = 1170
let error_point_not_found = 1171
let error_no_tracking_service = 1172
let error_no_volume_id = 1173
let error_bad_device = 1200
let error_connection_unavail = 1201
let error_device_already_remembered = 1202
let error_no_net_or_bad_path = 1203
let error_bad_provider = 1204
let error_cannot_open_profile = 1205
let error_bad_profile = 1206
let error_not_container = 1207
let error_extended_error = 1208
let error_invalid_groupname = 1209
let error_invalid_computername = 1210
let error_invalid_eventname = 1211
let error_invalid_domainname = 1212
let error_invalid_servicename = 1213
let error_invalid_netname = 1214
let error_invalid_sharename = 1215
let error_invalid_passwordname = 1216
let error_invalid_messagename = 1217
let error_invalid_messagedest = 1218
let error_session_credential_conflict = 1219
let error_remote_session_limit_exceeded = 1220
let error_dup_domainname = 1221
let error_no_network = 1222
let error_cancelled = 1223
let error_user_mapped_file = 1224
let error_connection_refused = 1225
let error_graceful_disconnect = 1226
let error_address_already_associated = 1227
let error_address_not_associated = 1228
let error_connection_invalid = 1229
let error_connection_active = 1230
let error_network_unreachable = 1231
let error_host_unreachable = 1232
let error_protocol_unreachable = 1233
let error_port_unreachable = 1234
let error_request_aborted = 1235
let error_connection_aborted = 1236
let error_retry = 1237
let error_connection_count_limit = 1238
let error_login_time_restriction = 1239
let error_login_wksta_restriction = 1240
let error_incorrect_address = 1241
let error_already_registered = 1242
let error_service_not_found = 1243
let error_not_authenticated = 1244
let error_not_logged_on = 1245
let error_continue = 1246
let error_already_initialized = 1247
let error_no_more_devices = 1248
let error_no_such_site = 1249
let error_domain_controller_exists = 1250
let error_ds_not_installed = 1251
let error_not_all_assigned = 1300
let error_some_not_mapped = 1301
let error_no_quotas_for_account = 1302
let error_local_user_session_key = 1303
let error_null_lm_password = 1304
let error_unknown_revision = 1305
let error_revision_mismatch = 1306
let error_invalid_owner = 1307
let error_invalid_primary_group = 1308
let error_no_impersonation_token = 1309
let error_cant_disable_mandatory = 1310
let error_no_logon_servers = 1311
let error_no_such_logon_session = 1312
let error_no_such_privilege = 1313
let error_privilege_not_held = 1314
let error_invalid_account_name = 1315
let error_user_exists = 1316
let error_no_such_user = 1317
let error_group_exists = 1318
let error_no_such_group = 1319
let error_member_in_group = 1320
let error_member_not_in_group = 1321
let error_last_admin = 1322
let error_wrong_password = 1323
let error_ill_formed_password = 1324
let error_password_restriction = 1325
let error_logon_failure = 1326
let error_account_restriction = 1327
let error_invalid_logon_hours = 1328
let error_invalid_workstation = 1329
let error_password_expired = 1330
let error_account_disabled = 1331
let error_none_mapped = 1332
let error_too_many_luids_requested = 1333
let error_luids_exhausted = 1334
let error_invalid_sub_authority = 1335
let error_invalid_acl = 1336
let error_invalid_sid = 1337
let error_invalid_security_descr = 1338
let error_bad_inheritance_acl = 1340
let error_server_disabled = 1341
let error_server_not_disabled = 1342
let error_invalid_id_authority = 1343
let error_allotted_space_exceeded = 1344
let error_invalid_group_attributes = 1345
let error_bad_impersonation_level = 1346
let error_cant_open_anonymous = 1347
let error_bad_validation_class = 1348
let error_bad_token_type = 1349
let error_no_security_on_object = 1350
let error_cant_access_domain_info = 1351
let error_invalid_server_state = 1352
let error_invalid_domain_state = 1353
let error_invalid_domain_role = 1354
let error_no_such_domain = 1355
let error_domain_exists = 1356
let error_domain_limit_exceeded = 1357
let error_internal_db_corruption = 1358
let error_internal_error = 1359
let error_generic_not_mapped = 1360
let error_bad_descriptor_format = 1361
let error_not_logon_process = 1362
let error_logon_session_exists = 1363
let error_no_such_package = 1364
let error_bad_logon_session_state = 1365
let error_logon_session_collision = 1366
let error_invalid_logon_type = 1367
let error_cannot_impersonate = 1368
let error_rxact_invalid_state = 1369
let error_rxact_commit_failure = 1370
let error_special_account = 1371
let error_special_group = 1372
let error_special_user = 1373
let error_members_primary_group = 1374
let error_token_already_in_use = 1375
let error_no_such_alias = 1376
let error_member_not_in_alias = 1377
let error_member_in_alias = 1378
let error_alias_exists = 1379
let error_logon_not_granted = 1380
let error_too_many_secrets = 1381
let error_secret_too_long = 1382
let error_internal_db_error = 1383
let error_too_many_context_ids = 1384
let error_logon_type_not_granted = 1385
let error_nt_cross_encryption_required = 1386
let error_no_such_member = 1387
let error_invalid_member = 1388
let error_too_many_sids = 1389
let error_lm_cross_encryption_required = 1390
let error_no_inheritance = 1391
let error_file_corrupt = 1392
let error_disk_corrupt = 1393
let error_no_user_session_key = 1394
let error_license_quota_exceeded = 1395
let error_invalid_window_handle = 1400
let error_invalid_menu_handle = 1401
let error_invalid_cursor_handle = 1402
let error_invalid_accel_handle = 1403
let error_invalid_hook_handle = 1404
let error_invalid_dwp_handle = 1405
let error_tlw_with_wschild = 1406
let error_cannot_find_wnd_class = 1407
let error_window_of_other_thread = 1408
let error_hotkey_already_registered = 1409
let error_class_already_exists = 1410
let error_class_does_not_exist = 1411
let error_class_has_windows = 1412
let error_invalid_index = 1413
let error_invalid_icon_handle = 1414
let error_private_dialog_index = 1415
let error_listbox_id_not_found = 1416
let error_no_wildcard_characters = 1417
let error_clipboard_not_open = 1418
let error_hotkey_not_registered = 1419
let error_window_not_dialog = 1420
let error_control_id_not_found = 1421
let error_invalid_combobox_message = 1422
let error_window_not_combobox = 1423
let error_invalid_edit_height = 1424
let error_dc_not_found = 1425
let error_invalid_hook_filter = 1426
let error_invalid_filter_proc = 1427
let error_hook_needs_hmod = 1428
let error_global_only_hook = 1429
let error_journal_hook_set = 1430
let error_hook_not_installed = 1431
let error_invalid_lb_message = 1432
let error_setcount_on_bad_lb = 1433
let error_lb_without_tabstops = 1434
let error_destroy_object_of_other_thread = 1435
let error_child_window_menu = 1436
let error_no_system_menu = 1437
let error_invalid_msgbox_style = 1438
let error_invalid_spi_value = 1439
let error_screen_already_locked = 1440
let error_hwnds_have_diff_parent = 1441
let error_not_child_window = 1442
let error_invalid_gw_command = 1443
let error_invalid_thread_id = 1444
let error_non_mdichild_window = 1445
let error_popup_already_active = 1446
let error_no_scrollbars = 1447
let error_invalid_scrollbar_range = 1448
let error_invalid_showwin_command = 1449
let error_no_system_resources = 1450
let error_nonpaged_system_resources = 1451
let error_paged_system_resources = 1452
let error_working_set_quota = 1453
let error_pagefile_quota = 1454
let error_commitment_limit = 1455
let error_menu_item_not_found = 1456
let error_invalid_keyboard_handle = 1457
let error_hook_type_not_allowed = 1458
let error_requires_interactive_windowstation = 1459
let error_timeout = 1460
let error_invalid_monitor_handle = 1461
let error_eventlog_file_corrupt = 1500
let error_eventlog_cant_start = 1501
let error_log_file_full = 1502
let error_eventlog_file_changed = 1503
let error_install_service = 1601
let error_install_userexit = 1602
let error_install_failure = 1603
let error_install_suspend = 1604
let error_unknown_product = 1605
let error_unknown_feature = 1606
let error_unknown_component = 1607
let error_unknown_property = 1608
let error_invalid_handle_state = 1609
let error_bad_configuration = 1610
let error_index_absent = 1611
let error_install_source_absent = 1612
let error_bad_database_version = 1613
let error_product_uninstalled = 1614
let error_bad_query_syntax = 1615
let error_invalid_field = 1616
let rpc_s_invalid_string_binding = 1700
let rpc_s_wrong_kind_of_binding = 1701
let rpc_s_invalid_binding = 1702
let rpc_s_protseq_not_supported = 1703
let rpc_s_invalid_rpc_protseq = 1704
let rpc_s_invalid_string_uuid = 1705
let rpc_s_invalid_endpoint_format = 1706
let rpc_s_invalid_net_addr = 1707
let rpc_s_no_endpoint_found = 1708
let rpc_s_invalid_timeout = 1709
let rpc_s_object_not_found = 1710
let rpc_s_already_registered = 1711
let rpc_s_type_already_registered = 1712
let rpc_s_already_listening = 1713
let rpc_s_no_protseqs_registered = 1714
let rpc_s_not_listening = 1715
let rpc_s_unknown_mgr_type = 1716
let rpc_s_unknown_if = 1717
let rpc_s_no_bindings = 1718
let rpc_s_no_protseqs = 1719
let rpc_s_cant_create_endpoint = 1720
let rpc_s_out_of_resources = 1721
let rpc_s_server_unavailable = 1722
let rpc_s_server_too_busy = 1723
let rpc_s_invalid_network_options = 1724
let rpc_s_no_call_active = 1725
let rpc_s_call_failed = 1726
let rpc_s_call_failed_dne = 1727
let rpc_s_protocol_error = 1728
let rpc_s_unsupported_trans_syn = 1730
let rpc_s_unsupported_type = 1732
let rpc_s_invalid_tag = 1733
let rpc_s_invalid_bound = 1734
let rpc_s_no_entry_name = 1735
let rpc_s_invalid_name_syntax = 1736
let rpc_s_unsupported_name_syntax = 1737
let rpc_s_uuid_no_address = 1739
let rpc_s_duplicate_endpoint = 1740
let rpc_s_unknown_authn_type = 1741
let rpc_s_max_calls_too_small = 1742
let rpc_s_string_too_long = 1743
let rpc_s_protseq_not_found = 1744
let rpc_s_procnum_out_of_range = 1745
let rpc_s_binding_has_no_auth = 1746
let rpc_s_unknown_authn_service = 1747
let rpc_s_unknown_authn_level = 1748
let rpc_s_invalid_auth_identity = 1749
let rpc_s_unknown_authz_service = 1750
let ept_s_invalid_entry = 1751
let ept_s_cant_perform_op = 1752
let ept_s_not_registered = 1753
let rpc_s_nothing_to_export = 1754
let rpc_s_incomplete_name = 1755
let rpc_s_invalid_vers_option = 1756
let rpc_s_no_more_members = 1757
let rpc_s_not_all_objs_unexported = 1758
let rpc_s_interface_not_found = 1759
let rpc_s_entry_already_exists = 1760
let rpc_s_entry_not_found = 1761
let rpc_s_name_service_unavailable = 1762
let rpc_s_invalid_naf_id = 1763
let rpc_s_cannot_support = 1764
let rpc_s_no_context_available = 1765
let rpc_s_internal_error = 1766
let rpc_s_zero_divide = 1767
let rpc_s_address_error = 1768
let rpc_s_fp_div_zero = 1769
let rpc_s_fp_underflow = 1770
let rpc_s_fp_overflow = 1771
let rpc_x_no_more_entries = 1772
let rpc_x_ss_char_trans_open_fail = 1773
let rpc_x_ss_char_trans_short_file = 1774
let rpc_x_ss_in_null_context = 1775
let rpc_x_ss_context_damaged = 1777
let rpc_x_ss_handles_mismatch = 1778
let rpc_x_ss_cannot_get_call_handle = 1779
let rpc_x_null_ref_pointer = 1780
let rpc_x_enum_value_out_of_range = 1781
let rpc_x_byte_count_too_small = 1782
let rpc_x_bad_stub_data = 1783
let error_invalid_user_buffer = 1784
let error_unrecognized_media = 1785
let error_no_trust_lsa_secret = 1786
let error_no_trust_sam_account = 1787
let error_trusted_domain_failure = 1788
let error_trusted_relationship_failure = 1789
let error_trust_failure = 1790
let rpc_s_call_in_progress = 1791
let error_netlogon_not_started = 1792
let error_account_expired = 1793
let error_redirector_has_open_handles = 1794
let error_printer_driver_already_installed = 1795
let error_unknown_port = 1796
let error_unknown_printer_driver = 1797
let error_unknown_printprocessor = 1798
let error_invalid_separator_file = 1799
let error_invalid_priority = 1800
let error_invalid_printer_name = 1801
let error_printer_already_exists = 1802
let error_invalid_printer_command = 1803
let error_invalid_datatype = 1804
let error_invalid_environment = 1805
let rpc_s_no_more_bindings = 1806
let error_nologon_interdomain_trust_account = 1807
let error_nologon_workstation_trust_account = 1808
let error_nologon_server_trust_account = 1809
let error_domain_trust_inconsistent = 1810
let error_server_has_open_handles = 1811
let error_resource_data_not_found = 1812
let error_resource_type_not_found = 1813
let error_resource_name_not_found = 1814
let error_resource_lang_not_found = 1815
let error_not_enough_quota = 1816
let rpc_s_no_interfaces = 1817
let rpc_s_call_cancelled = 1818
let rpc_s_binding_incomplete = 1819
let rpc_s_comm_failure = 1820
let rpc_s_unsupported_authn_level = 1821
let rpc_s_no_princ_name = 1822
let rpc_s_not_rpc_error = 1823
let rpc_s_uuid_local_only = 1824
let rpc_s_sec_pkg_error = 1825
let rpc_s_not_cancelled = 1826
let rpc_x_invalid_es_action = 1827
let rpc_x_wrong_es_version = 1828
let rpc_x_wrong_stub_version = 1829
let rpc_x_invalid_pipe_object = 1830
let rpc_x_wrong_pipe_order = 1831
let rpc_x_wrong_pipe_version = 1832
let rpc_s_group_member_not_found = 1898
let ept_s_cant_create = 1899
let rpc_s_invalid_object = 1900
let error_invalid_time = 1901
let error_invalid_form_name = 1902
let error_invalid_form_size = 1903
let error_already_waiting = 1904
let error_printer_deleted = 1905
let error_invalid_printer_state = 1906
let error_password_must_change = 1907
let error_domain_controller_not_found = 1908
let error_account_locked_out = 1909
let or_invalid_oxid = 1910
let or_invalid_oid = 1911
let or_invalid_set = 1912
let rpc_s_send_incomplete = 1913
let rpc_s_invalid_async_handle = 1914
let rpc_s_invalid_async_call = 1915
let rpc_x_pipe_closed = 1916
let rpc_x_pipe_discipline_error = 1917
let rpc_x_pipe_empty = 1918
let error_no_sitename = 1919
let error_cant_access_file = 1920
let error_cant_resolve_filename = 1921
let error_ds_membership_evaluated_locally = 1922
let error_ds_no_attribute_or_value = 1923
let error_ds_invalid_attribute_syntax = 1924
let error_ds_attribute_type_undefined = 1925
let error_ds_attribute_or_value_exists = 1926
let error_ds_busy = 1927
let error_ds_unavailable = 1928
let error_ds_no_rids_allocated = 1929
let error_ds_no_more_rids = 1930
let error_ds_incorrect_role_owner = 1931
let error_ds_ridmgr_init_error = 1932
let error_ds_obj_class_violation = 1933
let error_ds_cant_on_non_leaf = 1934
let error_ds_cant_on_rdn = 1935
let error_ds_cant_mod_obj_class = 1936
let error_ds_cross_dom_move_error = 1937
let error_ds_gc_not_available = 1938
let error_invalid_pixel_format = 2000
let error_bad_driver = 2001
let error_invalid_window_style = 2002
let error_metafile_not_supported = 2003
let error_transform_not_supported = 2004
let error_clipping_not_supported = 2005
let error_connected_other_password = 2108
let error_bad_username = 2202
let error_not_connected = 2250
let error_invalid_cmm = 2300
let error_invalid_profile = 2301
let error_tag_not_found = 2302
let error_tag_not_present = 2303
let error_duplicate_tag = 2304
let error_profile_not_associated_with_device = 2305
let error_profile_not_found = 2306
let error_invalid_colorspace = 2307
let error_icm_not_enabled = 2308
let error_deleting_icm_xform = 2309
let error_invalid_transform = 2310
let error_open_files = 2401
let error_active_connections = 2402
let error_device_in_use = 2404
let error_unknown_print_monitor = 3000
let error_printer_driver_in_use = 3001
let error_spool_file_not_found = 3002
let error_spl_no_startdoc = 3003
let error_spl_no_addjob = 3004
let error_print_processor_already_installed = 3005
let error_print_monitor_already_installed = 3006
let error_invalid_print_monitor = 3007
let error_print_monitor_in_use = 3008
let error_printer_has_jobs_queued = 3009
let error_success_reboot_required = 3010
let error_success_restart_required = 3011
let error_wins_internal = 4000
let error_can_not_del_local_wins = 4001
let error_static_init = 4002
let error_inc_backup = 4003
let error_full_backup = 4004
let error_rec_non_existent = 4005
let error_rpl_not_allowed = 4006
let error_dhcp_address_conflict = 4100
let error_wmi_guid_not_found = 4200
let error_wmi_instance_not_found = 4201
let error_wmi_itemid_not_found = 4202
let error_wmi_try_again = 4203
let error_wmi_dp_not_found = 4204
let error_wmi_unresolved_instance_ref = 4205
let error_wmi_already_enabled = 4206
let error_wmi_guid_disconnected = 4207
let error_wmi_server_unavailable = 4208
let error_wmi_dp_failed = 4209
let error_wmi_invalid_mof = 4210
let error_wmi_invalid_reginfo = 4211
let error_invalid_media = 4300
let error_invalid_library = 4301
let error_invalid_media_pool = 4302
let error_drive_media_mismatch = 4303
let error_media_offline = 4304
let error_library_offline = 4305
let error_empty = 4306
let error_not_empty = 4307
let error_media_unavailable = 4308
let error_resource_disabled = 4309
let error_invalid_cleaner = 4310
let error_unable_to_clean = 4311
let error_object_not_found = 4312
let error_database_failure = 4313
let error_database_full = 4314
let error_media_incompatible = 4315
let error_resource_not_present = 4316
let error_invalid_operation = 4317
let error_media_not_available = 4318
let error_device_not_available = 4319
let error_request_refused = 4320
let error_file_offline = 4350
let error_remote_storage_not_active = 4351
let error_remote_storage_media_error = 4352
let error_not_a_reparse_point = 4390
let error_reparse_attribute_conflict = 4391
let error_dependent_resource_exists = 5001
let error_dependency_not_found = 5002
let error_dependency_already_exists = 5003
let error_resource_not_online = 5004
let error_host_node_not_available = 5005
let error_resource_not_available = 5006
let error_resource_not_found = 5007
let error_shutdown_cluster = 5008
let error_cant_evict_active_node = 5009
let error_object_already_exists = 5010
let error_object_in_list = 5011
let error_group_not_available = 5012
let error_group_not_found = 5013
let error_group_not_online = 5014
let error_host_node_not_resource_owner = 5015
let error_host_node_not_group_owner = 5016
let error_resmon_create_failed = 5017
let error_resmon_online_failed = 5018
let error_resource_online = 5019
let error_quorum_resource = 5020
let error_not_quorum_capable = 5021
let error_cluster_shutting_down = 5022
let error_invalid_state = 5023
let error_resource_properties_stored = 5024
let error_not_quorum_class = 5025
let error_core_resource = 5026
let error_quorum_resource_online_failed = 5027
let error_quorumlog_open_failed = 5028
let error_clusterlog_corrupt = 5029
let error_clusterlog_record_exceeds_maxsize = 5030
let error_clusterlog_exceeds_maxsize = 5031
let error_clusterlog_chkpoint_not_found = 5032
let error_clusterlog_not_enough_space = 5033
let error_encryption_failed = 6000
let error_decryption_failed = 6001
let error_file_encrypted = 6002
let error_no_recovery_policy = 6003
let error_no_efs = 6004
let error_wrong_efs = 6005
let error_no_user_keys = 6006
let error_file_not_encrypted = 6007
let error_not_export_format = 6008
let error_no_browser_servers_found = 6118
