MI_OperationCallback_WriteMessage function pointer

Optional callback to receive write messages from the server.

Syntax

typedef void ( MI_CALL *MI_OperationCallback_WriteMessage)(
  _In_           MI_Operation *operation,
  _In_opt_       void         *callbackContext,
                 MI_Uint32    channel,
  _In_     const MI_Char      *message
);

Parameters

operation [in]

TBD

callbackContext [in, optional]

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

channel

The type of message. This is purely informational and it does not effect the operation.

The possible values are.

MI_WRITEMESSAGE_CHANNEL_WARNING (0)

MI_WRITEMESSAGE_CHANNEL_VERBOSE (1)

MI_WRITEMESSAGE_CHANNEL_DEBUG (2)

message [in]

TBD

Return value

This function pointer does not return a value.

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