headers: Add more error codes in winerror.h

Required for https://github.com/microsoft/DirectXShaderCompiler

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
This commit is contained in:
Biswapriyo Nath 2024-06-28 18:02:14 +00:00 committed by LIU Hao
parent ed0024ccd2
commit dbb781a800

View File

@ -159,6 +159,9 @@
#define FACILITY_SYNCENGINE 2050
#define FACILITY_XBOX 2339
#define FACILITY_GAME 2340
#define FACILITY_USERMODE_UNIONFS 2341
#define FACILITY_USERMODE_PRM 2342
#define FACILITY_USERMODE_WIN_ACCEL 2343
#define FACILITY_PIX 2748
#define ERROR_SUCCESS __MSABI_LONG(0)
@ -528,6 +531,10 @@
#define ERROR_INSUFFICIENT_VIRTUAL_ADDR_RESOURCES __MSABI_LONG(473)
#define ERROR_INDEX_OUT_OF_BOUNDS __MSABI_LONG(474)
#define ERROR_CLOUD_FILE_US_MESSAGE_TIMEOUT __MSABI_LONG(475)
#define ERROR_NOT_A_DEV_VOLUME __MSABI_LONG(476)
#define ERROR_FS_GUID_MISMATCH __MSABI_LONG(477)
#define ERROR_CANT_ATTACH_TO_DEV_VOLUME __MSABI_LONG(478)
#define ERROR_MEMORY_DECOMPRESSION_FAILURE __MSABI_LONG(479)
#define ERROR_PNP_QUERY_REMOVE_DEVICE_TIMEOUT __MSABI_LONG(480)
#define ERROR_PNP_QUERY_REMOVE_RELATED_DEVICE_TIMEOUT __MSABI_LONG(481)
#define ERROR_PNP_QUERY_REMOVE_UNRELATED_DEVICE_TIMEOUT __MSABI_LONG(482)
@ -560,6 +567,13 @@
#define ERROR_BLOCK_SOURCE_WEAK_REFERENCE_INVALID __MSABI_LONG(512)
#define ERROR_BLOCK_TARGET_WEAK_REFERENCE_INVALID __MSABI_LONG(513)
#define ERROR_BLOCK_SHARED __MSABI_LONG(514)
#define ERROR_VOLUME_UPGRADE_NOT_NEEDED __MSABI_LONG(515)
#define ERROR_VOLUME_UPGRADE_PENDING __MSABI_LONG(516)
#define ERROR_VOLUME_UPGRADE_DISABLED __MSABI_LONG(517)
#define ERROR_VOLUME_UPGRADE_DISABLED_TILL_OS_DOWNGRADE_EXPIRED __MSABI_LONG(518)
#define ERROR_INVALID_CONFIG_VALUE __MSABI_LONG(519)
#define ERROR_MEMORY_DECOMPRESSION_HW_ERROR __MSABI_LONG(520)
#define ERROR_VOLUME_ROLLBACK_DETECTED __MSABI_LONG(521)
#define ERROR_ARITHMETIC_OVERFLOW __MSABI_LONG(534)
#define ERROR_PIPE_CONNECTED __MSABI_LONG(535)
#define ERROR_PIPE_LISTENING __MSABI_LONG(536)
@ -1035,6 +1049,7 @@
#define ERROR_SMARTCARD_SUBSYSTEM_FAILURE __MSABI_LONG(1264)
#define ERROR_DOWNGRADE_DETECTED __MSABI_LONG(1265)
#define ERROR_MACHINE_LOCKED __MSABI_LONG(1271)
#define ERROR_SMB_GUEST_LOGON_BLOCKED __MSABI_LONG(1272)
#define ERROR_CALLBACK_SUPPLIED_INVALID_DATA __MSABI_LONG(1273)
#define ERROR_SYNC_FOREGROUND_REFRESH_REQUIRED __MSABI_LONG(1274)
#define ERROR_DRIVER_BLOCKED __MSABI_LONG(1275)
@ -1497,6 +1512,7 @@
#define ERROR_INVALID_TRANSFORM __MSABI_LONG(2020)
#define ERROR_COLORSPACE_MISMATCH __MSABI_LONG(2021)
#define ERROR_INVALID_COLORINDEX __MSABI_LONG(2022)
#define ERROR_PROFILE_DOES_NOT_MATCH_DEVICE __MSABI_LONG(2023)
#define ERROR_CONNECTED_OTHER_PASSWORD __MSABI_LONG(2108)
#define ERROR_CONNECTED_OTHER_PASSWORD_DEFAULT __MSABI_LONG(2109)
#define ERROR_BAD_USERNAME __MSABI_LONG(2202)
@ -1529,6 +1545,7 @@
#define ERROR_PRINTER_NOT_SHAREABLE __MSABI_LONG(3022)
#define ERROR_SERVER_SERVICE_CALL_REQUIRES_SMB1 __MSABI_LONG(3023)
#define ERROR_NETWORK_AUTHENTICATION_PROMPT_CANCELED __MSABI_LONG(3024)
#define ERROR_REMOTE_MAILSLOTS_DEPRECATED __MSABI_LONG(3025)
#define ERROR_REQUEST_PAUSED __MSABI_LONG(3050)
#define ERROR_APPEXEC_CONDITION_NOT_SATISFIED __MSABI_LONG(3060)
#define ERROR_APPEXEC_HANDLE_INVALIDATED __MSABI_LONG(3061)
@ -1551,6 +1568,10 @@
#define ERROR_VRF_VOLATILE_PROTECTED_DRIVER __MSABI_LONG(3085)
#define ERROR_VRF_VOLATILE_NMI_REGISTERED __MSABI_LONG(3086)
#define ERROR_VRF_VOLATILE_SETTINGS_CONFLICT __MSABI_LONG(3087)
#define ERROR_CAR_LKD_IN_PROGRESS __MSABI_LONG(3088)
#define ERROR_DIF_ZERO_SIZE_INFORMATION __MSABI_LONG(3187)
#define ERROR_DIF_DRIVER_PLUGIN_MISMATCH __MSABI_LONG(3188)
#define ERROR_DIF_DRIVER_THUNKS_NOT_ALLOWED __MSABI_LONG(3189)
#define ERROR_DIF_IOCALLBACK_NOT_REPLACED __MSABI_LONG(3190)
#define ERROR_DIF_LIVEDUMP_LIMIT_EXCEEDED __MSABI_LONG(3191)
#define ERROR_DIF_VOLATILE_SECTION_NOT_LOCKED __MSABI_LONG(3192)
@ -1569,6 +1590,23 @@
#define ERROR_FULL_BACKUP __MSABI_LONG(4004)
#define ERROR_REC_NON_EXISTENT __MSABI_LONG(4005)
#define ERROR_RPL_NOT_ALLOWED __MSABI_LONG(4006)
#define PEERDIST_ERROR_CONTENTINFO_VERSION_UNSUPPORTED __MSABI_LONG(4050)
#define PEERDIST_ERROR_CANNOT_PARSE_CONTENTINFO __MSABI_LONG(4051)
#define PEERDIST_ERROR_MISSING_DATA __MSABI_LONG(4052)
#define PEERDIST_ERROR_NO_MORE __MSABI_LONG(4053)
#define PEERDIST_ERROR_NOT_INITIALIZED __MSABI_LONG(4054)
#define PEERDIST_ERROR_ALREADY_INITIALIZED __MSABI_LONG(4055)
#define PEERDIST_ERROR_SHUTDOWN_IN_PROGRESS __MSABI_LONG(4056)
#define PEERDIST_ERROR_INVALIDATED __MSABI_LONG(4057)
#define PEERDIST_ERROR_ALREADY_EXISTS __MSABI_LONG(4058)
#define PEERDIST_ERROR_OPERATION_NOTFOUND __MSABI_LONG(4059)
#define PEERDIST_ERROR_ALREADY_COMPLETED __MSABI_LONG(4060)
#define PEERDIST_ERROR_OUT_OF_BOUNDS __MSABI_LONG(4061)
#define PEERDIST_ERROR_VERSION_UNSUPPORTED __MSABI_LONG(4062)
#define PEERDIST_ERROR_INVALID_CONFIGURATION __MSABI_LONG(4063)
#define PEERDIST_ERROR_NOT_LICENSED __MSABI_LONG(4064)
#define PEERDIST_ERROR_SERVICE_UNAVAILABLE __MSABI_LONG(4065)
#define PEERDIST_ERROR_TRUST_FAILURE __MSABI_LONG(4066)
#define ERROR_DHCP_ADDRESS_CONFLICT __MSABI_LONG(4100)
#define ERROR_WMI_GUID_NOT_FOUND __MSABI_LONG(4200)
#define ERROR_WMI_INSTANCE_NOT_FOUND __MSABI_LONG(4201)
@ -1585,6 +1623,10 @@
#define ERROR_WMI_ALREADY_DISABLED __MSABI_LONG(4212)
#define ERROR_WMI_READ_ONLY __MSABI_LONG(4213)
#define ERROR_WMI_SET_FAILURE __MSABI_LONG(4214)
#define ERROR_NOT_APPCONTAINER __MSABI_LONG(4250)
#define ERROR_APPCONTAINER_REQUIRED __MSABI_LONG(4251)
#define ERROR_NOT_SUPPORTED_IN_APPCONTAINER __MSABI_LONG(4252)
#define ERROR_INVALID_PACKAGE_SID_LENGTH __MSABI_LONG(4253)
#define ERROR_INVALID_MEDIA __MSABI_LONG(4300)
#define ERROR_INVALID_LIBRARY __MSABI_LONG(4301)
#define ERROR_INVALID_MEDIA_POOL __MSABI_LONG(4302)
@ -1668,6 +1710,29 @@
#define ERROR_WOF_FILE_RESOURCE_TABLE_CORRUPT __MSABI_LONG(4448)
#define ERROR_OBJECT_IS_IMMUTABLE __MSABI_LONG(4449)
#define ERROR_VOLUME_NOT_SIS_ENABLED __MSABI_LONG(4500)
#define ERROR_SYSTEM_INTEGRITY_ROLLBACK_DETECTED __MSABI_LONG(4550)
#define ERROR_SYSTEM_INTEGRITY_POLICY_VIOLATION __MSABI_LONG(4551)
#define ERROR_SYSTEM_INTEGRITY_INVALID_POLICY __MSABI_LONG(4552)
#define ERROR_SYSTEM_INTEGRITY_POLICY_NOT_SIGNED __MSABI_LONG(4553)
#define ERROR_SYSTEM_INTEGRITY_TOO_MANY_POLICIES __MSABI_LONG(4554)
#define ERROR_SYSTEM_INTEGRITY_SUPPLEMENTAL_POLICY_NOT_AUTHORIZED __MSABI_LONG(4555)
#define ERROR_SYSTEM_INTEGRITY_REPUTATION_MALICIOUS __MSABI_LONG(4556)
#define ERROR_SYSTEM_INTEGRITY_REPUTATION_PUA __MSABI_LONG(4557)
#define ERROR_SYSTEM_INTEGRITY_REPUTATION_DANGEROUS_EXT __MSABI_LONG(4558)
#define ERROR_SYSTEM_INTEGRITY_REPUTATION_OFFLINE __MSABI_LONG(4559)
#define ERROR_VSM_NOT_INITIALIZED __MSABI_LONG(4560)
#define ERROR_VSM_DMA_PROTECTION_NOT_IN_USE __MSABI_LONG(4561)
#define ERROR_PLATFORM_MANIFEST_NOT_AUTHORIZED __MSABI_LONG(4570)
#define ERROR_PLATFORM_MANIFEST_INVALID __MSABI_LONG(4571)
#define ERROR_PLATFORM_MANIFEST_FILE_NOT_AUTHORIZED __MSABI_LONG(4572)
#define ERROR_PLATFORM_MANIFEST_CATALOG_NOT_AUTHORIZED __MSABI_LONG(4573)
#define ERROR_PLATFORM_MANIFEST_BINARY_ID_NOT_FOUND __MSABI_LONG(4574)
#define ERROR_PLATFORM_MANIFEST_NOT_ACTIVE __MSABI_LONG(4575)
#define ERROR_PLATFORM_MANIFEST_NOT_SIGNED __MSABI_LONG(4576)
#define ERROR_SYSTEM_INTEGRITY_REPUTATION_UNFRIENDLY_FILE __MSABI_LONG(4580)
#define ERROR_SYSTEM_INTEGRITY_REPUTATION_UNATTAINABLE __MSABI_LONG(4581)
#define ERROR_SYSTEM_INTEGRITY_REPUTATION_EXPLICIT_DENY_FILE __MSABI_LONG(4582)
#define ERROR_SYSTEM_INTEGRITY_WHQL_NOT_SATISFIED __MSABI_LONG(4583)
#define ERROR_DEPENDENT_RESOURCE_EXISTS __MSABI_LONG(5001)
#define ERROR_DEPENDENCY_NOT_FOUND __MSABI_LONG(5002)
#define ERROR_DEPENDENCY_ALREADY_EXISTS __MSABI_LONG(5003)
@ -1756,6 +1821,7 @@
#define ERROR_DATABASE_BACKUP_CORRUPT __MSABI_LONG(5087)
#define ERROR_CLUSTER_NODE_ALREADY_HAS_DFS_ROOT __MSABI_LONG(5088)
#define ERROR_RESOURCE_PROPERTY_UNCHANGEABLE __MSABI_LONG(5089)
#define ERROR_NO_ADMIN_ACCESS_POINT __MSABI_LONG(5090)
#define ERROR_CLUSTER_MEMBERSHIP_INVALID_STATE __MSABI_LONG(5890)
#define ERROR_CLUSTER_QUORUMLOG_NOT_FOUND __MSABI_LONG(5891)
#define ERROR_CLUSTER_MEMBERSHIP_HALT __MSABI_LONG(5892)
@ -1890,9 +1956,18 @@
#define ERROR_CS_ENCRYPTION_FILE_NOT_CSE __MSABI_LONG(6021)
#define ERROR_ENCRYPTION_POLICY_DENIES_OPERATION __MSABI_LONG(6022)
#define ERROR_WIP_ENCRYPTION_FAILED __MSABI_LONG(6023)
#define ERROR_PDE_ENCRYPTION_UNAVAILABLE_FAILURE __MSABI_LONG(6024)
#define ERROR_PDE_DECRYPTION_UNAVAILABLE_FAILURE __MSABI_LONG(6025)
#define ERROR_PDE_DECRYPTION_UNAVAILABLE __MSABI_LONG(6026)
#define ERROR_NO_BROWSER_SERVERS_FOUND __MSABI_LONG(6118)
#define SCHED_E_SERVICE_NOT_LOCALSYSTEM __MSABI_LONG(6200)
#define ERROR_CLUSTER_OBJECT_IS_CLUSTER_SET_VM __MSABI_LONG(6250)
#define ERROR_CNU_TEMPLATE_ALREADY_EXISTS __MSABI_LONG(6251)
#define ERROR_CNU_TEMPLATE_NAME_NOT_FOUND __MSABI_LONG(6252)
#define ERROR_CNU_RUN_NAME_NOT_FOUND __MSABI_LONG(6253)
#define ERROR_CNU_RUN_ALREADY_IN_PROGRESS __MSABI_LONG(6254)
#define ERROR_CNU_RUN_NOT_IN_PROGRESS __MSABI_LONG(6255)
#define ERROR_CNU_NOT_READY __MSABI_LONG(6256)
#define ERROR_LOG_SECTOR_INVALID __MSABI_LONG(6600)
#define ERROR_LOG_SECTOR_PARITY_INVALID __MSABI_LONG(6601)
#define ERROR_LOG_SECTOR_REMAPPED __MSABI_LONG(6602)
@ -2159,6 +2234,7 @@
#define ERROR_DS_REFERRAL_LIMIT_EXCEEDED __MSABI_LONG(8260)
#define ERROR_DS_SORT_CONTROL_MISSING __MSABI_LONG(8261)
#define ERROR_DS_OFFSET_RANGE_ERROR __MSABI_LONG(8262)
#define ERROR_DS_RIDMGR_DISABLED __MSABI_LONG(8263)
#define ERROR_DS_ROOT_MUST_BE_NC __MSABI_LONG(8301)
#define ERROR_DS_ADD_REPLICA_INHIBITED __MSABI_LONG(8302)
#define ERROR_DS_ATT_NOT_DEF_IN_SCHEMA __MSABI_LONG(8303)
@ -3247,7 +3323,12 @@ __CRT_INLINE HRESULT HRESULT_FROM_WIN32(__LONG32 x) { return x <= 0 ? (HRESULT)x
#define E_FAIL _HRESULT_TYPEDEF_(0x80004005)
#define E_ACCESSDENIED _HRESULT_TYPEDEF_(0x80070005)
#define E_PENDING _HRESULT_TYPEDEF_(0x8000000A)
#define E_BOUNDS _HRESULT_TYPEDEF_(0x8000000B)
#define E_NOT_SET HRESULT_FROM_WIN32(ERROR_NOT_FOUND)
#define E_NOT_VALID_STATE HRESULT_FROM_WIN32(ERROR_INVALID_STATE)
#define E_NOT_SUFFICIENT_BUFFER HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER)
#define E_TIME_SENSITIVE_THREAD HRESULT_FROM_WIN32(ERROR_TIME_SENSITIVE_THREAD)
#define E_NO_TASK_QUEUE HRESULT_FROM_WIN32(ERROR_NO_TASK_QUEUE)
#define CO_E_INIT_TLS _HRESULT_TYPEDEF_(0x80004006)
#define CO_E_INIT_SHARED_ALLOCATOR _HRESULT_TYPEDEF_(0x80004007)
#define CO_E_INIT_MEMORY_ALLOCATOR _HRESULT_TYPEDEF_(0x80004008)