共用方式為


BcdDeviceData class

The root class of all device data types.

Syntax

class BcdDeviceData
{
  uint32 DeviceType;
  string AdditionalOptions;
};

Members

The BcdDeviceData class has these types of members:

Properties

The BcdDeviceData class has these properties.

AdditionalOptions

Data type: string

Access type: Read-only

Additional options for the specified element. This property can be either a GUID in string form with surrounding curly braces that represents another object in the store, or the empty string ("").

DeviceType

Data type: uint32

Access type: Read-only

The device type. This property can be one of the following values.

Value Meaning
BootDevice
1
Device that initiated the boot.
FileDevice
3
File that contains file system metadata and is treated as a device.
LocateDevice
7
This value is not used.
LocateExDevice
8
Locate device.
PartitionDevice
2
Disk partition.
QualifiedPartition
6
Qualified disk partition.
RamdiskDevice
4
Ramdisk.
UnknownDevice
5
Unknown.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Namespace
Root\WMI
MOF
Bcd.mof