DEVPKEY_DeviceInterface_ClassGuid

The DEVPKEY_DeviceInterface_ClassGuid device property represents the GUID that identifies a device interface class.

Property key

DEVPKEY_DeviceInterface_ClassGuid

Property-data-type identifier

DEVPROP_TYPE_GUID

Property access

Read-only by installation applications and installers

Localized?

No

Remarks

The format of {device-interface-class} key value is "{nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn}", where each n is a hexadecimal digit.

You can call SetupDiGetDeviceInterfaceProperty to retrieve the value of DEVPKEY_DeviceInterface_ClassGuid.

Windows Server 2003, Windows XP, and Windows 2000 support this property, but do not support the DEVPKEY_DeviceInterface_ClassGuid property key. For information about how to retrieve the class GUID of a device interface on these earlier versions of Windows, see the information about how to use SetupDiEnumDeviceInterfaces that is provided in Accessing Device Interface Properties.

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

Requirements

Version

Available in Windows Vista and later versions of Windows.

Header

Devpkey.h (include Devpkey.h)

See also

INF AddInterface Directive

SetupDiEnumDeviceInterfaces

SetupDiGetDeviceInterfaceProperty

Send comments about this topic to Microsoft