Получение сведений о настройке устройства

Чтобы получить сведения о настройке из реестра, драйвер адаптера может вызвать функцию PcGetDeviceProperty , а минипорт-драйвер может вызвать метод IPort драйвера порта::GetDeviceProperty .

Для любого из этих вызовов функции вызывающий выбирает тип запрашиваемой информации о настройках, установив параметр свойства устройства на одно из следующих значений перечисления DEVICE_REGISTRY_PROPERTY из файла заголовка Wdm.h:

  • DevicePropertyAddress

  • DevicePropertyBootConfiguration

  • DevicePropertyBootConfigurationTranslated

  • DevicePropertyBusNumber

  • DevicePropertyBusTypeGuid

  • DevicePropertyClassGuid

  • DevicePropertyClassName

  • DevicePropertyCompatibleIDs

  • DevicePropertyDetachability

  • DevicePropertyDeviceDescription

  • DevicePropertyDriverKeyName

  • DevicePropertyEnumeratorName

  • DevicePropertyFriendlyName

  • DevicePropertyHardwareID

  • DevicePropertyInstallState

  • DevicePropertyLegacyBusType

  • DevicePropertyLocationInformation

  • DevicePropertyManufacturer

  • DevicePropertyPhysicalDeviceObjectName

  • DevicePropertyUINumber

Описание значений DevicePropertyXxx выше см. в разделе IoGetDeviceProperty.