Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
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)