MI_Class structure (mi.h)

Represents the schema of an instance.

Syntax

typedef struct _MI_Class {
  const MI_ClassFT      *ft;
  MI_CONST MI_ClassDecl *classDecl;
  MI_CONST MI_Char      *namespaceName;
  MI_CONST MI_Char      *serverName;
  ptrdiff_t             reserved[4];
} MI_Class;

Members

ft

Pointer to MI_Class function table.

classDecl

Pointer to the class declaration.

namespaceName

The namespace name.

serverName

The server name.

reserved[4]

Reserved for internal use.

Remarks

The MI_Class object represents the schema of an instance. Classes can be retrieved from the server, and instances can be queried for the MI_Class object. Use the MI_Class APIs rather than navigating the structures themselves.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header mi.h
Redistributable Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2