Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Driver Kit
Reference
 DEVPKEY_Device_Address

  Switch on low bandwidth view
Windows Driver Kit: Device Installation
DEVPKEY_Device_Address

The DEVPKEY_Device_Address device property represents the bus-specific address of a device instance.

Property keyDEVPKEY_Device_Address
Property-data-type identifierDEVPROP_TYPE_UNIT32
Property accessRead-only access by installation applications and installers
Corresponding SPDRP_Xxx identifierSPDRP_ADDRESS
Localized?No

Comments

Setup sets the value of DEVPKEY_Device_Address to the address of the device on its bus. For information about the interpretation of a device address, see the DevicePropertyAddress value of the DeviceProperty parameter of IoGetDeviceProperty.

You can call SetupDiGetDeviceProperty to retrieve the value of DEVPKEY_Device_Address.

Windows Server 2003, Microsoft Windows XP, and Windows 2000 support this property, but do not support the DEVPKEY_Device_Address property key. Instead, you can use the corresponding SPDRP_ADDRESS identifier to access the value of the property on these earlier versions of Windows. For information about how to access this property value on these earlier versions of Windows, see Accessing Device Instance SPDRP_Xxx Properties.

Requirements

Versions: Available in Windows Vista and later versions of Windows.

Headers: Declared in Devpkey.h. Include Devpkey.h.

See Also

IoGetDeviceProperty, SetupDiGetDeviceProperty


Send feedback on this topic
Built on May 20, 2009
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker