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_Context_PostCimError |
MI_Context_PostCimError function (mi.h) |
Posts a return code and an error message (in the form of a CIM_Error object) to the server in response to a request. |
|
wmi_v2\mi_context_postcimerror.htm |
wmi_v2 |
96ef9e97-467b-4b71-a7f9-4f640102e744 |
12/05/2018 |
MI_Context_PostCimError, MI_Context_PostCimError function [Windows Management Infrastructure (MI)], mi/MI_Context_PostCimError, wmi.mi_postcimerror, wmi_v2.mi_context_postcimerror |
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 |
|
|
|
|
|
|
Posts a return code and an error message (in the form of a CIM_Error object) to the server in response to a request.
A pointer to the request context.
A pointer to a CIM_Error object to be posted to the server.
This function returns MI_INLINE MI_Result MI_INLINE_CALL.
The CIM_Error instance that is returned in the error parameter can be compiled into your provider so you can initialize and then post it. Once an error has been posted, the context must not be used, as it becomes invalid at this point.