Bewerken

Delen via


DEVPKEY_NAME (Device Interface)

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

Attribute Value
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 CM_Get_Device_Interface_Property or 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: Windows Vista and later versions of Windows

Header: Devpkey.h (include Devpkey.h)

See also

DEVPKEY_DeviceInterface_FriendlyName

INF AddInterface Directive

SetupDiGetDeviceInterfaceProperty