What does HRESULT 0x80042562 (VDS_E_INVALID_OBJECT_TYPE) mean?

 
Previous Next
VDS_E_INVALID_FS_TYPE VDS_E_INVALID_PARTITION_LAYOUT

VDS_E_INVALID_OBJECT_TYPE

VDS_E_INVALID_OBJECT_TYPE means a method such as service object lookup received an object-type discriminator that is unknown or incompatible with the requested operation. VDS object IDs alone do not tell the service which interface family the caller expects.

Keep object IDs and object types paired

  • Store the VDS_OBJECT_TYPE returned with each enumerated object.
  • Do not reuse a disk GUID in a provider, pack, volume or LUN lookup.
  • After refresh, re-enumerate the object instead of guessing its type from a stale interface pointer.

The failure is not proof that the physical object disappeared; that case has separate object-not-found or deleted results. Validate the type value before calling GetObject, and query the returned IUnknown only for interfaces documented for that object class.

GetObject · VDS header · VDS portal


Looking for a different code? Search another status or error code.