共用方式為


2.2.3.5 VSS_MGMT_OBJECT_UNION Union

The VSS_MGMT_OBJECT_UNION specifies the union of object types that can be defined by the VSS_MGMT_OBJECT_PROP structure (section 2.2.3.6).

 [switch_type(VSS_MGMT_OBJECT_TYPE)] 
 typedef union  {
   [case(VSS_MGMT_OBJECT_VOLUME)] 
     VSS_VOLUME_PROP Vol;
   [case(VSS_MGMT_OBJECT_DIFF_VOLUME)] 
     VSS_DIFF_VOLUME_PROP DiffVol;
   [case(VSS_MGMT_OBJECT_DIFF_AREA)] 
     VSS_DIFF_AREA_PROP DiffArea;
   [default];
 } VSS_MGMT_OBJECT_UNION;

Vol: The structure specifies an original volume object as a VSS_VOLUME_PROP structure (section 2.2.3.7).

DiffVol: The structure specifies a shadow copy storage volume as a VSS_DIFF_VOLUME_PROP structure.

DiffArea: The structure specifies a shadow copy storage object as a VSS_DIFF_AREA_PROP.