MI_OperationOptions_GetWriteErrorMode function (mi.h)

Sets the error reporting mode.

Syntax

MI_INLINE MI_Result MI_OperationOptions_GetWriteErrorMode(
  [in]  MI_OperationOptions *options,
  [out] MI_CallbackMode     *mode
);

Parameters

[in] options

MI_OperationOptions structure.

[out] mode

Returned MI_CallbackMode value.

MI_CALLBACKMODE_REPORT

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

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