DEVPKEY_NAME (Device Interface)

The DEVPKEY_NAME device interface property represents the name of a device interface.

Property key

DEVPKEY_NAME

Property-data-type identifier

DEVPROP_TYPE_STRING

Property access

Read-only access by installation applications and installers.

Localized?

Yes

 

Remarks

The value of the DEVPKEY_NAME should be used to identify an interface to an end-user in a user interface item.

The value of DEVPKEY_NAME is the same as the value of the DEVPKEY_DeviceInterface_FriendlyName device property, if DEVPKEY_DeviceInterface_FriendlyName is set. Otherwise, DEVPKEY_NAME does not exist.

You can retrieve the value of DEVPKEY_NAME by calling SetupDiGetDeviceInterfaceProperty.

For information about device interfaces, see Device Interface Classes and the INF AddInterface Directive.

Windows Server 2003, Windows XP, and Windows 2000 do not directly support a corresponding name property. However, these earlier versions of Windows do support a property that corresponds to DEVPKEY_DeviceInterface_FriendlyName.

Requirements

Version

Available in Windows Vista and later versions of Windows.

Header

Devpkey.h (include Devpkey.h)

See also

DEVPKEY_DeviceInterface_FriendlyName
INF AddInterface Directive
SetupDiGetDeviceInterfaceProperty

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft