MI_OperationCallback_WriteError function pointer
Optional callback to receive write error messages from the server.
typedef void ( MI_CALL *MI_OperationCallback_WriteError)(
_In_ MI_Operation *operation,
_In_opt_ void *callbackContext,
_In_ MI_Instance *instance,
_In_opt_ MI_Result (MI_CALL * writeErrorResult)(_In_ MI_Operation *operation, MI_OperationCallback_ResponseType response)
);
operation [in]
TBDcallbackContext [in, optional]
A client specific context that is used to correlate the callback to the associated operation.instance [in]
TBD(MI_CALL * writeErrorResult)(_In_ MI_Operation *operation, MI_OperationCallback_ResponseType response) [in, optional]
The operation that returns the result from this callback. The callback calls this method to return the response, whether from the current thread or from a different one. MI_TRUE tells the operation to continue, MI_FALSE tells the operation to abort. The application must call this method otherwise the request will not progress.
This function pointer does not return a value.
CIM Extension callback reports an error and ask the user if the operation should continue.
All parameters are valid until the call into writeErrorResult().
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 |