Upravit

Sdílet prostřednictvím


DEVPKEY_DeviceInterfaceClass_DefaultInterface

The DEVPKEY_DeviceInterfaceClass_DefaultInterface property represents the symbolic link name of the default device interface for a device interface class.

Attribute Value
Property key DEVPKEY_DeviceInterfaceClass_DefaultInterface
Property-data-type identifier DEVPROP_TYPE_STRING
Property access Read and write access by installation applications and installers
Localized? No

Remarks

For information about how to install and use device interface classes, see Device interface classes.

You can retrieve the value of DEVPKEY_DeviceInterfaceClass_DefaultInterface by calling CM_Get_Class_Property with a ulFlags of CM_CLASS_PROPERTY_INTERFACE or SetupDiGetClassProperty with a Flags of DICLASSPROP_INTERFACE. You can set DEVPKEY_DeviceInterfaceClass_DefaultInterface by calling CM_Set_Class_Property with a ulFlags of CM_CLASS_PROPERTY_INTERFACE or SetupDiSetClassProperty with a Flags of DICLASSPROP_INTERFACEDICLASSPROP_INTERFACE.

Windows Server 2003, Windows XP, and Windows 2000 support this property, but do not support the DEVPKEY_DeviceInterfaceClass_DefaultInterface property key. For information about how to access the default interface of a device interface class on these earlier versions of Windows, see Accessing device interface class properties.

Requirements

Version: Windows Vista and later versions of Windows
Header: Devpkey.h (include Devpkey.h)

See also

CM_Get_Class_Property

CM_Set_Class_Property

SetupDiGetClassProperty

SetupDiSetClassProperty

SetupDiSetDeviceInterfaceDefault