MI_ClassFT structure (mi.h)

A support structure used in the MI_Class structure. Use the functions with the name prefix "MI_Class_" to manipulate these structures.

Syntax

typedef struct _MI_ClassFT {
  MI_Result(const MI_Class *self, const MI_Char **className) * )(GetClassName;
  MI_Result(const MI_Class *self, const MI_Char **nameSpace) * )(GetNameSpace;
  MI_Result(const MI_Class *self, const MI_Char **serverName) * )(GetServerName;
  MI_Result((const MI_Class *self,MI_Uint32 *count) * )GetElementCount;
  MI_Result(I_Class *self, const MI_Char *name,MI_Value *value,MI_Boolean *valueExists,MI_Type *type,MI_Char **referenceClass,MI_QualifierSet *qualifierSet,MI_Uint32 *flags,MI_Uint32 *index) * )(const MGetElement;
  MI_Result(I_Class *self,MI_Uint32 index, const MI_Char **name,MI_Value *value,MI_Boolean *valueExists,MI_Type *type,MI_Char **referenceClass,MI_QualifierSet *qualifierSet,MI_Uint32 *flags) * )(const MGetElementAt;
  MI_Result((const MI_Class *self,MI_QualifierSet *qualifierSet) * )GetClassQualifierSet;
  MI_Result((const MI_Class *self,MI_Uint32 *count) * )GetMethodCount;
  MI_Result(nst MI_Class *self,MI_Uint32 index, const MI_Char **name,MI_QualifierSet *qualifierSet,MI_ParameterSet *parameterSet) * )(coGetMethodAt;
  MI_Result(nst MI_Class *self, const MI_Char *name,MI_QualifierSet *qualifierSet,MI_ParameterSet *parameterSet,MI_Uint32 *index) * )(coGetMethod;
  MI_Result(const MI_Class *self, const MI_Char **name) * )(GetParentClassName;
  MI_Result(const MI_Class *self,MI_Class **parentClass) * )(GetParentClass;
  MI_Result()(MI_Class *self) * Delete;
  MI_Result(const MI_Class *self,MI_Class **newClass) * )(Clone;
} MI_ClassFT;

Members

GetClassName

Retrieves the class name of the class. See MI_Class_GetClassName.

GetNameSpace

Retrieves the namespace of the class. See MI_Class_GetNameSpace.

GetServerName

Retrieves the server name of the class. See MI_Class_GetServerName .

GetElementCount

Retrieves the number of elements in a class. See MI_Class_GetElementCount .

GetElement

Retrieves information about a named class element. See MI_Class_GetElement.

GetElementAt

Retrieves information about a specific class element given the element index (Indexes start from 0). See MI_Class_GetElementAt.

GetClassQualifierSet

Retrieve an object from a class that allows the class qualifiers to be queried. See MI_Class_GetClassQualifierSet.

GetMethodCount

Retrieves the number of class methods. See MI_Class_GetMethodCount.

GetMethodAt

Get method information based on a method index. See MI_Class_GetMethodAt.

GetMethod

Get method information based on a method name. See MI_Class_GetMethod.

GetParentClassName

Get the parent class name of the class. See MI_Class_GetParentClassName.

GetParentClass

Get the parent class for the specified class. See MI_Class_GetParentClass.

Delete

Delete an MI_Class object. See MI_Class_Delete.

Clone

Clones an MI_Class object. See MI_Class_Clone.

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