DEVPKEY_DeviceInterface_Enabled
The DeviceInterfaceEnabled device property represents a Boolean flag that indicates whether a device interface is enabled.
Attribute | Value |
---|---|
Property key |
DEVPKEY_DeviceInterface_Enabled |
Property-data-type identifier |
|
Property access |
Read-only by installation applications and installers |
Localized? |
No |
Remarks
If the value of DEVPKEY_DeviceInterface_Enabled is DEVPROP_TRUE, the interface is enabled. Otherwise, the interface is not enabled.
You can call CM_Get_Device_Interface_Property or SetupDiGetDeviceInterfaceProperty to retrieve the value of DEVPKEY_DeviceInterface_Enabled.
Windows Server 2003, Windows XP, and Windows 2000 support this property, but do not support the DEVPKEY_DeviceInterface_Enabled property key. For information about how to retrieve the activity status 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 more information about device interfaces, see Device Interface Classes and the INF AddInterface Directive.
Requirements
Version: Windows Vista and later versions of Windows Header: Devpkey.h (include Devpkey.h)
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for