Skip to content

Latest commit

 

History

History
105 lines (75 loc) · 4.04 KB

nf-cfgmgr32-cm_set_device_interface_property_exw.md

File metadata and controls

105 lines (75 loc) · 4.04 KB
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.
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
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
CM_Set_Device_Interface_Property_ExW
cfgmgr32/CM_Set_Device_Interface_Property_ExW
c++
APIRef
kbSyntax
LibDef
Cfgmgr32.lib
Cfgmgr32.dll
CM_Set_Device_Interface_Property_ExW

CM_Set_Device_Interface_Property_ExW function

-description

[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.

-parameters

-param pszDeviceInterface [in]

Pointer to a string that identifies the device interface instance for which to set a property for.

-param PropertyKey [in]

Pointer to a DEVPROPKEY structure that represents the property key of the device interface property to set.

-param PropertyType [in]

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.

-param PropertyBuffer [in]

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.

-param PropertyBufferSize [in]

The size, in bytes, of the PropertyBuffer buffer. If PropertyBuffer is set to NULL, PropertyBufferSize must be set to zero.

-param ulFlags [in]

Reserved. Must be set to zero.

-param hMachine [in, optional]

Caller-supplied machine handle, obtained from a previous call to CM_Connect_Machine.

Note  Using this function to access remote machines is not supported beginning with Windows 8 and Windows Server 2012, as this functionality has been removed.
 

-returns

If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h.

-remarks

CM_Set_Device_Interface_Property_ExW is part of the Unified Device Property Model.

-see-also

CM_Connect_Machine

SetupDiSetDeviceInterfaceProperty