MI_OperationOptions_SetPromptUserRegularMode function (mi.h)

Sets the value that tells the server how to respond to a provider's call to the MI_Context_PromptUser function.

Syntax

MI_INLINE MI_Result MI_OperationOptions_SetPromptUserRegularMode(
  [in, out] MI_OperationOptions *options,
  [in]      MI_CallbackMode     mode,
  [in]      MI_Boolean          ackValue
);

Parameters

[in, out] options

A MI_OperationOptions structure containing a set of operation options.

[in] mode

The returned MI_CallbackMode enumeration value: either MI_CALLBACKMODE_REPORT or MI_CALLBACKMODE_INQUIRE.

[in] ackValue

TBD

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
Library Mi.lib
DLL Mi.dll