MI_ProviderFT_Load function pointer

Initialize the provider.

Syntax


typedef void ( MI_CALL *MI_ProviderFT_Load)(
  _Out_    void           **self,
  _In_opt_ MI_Module_Self *selfModule,
  _In_     MI_Context     *context
);

Parameters

self [out]

The provider may set this to refer to any provider state data or NULL if no state data is required. This value is passed into other calls to the provider.

selfModule [in, optional]

The module state data to be used when loading the module.

context [in]

The request context.

Return value

This function pointer does not return a value.

Remarks

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_Module_Load

 

 

Show: