MI_UtilitiesFT structure

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

Syntax


typedef struct _MI_UtilitiesFT {
  MI_ErrorCategory (MI_CALL *MapErrorToMiErrorCategory)(
      _In_ MI_Char *errorType, 
      MI_Uint32 error);
  MI_Result        (MI_CALL *MapErrorToExtendedError)(
      _In_ MI_Char *errorType, 
      MI_Uint32 error, 
      _Out_ MI_Instance **extendedError);
  MI_Result        (MI_CALL *CimErrorFromErrorCode)(
      MI_Uint32 error, 
      _In_ const MI_Char *errorType, 
      _In_ const MI_Char *errorMessage, 
      MI_Instance **cimError);
} MI_UtilitiesFT;

Members

MapErrorToMiErrorCategory

This function has been deprecated. See MI_Utilities_MapErrorToMiErrorCategory.

MapErrorToExtendedError

This function has been deprecated. See MI_Utilities_MapErrorToExtendedError.

CimErrorFromErrorCode

Maps an operating-system specific error code to a CIM error instance. See MI_Utilities_CimErrorFromErrorCode.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Redistributable

Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2

Header

Mi.h

 

 

Show: