Expand Minimize
This topic has not yet been rated - Rate this topic

Win32_CIMLogicalDeviceCIMDataFile class

The Win32_CIMLogicalDeviceCIMDataFile association WMI class relates logical devices and data files, indicating the driver files used by the device. This class is used to discover which device drivers a device uses.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

class Win32_CIMLogicalDeviceCIMDataFile : CIM_Dependency
{
  CIM_LogicalDevice REF Antecedent;
  CIM_DataFile      REF Dependent;
  uint16            Purpose;
  string            PurposeDescription;
};

Members

The Win32_CIMLogicalDeviceCIMDataFile class has these types of members:

Properties

The Win32_CIMLogicalDeviceCIMDataFile class has these properties.

Antecedent
Data type: CIM_LogicalDevice
Access type: Read-only
Qualifiers: Key

Reference to the instance representing the properties of the logical device that is being used by the data file. This property is inherited from CIM_Dependency.

Dependent
Data type: CIM_DataFile
Access type: Read-only
Qualifiers: Key

Reference to the instance representing the properties of the data file assigned to the logical device. This property is inherited from CIM_Dependency.

Purpose
Data type: uint16
Access type: Read-only

Role that the data file plays with regard to its associated logical device.

ValueMeaning
1

Unknown

2

Other

3

Driver

4

Configuration Software

5

Application Software

6

Instrumentation

7

Firmware

 

PurposeDescription
Data type: string
Access type: Read-only

Extends the value of the Purpose property of this class.

Example: "Floppy Disk Driver"

Remarks

The Win32_CIMLogicalDeviceCIMDataFile class is derived from CIM_Dependency.

Examples

For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.

For C++ code examples, see WMI C++ Application Examples.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Namespace

\root\CIMV2

MOF

Cimwin32.mof

DLL

Cimwin32.dll

See also

Operating System Classes

 

 

Send comments about this topic to Microsoft

Build date: 11/19/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.