次の方法で共有


デバイス セットアップ情報の取得

レジストリからセットアップ情報を取得するには、アダプター ドライバーは PcGetDeviceProperty 関数を呼び出し、ミニポート ドライバーはポート ドライバーの IPort::GetDeviceProperty 方式を呼び出します。

これらの呼び出しのいずれでも、呼び出し元は、デバイス プロパティ パラメーターをヘッダー ファイル Wdm.h の次の DEVICE_REGISTRY_PROPERTY 列挙値のいずれかに設定することで、要求するセットアップ情報のタイプを選択します。

  • DevicePropertyAddress

  • DevicePropertyBootConfiguration

  • DevicePropertyBootConfigurationTranslated

  • DevicePropertyBusNumber

  • DevicePropertyBusTypeGuid

  • DevicePropertyClassGuid

  • DevicePropertyClassName

  • DevicePropertyCompatibleIDs

  • DevicePropertyDetachability

  • DevicePropertyDeviceDescription

  • DevicePropertyDriverKeyName

  • DevicePropertyEnumeratorName

  • DevicePropertyFriendlyName

  • DevicePropertyHardwareID

  • DevicePropertyInstallState

  • DevicePropertyLegacyBusType

  • DevicePropertyLocationInformation

  • DevicePropertyManufacturer

  • DevicePropertyPhysicalDeviceObjectName

  • DevicePropertyUINumber

上記の DevicePropertyXxx 値の説明については、IoGetDevicePropertyを参照してください。