Поделиться через


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

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

Для любого из этих вызовов вызывающий объект выбирает тип запрашиваемых сведений о настройке, задавая параметру device-property одно из следующих 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.