Share via


MI_OperationCallback_Indication function pointer

Optional instance callback to get indication (subscribe) results from an operation.

Syntax

typedef void ( MI_CALL *MI_OperationCallback_Indication)(
  _In_opt_       MI_Operation *operation,
  _In_           void         *callbackContext,
  _In_opt_ const MI_Instance  *instance,
  _In_opt_ const MI_Char      *bookmark,
  _In_opt_ const MI_Char      *machineID,
                 MI_Boolean   moreResults,
  _In_           MI_Result    resultCode,
  _In_opt_ const MI_Char      *errorString,
  _In_opt_ const MI_Instance  *errorDetails,
  _In_opt_       MI_Result    (MI_CALL * resultAcknowledgement)(_In_ MI_Operation *operation)
);

Parameters

  • operation [in, optional]
    TBD

  • callbackContext [in]
    A client specific context that is used to correlate the callback to the associated operation.

  • instance [in, optional]
    TBD

  • bookmark [in, optional]
    TBD

  • machineID [in, optional]
    TBD

  • moreResults
    TBD

  • resultCode [in]
    TBD

  • errorString [in, optional]
    TBD

  • errorDetails [in, optional]
    TBD

  • (MI_CALL * resultAcknowledgement)(_In_ MI_Operation *operation) [in, optional]
    The operation that returns the result from this callback. Call this operation when done with the class. Not doing so will result in no more results being received and will stop the operation from shutting down. All parameters are valid until you call this operation.

Return value

This function pointer does not return a value.

Remarks

Registering for this callback will cause asynchronous notification of this method to be called when results of a subscription are delivered.

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_Instance

MI_Operation

MI_Result