| Previous | Next |
| VDS_E_INVALID_PARTITION_STYLE | VDS_E_INVALID_PROVIDER_CLSID |
VDS_E_INVALID_PARTITION_TYPE
Partition type is style-specific. VDS uses an MBR partition type byte for MBR creation parameters and a partition type GUID for GPT. The type describes the role/content class of the partition and affects which VDS operations are legal. This HRESULT therefore cannot be diagnosed from the partition name or file system alone.
Why this state matters
Capture the disk style and raw type identifier before any conversion. A valid GPT GUID used in an MBR branch is still structurally wrong, and some otherwise recognized types are prohibited for particular methods. Verify that the request structure uses the union member selected by the disk style and that the intended VDS method supports the partition category.
Diagnostic focus
- Log the partition style and exact MBR type byte or GPT type GUID.
- Verify the correct branch of the creation/change parameter structure is populated.
- Check the target method restrictions for data, OEM, ESP, MSR, LDM, extended, or unknown partitions.
- Do not infer partition type from the mounted file system or drive letter.
Technical references
CREATE_PARTITION_PARAMETERS · VDS_PARTITION_PROP · VDS_PARTITION_INFO_GPT · IVdsAdvancedDisk · MS-VDS error codes
Looking for a different code? Search another status or error code.