Expand Minimize

MI_OperationCallback_WriteProgress function pointer

Optional callback to receive progress reports from the server.

Syntax


typedef void ( MI_CALL *MI_OperationCallback_WriteProgress)(
  _In_      MI_Operation *operation,
  _In_opt_  void *callbackContext,
  _In_      const MI_Char *activity,
  _In_      const MI_Char *currentOperation,
  _In_      const MI_Char *statusDescription,
  MI_Uint32 percentageComplete,
  MI_Uint32 secondsRemaining
);

Parameters

operation [in]

TBD

callbackContext [in, optional]

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

activity [in]

TBD

currentOperation [in]

TBD

statusDescription [in]

TBD

percentageComplete

TBD

secondsRemaining

TBD

Return value

This function pointer does not return a value.

Remarks

This is informational and does not effect the operation.

All parameters are valid for the lifetime of the callback only.

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

 

 

Show:
© 2014 Microsoft