MI_OperationOptions_SetWriteErrorMode function (mi.h)
Sets the error reporting mode.
Syntax
MI_INLINE MI_Result MI_OperationOptions_SetWriteErrorMode(
[in, out] MI_OperationOptions *options,
[in] MI_CallbackMode mode
);
Parameters
[in, out] options
A pointer to a MI_OperationOptions structure.
[in] mode
One of the following MI_CallbackMode values.
MI_CALLBACKMODE_REPORT (0)
Prompt will be passed back to the client in reporting mode, meaning the client is notified of the prompt but cannot respond to it and the server will automatically confirm the request.
MI_CALLBACKMODE_INQUIRE (1)
Provider will block while the client is called back to ask if the operation should continue or not.
Return value
A value of the MI_Result enumeration that specifies the function return code. This can be one of the following codes.
Requirements
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 |