MI_ProviderFT_EnableIndications function pointer

Enable indications delivery from the provider.

Syntax

typedef void ( MI_CALL *MI_ProviderFT_EnableIndications)(
  _In_opt_       void       *self,
  _In_           MI_Context *indicationsContext,
  _In_     const MI_Char    *nameSpace,
  _In_     const MI_Char    *className
);

Parameters

  • self [in, optional]
    The provider state data.

  • indicationsContext [in]
    The request context. The context must be retained and used for the corresponding call to the MI_ProviderFT_DisableIndications method.

  • nameSpace [in]
    TBD

  • className [in]
    TBD

Return value

This function pointer does not return a value.

Remarks

Provider must store the context and use it later for posting indications whenever it has a new event.

On success the provider does not call MI_Context_PostResult. It stores and uses the context until it receives a MI_ProviderFT_DisableIndications call.

On completion the implementation must post the result by using the MI_Context_PostResult method. The expected result is one of the following values.

MI_RESULT_OK

MI_RESULT_FAILED

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_ProviderFT

MI_Context

MI_Instance

MI_ProviderFT_DisableIndications