Skip to content

Latest commit

 

History

History
88 lines (69 loc) · 3.71 KB

nf-cfgmgr32-cm_get_device_interface_property_keysw.md

File metadata and controls

88 lines (69 loc) · 3.71 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_Property_KeysW
CM_Get_Device_Interface_Property_KeysW function (cfgmgr32.h)
The CM_Get_Device_Interface_Property_Keys function retrieves an array of device property keys that represent the device properties that are set for a device interface.
CM_Get_Device_Interface_Property_Keys
CM_Get_Device_Interface_Property_Keys function [Device and Driver Installation]
CM_Get_Device_Interface_Property_KeysW
cfgmgr32/CM_Get_Device_Interface_Property_Keys
cfgmgr32/CM_Get_Device_Interface_Property_KeysW
devinst.cm_get_device_interface_property_keys
devinst\cm_get_device_interface_property_keys.htm
devinst
0C0FE652-57DE-45DE-B1F2-84EB1BD14285
12/05/2018
CM_Get_Device_Interface_Property_Keys, CM_Get_Device_Interface_Property_Keys function [Device and Driver Installation], CM_Get_Device_Interface_Property_KeysW, cfgmgr32/CM_Get_Device_Interface_Property_Keys, cfgmgr32/CM_Get_Device_Interface_Property_KeysW, devinst.cm_get_device_interface_property_keys
cfgmgr32.h
Cfgmgr32.h
Universal
Available in Microsoft Windows Vista and later versions of Windows.
CM_Get_Device_Interface_Property_KeysW (Unicode)
Cfgmgr32.lib
Windows
19H1
CM_Get_Device_Interface_Property_KeysW
cfgmgr32/CM_Get_Device_Interface_Property_KeysW
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_Keys
CM_Get_Device_Interface_Property_KeysW

CM_Get_Device_Interface_Property_KeysW function

-description

The CM_Get_Device_Interface_Property_Keys function retrieves an array of device property keys that represent the device properties that are set for a device interface.

-parameters

-param pszDeviceInterface [in]

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

-param PropertyKeyArray [out, optional]

Pointer to a buffer that receives an array of DEVPROPKEY-typed values, where each value is a device property key that represents a device property that is set for the device interface. The pointer is optional and can be NULL

-param PropertyKeyCount [in, out]

The size, in DEVPROPKEY-typed units, of the PropertyKeyArray buffer. If PropertyKeyArray is set to NULL, *PropertyKeyCount must be set to zero. As output, if PropertyKeyArray is not large enough to hold all the property key data, CM_Get_Device_Interface_Property_Keys returns the count of the keys, in *PropertyKeyCount.

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

-see-also

SetupDiGetDeviceInterfacePropertyKeys