GetDeviceProperties method of the Win32_PnPEntity class

Gets the specified properties of this Plug and Play device.

Syntax

Uint32 GetDeviceProperties(
  [in, optional] string                  devicePropertyKeys[],
  [out]          Win32_PnPDeviceProperty deviceProperties[]
);

Parameters

devicePropertyKeys [in, optional]

The properties to return.

deviceProperties [out]

The requested properties in appropriate subtypes of the Win32_PnPDeviceProperty abstract class.

Requirements

Minimum supported client
Windows 10 [desktop apps only]
Minimum supported server
Windows Server 2016
Namespace
Root\CIMV2
MOF
Cimwin32.mof
DLL
CIMWin32.dll

See also

Win32_PnPEntity