Skip to content

Latest commit

 

History

History
97 lines (74 loc) · 4.19 KB

nf-cfgmgr32-cm_get_device_interface_propertyw.md

File metadata and controls

97 lines (74 loc) · 4.19 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_Get_Device_Interface_PropertyW
CM_Get_Device_Interface_PropertyW function (cfgmgr32.h)
The CM_Get_Device_Interface_Property function retrieves a device property that is set for a device interface.
CM_Get_Device_Interface_Property
CM_Get_Device_Interface_Property function [Device and Driver Installation]
CM_Get_Device_Interface_PropertyA
CM_Get_Device_Interface_PropertyW
cfgmgr32/CM_Get_Device_Interface_Property
cfgmgr32/CM_Get_Device_Interface_PropertyA
cfgmgr32/CM_Get_Device_Interface_PropertyW
devinst.cm_get_device_interface_property
devinst\cm_get_device_interface_property.htm
devinst
581286BF-F20E-4766-BF0C-5D6B34032358
12/05/2018
CM_Get_Device_Interface_Property, CM_Get_Device_Interface_Property function [Device and Driver Installation], CM_Get_Device_Interface_PropertyA, CM_Get_Device_Interface_PropertyW, cfgmgr32/CM_Get_Device_Interface_Property, cfgmgr32/CM_Get_Device_Interface_PropertyA, cfgmgr32/CM_Get_Device_Interface_PropertyW, devinst.cm_get_device_interface_property
cfgmgr32.h
Cfgmgr32.h
Universal
Available in Microsoft Windows Vista and later versions of Windows.
CM_Get_Device_Interface_PropertyW (Unicode) and CM_Get_Device_Interface_PropertyA (ANSI)
Cfgmgr32.lib
Windows
19H1
CM_Get_Device_Interface_PropertyW
cfgmgr32/CM_Get_Device_Interface_PropertyW
c++
APIRef
kbSyntax
DllExport
Cfgmgr32.lib
Cfgmgr32.dll
API-MS-Win-Devices-Config-L1-1-0.dll
API-MS-Win-Devices-Config-L1-1-1.dll
CfgMgr32.dll
CM_Get_Device_Interface_Property
CM_Get_Device_Interface_PropertyA
CM_Get_Device_Interface_PropertyW

CM_Get_Device_Interface_PropertyW function

-description

The CM_Get_Device_Interface_Property function retrieves a device property that is set for a device interface.

-parameters

-param pszDeviceInterface [in]

Pointer to a string that identifies the device interface instance to retrieve the property from.

-param PropertyKey [in]

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

-param PropertyType [out]

Pointer to a DEVPROPTYPE-typed variable that receives the property-data-type identifier of the requested device interface property. The property-data-type identifier is a bitwise OR between a base-data-type identifier and, if the base-data type is modified, a property-data-type modifier.

-param PropertyBuffer [out]

A pointer to a buffer that receives the requested device interface property. CM_Get_Device_Interface_Property retrieves the requested property only if the buffer is large enough to hold all the property value data. The pointer can be NULL.

-param PropertyBufferSize [in, out]

The size, in bytes, of the PropertyBuffer buffer. If PropertyBuffer is set to NULL, *PropertyBufferSize must be set to zero. As output, if the buffer is not large enough to hold all the property value data, CM_Get_Device_Interface_Property returns the size of the data, in bytes, in *PropertyBufferSize.

-param ulFlags [in]

Reserved. Must be set to zero.

-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_Get_Device_Interface_Property is part of the Unified Device Property Model.

-see-also

SetupDiGetDeviceInterfaceProperty