Skip to content

Latest commit

 

History

History
89 lines (64 loc) · 2.36 KB

nf-mi-mi_utilities_maperrortomierrorcategory.md

File metadata and controls

89 lines (64 loc) · 2.36 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mi.MI_Utilities_MapErrorToMiErrorCategory
MI_Utilities_MapErrorToMiErrorCategory function (mi.h)
Maps an operating system specific error code to an error category.
MI_RESULT_TYPE_HRESULT
MI_RESULT_TYPE_MI
MI_RESULT_TYPE_WIN32
MI_Utilities_MapErrorToMiErrorCategory
MI_Utilities_MapErrorToMiErrorCategory function [Windows Management Infrastructure (MI)]
mi/MI_Utilities_MapErrorToMiErrorCategory
wmi_v2.mi_utilities_maperrortomierrorcategory
wmi_v2\mi_utilities_maperrortomierrorcategory.htm
wmi_v2
58ac8e3e-ae87-40b1-bf27-1b32168a033e
12/05/2018
MI_RESULT_TYPE_HRESULT, MI_RESULT_TYPE_MI, MI_RESULT_TYPE_WIN32, MI_Utilities_MapErrorToMiErrorCategory, MI_Utilities_MapErrorToMiErrorCategory function [Windows Management Infrastructure (MI)], mi/MI_Utilities_MapErrorToMiErrorCategory, wmi_v2.mi_utilities_maperrortomierrorcategory
mi.h
Windows
Windows 8
Windows Server 2012
Windows
Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2
19H1
MI_Utilities_MapErrorToMiErrorCategory
mi/MI_Utilities_MapErrorToMiErrorCategory
c++
APIRef
kbSyntax
HeaderDef
Mi.h
MI_Utilities_MapErrorToMiErrorCategory

MI_Utilities_MapErrorToMiErrorCategory function

-description

Maps an operating system specific error code to an error category.

-parameters

-param errorType

A null-terminated string representing an error type. Use one of these constants.

MI_RESULT_TYPE_MI

MI result type

MI_RESULT_TYPE_HRESULT

HRESULT (COM return type) result type

MI_RESULT_TYPE_WIN32

Win32 result type

-param error

Error code to map.

-returns

An MI_ErrorCategory structure that indicates the category of error.

-see-also

MI_ErrorCategory