MI_CancelCallback function pointer

Cancels an operation.

Syntax

typedef void ( MI_CALL *MI_CancelCallback)(
           MI_CancellationReason reason,
  _In_opt_ void                  *callbackData
);

Parameters

  • reason
    The reason for the cancellation.

  • callbackData [in, optional]
    Data provided when the callback was registered.

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_Context_RegisterCancel

MI_CancellationReason