MI_Utilities_MapErrorToMiErrorCategory function (mi.h)
Maps an operating system specific error code to an error category.
MI_INLINE MI_ErrorCategory MI_Utilities_MapErrorToMiErrorCategory(
MI_Char *errorType,
MI_Uint32 error
);
errorType
A null-terminated string representing an error type. Use one of these constants.
MI result type
HRESULT (COM return type) result type
Win32 result type
error
Error code to map.
An MI_ErrorCategory structure that indicates the category of error.
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
Target Platform | Windows |
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 |