VMDriveType enumeration

[Windows Virtual PC is no longer available for use as of Windows 8. Instead, use the Hyper-V WMI provider (V2).]

Specifies the type of drive attached to a bus location.

Syntax

typedef enum  { 
  vmDriveType_Null      = 0,
  vmDriveType_HardDisk  = 1,
  vmDriveType_DVD       = 2
} VMDriveType;

Constants

vmDriveType_Null

There is no drive attached.

vmDriveType_HardDisk

There is a hard disk attached.

vmDriveType_DVD

There is a CD or DVD drive attached.

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
None supported
End of client support
Windows 7
Product
Windows Virtual PC
Header
VPCCOMInterfaces.h

See also

IVMVirtualMachine::AttachedDriveTypes