The CIM_DeviceSoftware relationship identifies software that is associated with a device, such as drivers, configuration or application software, or firmware.
Important: The DMTF (Distributed Management Task Force) CIM (Common Information Model) classes are the parent classes upon which WMI classes are built. WMI currently supports only the CIM 2.x version schemas.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties are listed in alphabetic order, not MOF order.
Syntax
[Abstract, UUID("{36363AAA-DB36-11d2-85FC-0000F8102E5F}"), AMENDMENT]
class CIM_DeviceSoftware : CIM_Dependency
{
CIM_LogicalDevice REF Dependent;
CIM_SoftwareElement REF Antecedent;
uint16 Purpose;
string PurposeDescription;
};
Members
The CIM_DeviceSoftware class has these types of members:
Properties
The CIM_DeviceSoftware class has these properties.
Antecedent
Data type: CIM_SoftwareElement
Access type: Read-only
Qualifiers: Override ("Antecedent")
A CIM_SoftwareElement that describes the software element.
Dependent
Data type: CIM_LogicalDevice
Access type: Read-only
Qualifiers: Override ("Dependent")
A CIM_LogicalDevice that describes the logical device that requires or uses the software.
Purpose
Data type: uint16
Access type: Read-only
Qualifiers: ModelCorrespondence ("CIM_DeviceSoftware.PurposeDescription")
Role that the software takes regarding its associated device.
Unknown (0)
Unknown.
Other (1)
Other.
Driver (2)
Driver.
Configuration Software (3)
Configuration software.
Application Software (4)
Application software.
Instrumentation (5)
Instrumentation.
Firmware (6)
Firmware.
BIOS (7)
BIOS.
Boot ROM (8)
Boot ROM.
PurposeDescription
Data type: string
Access type: Read-only
Qualifiers: ModelCorrespondence ("CIM_DeviceSoftware.Purpose")
Free-form string that provides more information for the Purpose property, for example, "Application Software".
Remarks
WMI does not implement this class.
The CIM_DeviceSoftware class is derived from CIM_Dependency.
This documentation is derived from the CIM class descriptions published by the DMTF. Microsoft may have made changes to correct minor errors, conform to Microsoft SDK documentation standards, or provide more information.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Namespace | Root\CIMV2 |
| MOF | CIMWin32.mof |
| DLL | CIMWin32.dll |
See also
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
