MI_OperationCallback_StreamedParameter function pointer
Optional callback to get streamed parameter results from method invocation operations.
typedef void ( MI_CALL *MI_OperationCallback_StreamedParameter)(
_In_ MI_Operation *operation,
_In_ void *callbackContext,
_In_ const MI_Char *parameterName,
_In_ MI_Type resultType,
_In_ const MI_Value *result,
_In_opt_ MI_Result (MI_CALL * resultAcknowledgement)(_In_ MI_Operation *operation)
);
operation [in]
TBDcallbackContext [in]
A client specific context that is used to correlate the callback to the associated operation.parameterName [in]
TBDresultType [in]
TBDresult [in]
TBD(MI_CALL * resultAcknowledgement)(_In_ MI_Operation *operation) [in, optional]
The operation that returns the result from this callback. Call this method to acknowledge the result. Not doing so will stop more data from arriving and will stop the operation from completing. It will also stop the operation from closing.
This function pointer does not return a value.
Registering this asynchronous callback is necessary if an outbound parameter is marked as streamed. This callback will be called as the data for the streamed parameter becomes available. Streaming can only happen on array parameters.
All parameters are valid until the call into resultAcknowledgement().
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 |