UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:cfgmgr32.CM_Set_Device_Interface_Property_ExW |
CM_Set_Device_Interface_Property_ExW function (cfgmgr32.h) |
The CM_Set_Device_Interface_Property_ExW function sets a device property of a device interface. |
|
devinst\cm_set_device_interface_property_exw.htm |
devinst |
E3873F92-B2A7-4DDF-8C14-23D6815EE21E |
12/05/2018 |
CM_Set_Device_Interface_Property_ExW, CM_Set_Device_Interface_Property_ExW function [Device and Driver Installation], cfgmgr32/CM_Set_Device_Interface_Property_ExW, devinst.cm_set_device_interface_property_exw |
cfgmgr32.h |
Cfgmgr32.h |
Desktop |
Available in Microsoft Windows 10 and later versions of Windows. |
Cfgmgr32.lib |
Windows |
19H1 |
|
|
|
|
|
|
[Beginning with Windows 8 and Windows Server 2012, this function has been deprecated. Please use CM_Set_Device_Interface_Property instead.]
The CM_Set_Device_Interface_Property_ExW function sets a device property of a device interface.
Pointer to a string that identifies the device interface instance for which to set a property for.
Pointer to a DEVPROPKEY structure that represents the property key of the device interface property to set.
A DEVPROPTYPE-typed value that represents the property-data-type identifier for the device interface property. To delete a property, this must be set to DEVPROP_TYPE_EMPTY.
Pointer to a buffer that contains the property value of the device interface property. If either the property or the data is being deleted, this pointer must be set to NULL, and PropertyBufferSize must be set to zero.
The size, in bytes, of the PropertyBuffer buffer. If PropertyBuffer is set to NULL, PropertyBufferSize must be set to zero.
Reserved. Must be set to zero.
Caller-supplied machine handle, obtained from a previous call to CM_Connect_Machine.
If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h.
CM_Set_Device_Interface_Property_ExW is part of the Unified Device Property Model.