WMIBinaryMofResource class

The WDM class provider defines the WMIBinaryMofResource class in the \root\wmi namespace to support the task of keeping track of the status of data in the WMI repository.

Syntax

class WMIBinaryMofResource
{
  uint32  HighDateTime;
  uint32  LowDateTime;
  boolean MofProcessed;
  string  Name;
};

Members

The WMIBinaryMofResource class has these types of members:

Properties

The WMIBinaryMofResource class has these properties.

HighDateTime
Data type: uint32
Access type: Read-only
Qualifiers: Key

High half of the date-time stamp.

LowDateTime
Data type: uint32
Access type: Read-only
Qualifiers: Key

Low half of the date-time stamp.

MofProcessed
Data type: boolean
Access type: Read/write

Flag indicating whether the .mof file was fully processed.

Name
Data type: string
Access type: Read-only
Qualifiers: Key

Name of the WDM–enabled driver that has a binary MOF file successfully compiled in the WMI repository.

Remarks

The WDM class provider creates an instance of WMIBinaryMofResource for each WDM driver that supplies a binary MOF file.

Whenever WMI initializes the provider, the provider compares the timestamp with the timestamp of the driver image file. If the timestamps differ, WMI re-compiles the MOF file.

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 XP

Minimum supported server

Windows Server 2003

Namespace

\root\wmi

MOF

Wmi.mof

See also

WDM Provider

 

 

Show:
© 2014 Microsoft