大网数据广告活动
Windows 系统接口

COM Error Codes (VOLMGR, BCD, VHD, SDIAG) (Winerror.h)

· 52CE 我爱测

The following table provides a list of error codes used by COM-based APIs. | COM Error Codes (VOLMGR, BCD, VHD, SDIAG) (Winerror.h)

The following table provides a list of error codes used by COM-based APIs.

If you are experiencing difficulty with an application you are installing or running, contact customer support for the software that is displaying the error message. To obtain support for a Microsoft product, go to https://support.microsoft.com.

Constant/value Description
ERROR_VOLMGR_INCOMPLETE_REGENERATION 0x80380001 The regeneration operation was not able to copy all data from the active plexes due to bad sectors.
ERROR_VOLMGR_INCOMPLETE_DISK_MIGRATION 0x80380002 One or more disks were not fully migrated to the target pack. They may or may not require reimport after fixing the hardware problems.
ERROR_VOLMGR_DATABASE_FULL 0xC0380001 The configuration database is full.
ERROR_VOLMGR_DISK_CONFIGURATION_CORRUPTED 0xC0380002 The configuration data on the disk is corrupted.
ERROR_VOLMGR_DISK_CONFIGURATION_NOT_IN_SYNC 0xC0380003 The configuration on the disk is not insync with the in-memory configuration.
ERROR_VOLMGR_PACK_CONFIG_UPDATE_FAILED 0xC0380004 A majority of disks failed to be updated with the new configuration.
ERROR_VOLMGR_DISK_CONTAINS_NON_SIMPLE_VOLUME 0xC0380005 The disk contains non-simple volumes.
ERROR_VOLMGR_DISK_DUPLICATE 0xC0380006 The same disk was specified more than once in the migration list.
ERROR_VOLMGR_DISK_DYNAMIC 0xC0380007 The disk is already dynamic.
ERROR_VOLMGR_DISK_ID_INVALID 0xC0380008 The specified disk id is invalid. There are no disks with the specified disk id.
ERROR_VOLMGR_DISK_INVALID 0xC0380009 The specified disk is an invalid disk. Operation cannot complete on an invalid disk.
ERROR_VOLMGR_DISK_LAST_VOTER 0xC038000A The specified disk(s) cannot be removed since it is the last remaining voter.
ERROR_VOLMGR_DISK_LAYOUT_INVALID 0xC038000B The specified disk has an invalid disk layout.
ERROR_VOLMGR_DISK_LAYOUT_NON_BASIC_BETWEEN_BASIC_PARTITIONS 0xC038000C The disk layout contains non-basic partitions which appear after basic partitions. This is an invalid disk layout.
ERROR_VOLMGR_DISK_LAYOUT_NOT_CYLINDER_ALIGNED 0xC038000D The disk layout contains partitions which are not cylinder aligned.
ERROR_VOLMGR_DISK_LAYOUT_PARTITIONS_TOO_SMALL 0xC038000E The disk layout contains partitions which are smaller than the minimum size.
ERROR_VOLMGR_DISK_LAYOUT_PRIMARY_BETWEEN_LOGICAL_PARTITIONS 0xC038000F The disk layout contains primary partitions in between logical drives. This is an invalid disk layout.
ERROR_VOLMGR_DISK_LAYOUT_TOO_MANY_PARTITIONS 0xC0380010 The disk layout contains more than the maximum number of supported partitions.
ERROR_VOLMGR_DISK_MISSING 0xC0380011 The specified disk is missing. The operation cannot complete on a missing disk.
ERROR_VOLMGR_DISK_NOT_EMPTY 0xC0380012 The specified disk is not empty.
ERROR_VOLMGR_DISK_NOT_ENOUGH_SPACE 0xC0380013 There is not enough usable space for this operation.
ERROR_VOLMGR_DISK_REVECTORING_FAILED 0xC0380014 The force revectoring of bad sectors failed.
ERROR_VOLMGR_DISK_SECTOR_SIZE_INVALID 0xC0380015 The specified disk has an invalid sector size.
ERROR_VOLMGR_DISK_SET_NOT_CONTAINED 0xC0380016 The specified disk set contains volumes which exist on disks outside of the set.
ERROR_VOLMGR_DISK_USED_BY_MULTIPLE_MEMBERS 0xC0380017 A disk in the volume layout provides extents to more than one member of a plex.
ERROR_VOLMGR_DISK_USED_BY_MULTIPLE_PLEXES 0xC0380018 A disk in the volume layout provides extents to more than one plex.
ERROR_VOLMGR_DYNAMIC_DISK_NOT_SUPPORTED 0xC0380019 Dynamic disks are not supported on this system.
ERROR_VOLMGR_EXTENT_ALREADY_USED 0xC038001A The specified extent is already used by other volumes.
ERROR_VOLMGR_EXTENT_NOT_CONTIGUOUS 0xC038001B The specified volume is retained and can only be extended into a contiguous extent. The specified extent to grow the volume is not contiguous with the specified volume.
ERROR_VOLMGR_EXTENT_NOT_IN_PUBLIC_REGION 0xC038001C The specified volume extent is not within the public region of the disk.
ERROR_VOLMGR_EXTENT_NOT_SECTOR_ALIGNED 0xC038001D The specified volume extent is not sector aligned.
ERROR_VOLMGR_EXTENT_OVERLAPS_EBR_PARTITION 0xC038001E The specified partition overlaps an EBR (the first track of an extended partition on a MBR disks).
ERROR_VOLMGR_EXTENT_VOLUME_LENGTHS_DO_NOT_MATCH 0xC038001F The specified extent lengths cannot be used to construct a volume with specified length.
ERROR_VOLMGR_FAULT_TOLERANT_NOT_SUPPORTED 0xC0380020 The system does not support fault tolerant volumes.
ERROR_VOLMGR_INTERLEAVE_LENGTH_INVALID 0xC0380021 The specified interleave length is invalid.
ERROR_VOLMGR_MAXIMUM_REGISTERED_USERS 0xC0380022 There is already a maximum number of registered users.
ERROR_VOLMGR_MEMBER_IN_SYNC 0xC0380023 The specified member is already in-sync with the other active members. It does not need to be regenerated.
ERROR_VOLMGR_MEMBER_INDEX_DUPLICATE 0xC0380024 The same member index was specified more than once.
ERROR_VOLMGR_MEMBER_INDEX_INVALID 0xC0380025 The specified member index is greater or equal than the number of members in the volume plex.
ERROR_VOLMGR_MEMBER_MISSING 0xC0380026 The specified member is missing. It cannot be regenerated.
ERROR_VOLMGR_MEMBER_NOT_DETACHED 0xC0380027 The specified member is not detached. Cannot replace a member which is not detached.
ERROR_VOLMGR_MEMBER_REGENERATING 0xC0380028 The specified member is already regenerating.
ERROR_VOLMGR_ALL_DISKS_FAILED 0xC0380029 All disks belonging to the pack failed.
ERROR_VOLMGR_NO_REGISTERED_USERS 0xC038002A There are currently no registered users for notifications. The task number is irrelevant unless there are registered users.
ERROR_VOLMGR_NO_SUCH_USER 0xC038002B The specified notification user does not exist. Failed to unregister user for notifications.
ERROR_VOLMGR_NOTIFICATION_RESET 0xC038002C The notifications have been reset. Notifications for the current user are invalid. Unregister and re-register for notifications.
ERROR_VOLMGR_NUMBER_OF_MEMBERS_INVALID 0xC038002D The specified number of members is invalid.
ERROR_VOLMGR_NUMBER_OF_PLEXES_INVALID 0xC038002E The specified number of plexes is invalid.
ERROR_VOLMGR_PACK_DUPLICATE 0xC038002F The specified source and target packs are identical.
ERROR_VOLMGR_PACK_ID_INVALID 0xC0380030 The specified pack id is invalid. There are no packs with the specified pack id.
ERROR_VOLMGR_PACK_INVALID 0xC0380031 The specified pack is the invalid pack. The operation cannot complete with the invalid pack.
ERROR_VOLMGR_PACK_NAME_INVALID 0xC0380032 The specified pack name is invalid.
ERROR_VOLMGR_PACK_OFFLINE 0xC0380033 The specified pack is offline.
ERROR_VOLMGR_PACK_HAS_QUORUM 0xC0380034 The specified pack already has a quorum of healthy disks.
ERROR_VOLMGR_PACK_WITHOUT_QUORUM 0xC0380035 The pack does not have a quorum of healthy disks.
ERROR_VOLMGR_PARTITION_STYLE_INVALID 0xC0380036 The specified disk has an unsupported partition style. Only MBR and GPT partition styles are supported.
ERROR_VOLMGR_PARTITION_UPDATE_FAILED 0xC0380037 Failed to update the disk's partition layout.
ERROR_VOLMGR_PLEX_IN_SYNC 0xC0380038 The specified plex is already in-sync with the other active plexes. It does not need to be regenerated.
ERROR_VOLMGR_PLEX_INDEX_DUPLICATE 0xC0380039 The same plex index was specified more than once.
ERROR_VOLMGR_PLEX_INDEX_INVALID 0xC038003A The specified plex index is greater or equal than the number of plexes in the volume.
ERROR_VOLMGR_PLEX_LAST_ACTIVE 0xC038003B The specified plex is the last active plex in the volume. The plex cannot be removed or else the volume will go offline.
ERROR_VOLMGR_PLEX_MISSING 0xC038003C The specified plex is missing.
ERROR_VOLMGR_PLEX_REGENERATING 0xC038003D The specified plex is currently regenerating.
ERROR_VOLMGR_PLEX_TYPE_INVALID 0xC038003E The specified plex type is invalid.
ERROR_VOLMGR_PLEX_NOT_RAID5 0xC038003F The operation is only supported on RAID-5 plexes.
ERROR_VOLMGR_PLEX_NOT_SIMPLE 0xC0380040 The operation is only supported on simple plexes.
ERROR_VOLMGR_STRUCTURE_SIZE_INVALID 0xC0380041 The Size fields in the VM_VOLUME_LAYOUT input structure are incorrectly set.
ERROR_VOLMGR_TOO_MANY_NOTIFICATION_REQUESTS 0xC0380042 There is already a pending request for notifications. Wait for the existing request to return before requesting for more notifications.
ERROR_VOLMGR_TRANSACTION_IN_PROGRESS 0xC0380043 There is currently a transaction in process.
ERROR_VOLMGR_UNEXPECTED_DISK_LAYOUT_CHANGE 0xC0380044 An unexpected layout change occurred outside of the volume manager.
ERROR_VOLMGR_VOLUME_CONTAINS_MISSING_DISK 0xC0380045 The specified volume contains a missing disk.
ERROR_VOLMGR_VOLUME_ID_INVALID 0xC0380046 The specified volume id is invalid. There are no volumes with the specified volume id.
ERROR_VOLMGR_VOLUME_LENGTH_INVALID 0xC0380047 The specified volume length is invalid.
ERROR_VOLMGR_VOLUME_LENGTH_NOT_SECTOR_SIZE_MULTIPLE 0xC0380048 The specified size for the volume is not a multiple of the sector size.
ERROR_VOLMGR_VOLUME_NOT_MIRRORED 0xC0380049 The operation is only supported on mirrored volumes.
ERROR_VOLMGR_VOLUME_NOT_RETAINED 0xC038004A The specified volume does not have a retain partition.
ERROR_VOLMGR_VOLUME_OFFLINE 0xC038004B The specified volume is offline.
ERROR_VOLMGR_VOLUME_RETAINED 0xC038004C The specified volume already has a retain partition.
ERROR_VOLMGR_NUMBER_OF_EXTENTS_INVALID 0xC038004D The specified number of extents is invalid.
ERROR_VOLMGR_DIFFERENT_SECTOR_SIZE 0xC038004E All disks participating to the volume must have the same sector size.
ERROR_VOLMGR_BAD_BOOT_DISK 0xC038004F The boot disk experienced failures.
ERROR_VOLMGR_PACK_CONFIG_OFFLINE 0xC0380050 The configuration of the pack is offline.
ERROR_VOLMGR_PACK_CONFIG_ONLINE 0xC0380051 The configuration of the pack is online.
ERROR_VOLMGR_NOT_PRIMARY_PACK 0xC0380052 The specified pack is not the primary pack.
ERROR_VOLMGR_PACK_LOG_UPDATE_FAILED 0xC0380053 All disks failed to be updated with the new content of the log.
ERROR_VOLMGR_NUMBER_OF_DISKS_IN_PLEX_INVALID 0xC0380054 The specified number of disks in a plex is invalid.
ERROR_VOLMGR_NUMBER_OF_DISKS_IN_MEMBER_INVALID 0xC0380055 The specified number of disks in a plex member is invalid.
ERROR_VOLMGR_VOLUME_MIRRORED 0xC0380056 The operation is not supported on mirrored volumes.
ERROR_VOLMGR_PLEX_NOT_SIMPLE_SPANNED 0xC0380057 The operation is only supported on simple and spanned plexes.
ERROR_VOLMGR_NO_VALID_LOG_COPIES 0xC0380058 The pack has no valid log copies.
ERROR_VOLMGR_PRIMARY_PACK_PRESENT 0xC0380059 A primary pack is already present.
ERROR_VOLMGR_NUMBER_OF_DISKS_INVALID 0xC038005A The specified number of disks is invalid.
ERROR_VOLMGR_MIRROR_NOT_SUPPORTED 0xC038005B The system does not support mirrored volumes.
ERROR_VOLMGR_RAID5_NOT_SUPPORTED 0xC038005C The system does not support RAID-5 volumes.
ERROR_BCD_NOT_ALL_ENTRIES_IMPORTED 0x80390001 Some BCD entries were not imported correctly from the BCD store.
ERROR_BCD_TOO_MANY_ELEMENTS 0xC0390002 Entries enumerated have exceeded the allowed threshold.
ERROR_BCD_NOT_ALL_ENTRIES_SYNCHRONIZED 0x80390003 Some BCD entries were not synchronized correctly with the firmware.
ERROR_VHD_DRIVE_FOOTER_MISSING 0xC03A0001 The virtual hard disk is corrupted. The virtual hard disk drive footer is missing.
ERROR_VHD_DRIVE_FOOTER_CHECKSUM_MISMATCH 0xC03A0002 The virtual hard disk is corrupted. The virtual hard disk drive footer checksum does not match the on-disk checksum.
ERROR_VHD_DRIVE_FOOTER_CORRUPT 0xC03A0003 The virtual hard disk is corrupted. The virtual hard disk drive footer in the virtual hard disk is corrupted.
ERROR_VHD_FORMAT_UNKNOWN 0xC03A0004 The system does not recognize the file format of this virtual hard disk.
ERROR_VHD_FORMAT_UNSUPPORTED_VERSION 0xC03A0005 The version does not support this version of the file format.
ERROR_VHD_SPARSE_HEADER_CHECKSUM_MISMATCH 0xC03A0006 The virtual hard disk is corrupted. The sparse header checksum does not match the on-disk checksum.
ERROR_VHD_SPARSE_HEADER_UNSUPPORTED_VERSION 0xC03A0007 The system does not support this version of the virtual hard disk.This version of the sparse header is not supported.
ERROR_VHD_SPARSE_HEADER_CORRUPT 0xC03A0008 The virtual hard disk is corrupted. The sparse header in the virtual hard disk is corrupt.
ERROR_VHD_BLOCK_ALLOCATION_FAILURE 0xC03A0009 Failed to write to the virtual hard disk failed because the system failed to allocate a new block in the virtual hard disk.
ERROR_VHD_BLOCK_ALLOCATION_TABLE_CORRUPT 0xC03A000A The virtual hard disk is corrupted. The block allocation table in the virtual hard disk is corrupt.
ERROR_VHD_INVALID_BLOCK_SIZE 0xC03A000B The system does not support this version of the virtual hard disk. The block size is invalid.
ERROR_VHD_BITMAP_MISMATCH 0xC03A000C The virtual hard disk is corrupted. The block bitmap does not match with the block data present in the virtual hard disk.
ERROR_VHD_PARENT_VHD_NOT_FOUND 0xC03A000D The chain of virtual hard disks is broken. The system cannot locate the parent virtual hard disk for the differencing disk.
ERROR_VHD_CHILD_PARENT_ID_MISMATCH 0xC03A000E The chain of virtual hard disks is corrupted. There is a mismatch in the identifiers of the parent virtual hard disk and differencing disk.
ERROR_VHD_CHILD_PARENT_TIMESTAMP_MISMATCH 0xC03A000F The chain of virtual hard disks is corrupted. The time stamp of the parent virtual hard disk does not match the time stamp of the differencing disk.
ERROR_VHD_METADATA_READ_FAILURE 0xC03A0010 Failed to read the metadata of the virtual hard disk.
ERROR_VHD_METADATA_WRITE_FAILURE 0xC03A0011 Failed to write to the metadata of the virtual hard disk.
ERROR_VHD_INVALID_SIZE 0xC03A0012 The size of the virtual hard disk is not valid.
ERROR_VHD_INVALID_FILE_SIZE 0xC03A0013 The file size of this virtual hard disk is not valid.
ERROR_VIRTDISK_PROVIDER_NOT_FOUND 0xC03A0014 A virtual disk support provider for the specified file was not found.
ERROR_VIRTDISK_NOT_VIRTUAL_DISK 0xC03A0015 The specified disk is not a virtual disk.
ERROR_VHD_PARENT_VHD_ACCESS_DENIED 0xC03A0016 The chain of virtual hard disks is inaccessible. The process has not been granted access rights to the parent virtual hard disk for the differencing disk.
ERROR_VHD_CHILD_PARENT_SIZE_MISMATCH 0xC03A0017 The chain of virtual hard disks is corrupted. There is a mismatch in the virtual sizes of the parent virtual hard disk and differencing disk.
ERROR_VHD_DIFFERENCING_CHAIN_CYCLE_DETECTED 0xC03A0018 The chain of virtual hard disks is corrupted. A differencing disk is indicated in its own parent chain.
ERROR_VHD_DIFFERENCING_CHAIN_ERROR_IN_PARENT 0xC03A0019 The chain of virtual hard disks is inaccessible. There was an error opening a virtual hard disk further up the chain.
ERROR_VIRTUAL_DISK_LIMITATION 0xC03A001A The requested operation could not be completed due to a virtual disk system limitation. On NTFS, virtual hard disk files must be uncompressed and unencrypted. On ReFS, virtual hard disk files must not have the integrity bit set.
ERROR_VHD_INVALID_TYPE 0xC03A001B The requested operation cannot be performed on a virtual disk of this type.
ERROR_VHD_INVALID_STATE 0xC03A001C The requested operation cannot be performed on the virtual disk in its current state.
ERROR_VIRTDISK_UNSUPPORTED_DISK_SECTOR_SIZE 0xC03A001D The sector size of the physical disk on which the virtual disk resides is not supported.
ERROR_VIRTDISK_DISK_ALREADY_OWNED 0xC03A001E The disk is already owned by a different owner.
ERROR_VIRTDISK_DISK_ONLINE_AND_WRITABLE 0xC03A001F The disk must be offline or read-only.
ERROR_CTLOG_TRACKING_NOT_INITIALIZED 0xC03A0020 Change Tracking is not initialized for this Virtual Disk.
ERROR_CTLOG_LOGFILE_SIZE_EXCEEDED_MAXSIZE 0xC03A0021 Size of change tracking file exceeded the maximum size limit
ERROR_CTLOG_VHD_CHANGED_OFFLINE 0xC03A0022 VHD file is changed due to compaction, expansion or offline patching
ERROR_CTLOG_INVALID_TRACKING_STATE 0xC03A0023 Change Tracking for the virtual disk is not in a valid state to perform this request. Change tracking could be discontinued or already in the requested state.
ERROR_CTLOG_INCONSISTANT_TRACKING_FILE 0xC03A0024 Change Tracking file for the virtual disk is not in a valid state.
ERROR_VHD_RESIZE_WOULD_TRUNCATE_DATA 0xC03A0025 The requested resize operation could not be completed because it might truncate user data residing on the virtual disk.
ERROR_VHD_COULD_NOT_COMPUTE_MINIMUM_VIRTUAL_SIZE 0xC03A0026 The requested operation could not be completed because the virtual disk's minimum safe size could not be determined. This may be due to a missing or corrupt partition table.
ERROR_VHD_ALREADY_AT_OR_BELOW_MINIMUM_VIRTUAL_SIZE 0xC03A0027 The requested operation could not be completed because the virtual disk's size cannot be safely reduced further.
ERROR_VHD_METADATA_FULL 0xC03A0028 There is not enough space in the virtual disk file for the provided metadata item.
ERROR_QUERY_STORAGE_ERROR 0x803A0001 The virtualization storage subsystem has generated an error.
SDIAG_E_CANCELLED 0x803C0100 The operation was canceled.
SDIAG_E_SCRIPT 0x803C0101 An error occurred when running a PowerShell script.
SDIAG_E_POWERSHELL 0x803C0102 An error occurred when interacting with PowerShell runtime.
SDIAG_E_MANAGEDHOST 0x803C0103 An error occurred in the Scripted Diagnostic Managed Host.
SDIAG_E_NOVERIFIER 0x803C0104 The troubleshooting pack does not contain a required verifier to complete the verification.
SDIAG_S_CANNOTRUN 0x003C0105 The troubleshooting pack cannot be executed on this system.
SDIAG_E_DISABLED 0x803C0106 Scripted diagnostics is disabled by group policy.
SDIAG_E_TRUST 0x803C0107 Trust validation of the diagnostic package failed.
SDIAG_E_CANNOTRUN 0x803C0108 The troubleshooting pack cannot be executed on this system.
SDIAG_E_VERSION 0x803C0109 This version of the troubleshooting pack is not supported.
SDIAG_E_RESOURCE 0x803C010A A required resource cannot be loaded.
SDIAG_E_ROOTCAUSE 0x803C010B The troubleshooting pack reported information for a root cause without adding the root cause.

Requirements

Requirement Value
Header Winerror.h

See also

COM Error Codes

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。