Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MI_OperationCallback_PromptUser function pointer

Optional callback to handle prompt user requests from the server.

Syntax


typedef void ( MI_CALL *MI_OperationCallback_PromptUser)(
  _In_opt_       MI_Operation *operation,
  _In_           void         *callbackContext,
  _In_opt_ const MI_Char      *message,
  _In_opt_       MI_Result    (MI_CALL * promptUserResult)(_In_ MI_Operation *operation, MI_OperationCallback_ResponseType response)
);

Parameters

operation [in, optional]

TBD

callbackContext [in]

A client specific context that is used to correlate the callback to the associated operation.

message [in, optional]

TBD

(MI_CALL * promptUserResult)(_In_ MI_Operation *operation, MI_OperationCallback_ResponseType response) [in, optional]

The operation that returns the result from this callback. Call this method to return the response, either from the current thread or from a different one. Setting the response parameter to MI_OperationCallback_ResponseType_Yes tells the operation to continue, MI_OperationCallback_ResponseType_No tells the operation to abort.

Return value

This function pointer does not return a value.

Remarks

If CallbackMode for MI_OperationCallback_PromptUser is MI_CALLBACKMODE_REPORT promptUserResult() is NULL. If promptUserResult() is not NULL application must call this method otherwise the request will not progress.

All parameters are valid until the call into promptUserResult().

Requirements

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

See also

MI_OperationCallback
MI_Operation
MI_OperationCallback_ResponseType
MI_Result

 

 

Show: