共用方式為


DEVICE_REGISTRY_PROPERTY列舉 (wdm.h)

DEVICE_REGISTRY_PROPERTY列舉會識別儲存在登錄中的裝置屬性。

Syntax

typedef enum {
  DevicePropertyDeviceDescription,
  DevicePropertyHardwareID,
  DevicePropertyCompatibleIDs,
  DevicePropertyBootConfiguration,
  DevicePropertyBootConfigurationTranslated,
  DevicePropertyClassName,
  DevicePropertyClassGuid,
  DevicePropertyDriverKeyName,
  DevicePropertyManufacturer,
  DevicePropertyFriendlyName,
  DevicePropertyLocationInformation,
  DevicePropertyPhysicalDeviceObjectName,
  DevicePropertyBusTypeGuid,
  DevicePropertyLegacyBusType,
  DevicePropertyBusNumber,
  DevicePropertyEnumeratorName,
  DevicePropertyAddress,
  DevicePropertyUINumber,
  DevicePropertyInstallState,
  DevicePropertyRemovalPolicy,
  DevicePropertyResourceRequirements,
  DevicePropertyAllocatedResources,
  DevicePropertyContainerID
} DEVICE_REGISTRY_PROPERTY;

常數

 
DevicePropertyDeviceDescription
DevicePropertyHardwareID
DevicePropertyCompatibleIDs
DevicePropertyBootConfiguration
DevicePropertyBootConfigurationTranslated
DevicePropertyClassName
DevicePropertyClassGuid
DevicePropertyDriverKeyName
DevicePropertyManufacturer
DevicePropertyFriendlyName
DevicePropertyLocationInformation
DevicePropertyPhysicalDeviceObjectName
DevicePropertyBusTypeGuid
DevicePropertyLegacyBusType
DevicePropertyBusNumber
DevicePropertyEnumeratorName
DevicePropertyAddress
DevicePropertyUINumber
DevicePropertyInstallState
DevicePropertyRemovalPolicy
DevicePropertyResourceRequirements
DevicePropertyAllocatedResources
DevicePropertyContainerID

規格需求

需求
標頭 wdm.h (包括 Wdm.h、Ntddk.h、Ntifs.h、Wudfwdm.h)

另請參閱

IoGetDeviceProperty