MI_ProviderFT_Unload function pointer

TBD

Syntax

typedef void ( MI_CALL *MI_ProviderFT_Unload)(
  _In_opt_ void       *self,
  _In_     MI_Context *context
);

Parameters

  • self [in, optional]
    the provider state data

  • context [in]
    the request context

Return value

This function pointer does not return a value.

Remarks

The server invokes this function to release any resources held by the provider. The provider should close any file handles and release any memory associated with the execution of the provider. The implementation should pass MI_RESULT_OK or MI_RESULT_FAILED to MI_Context_PostResult. param: self the provider state data. param: context the request context.

Result posting: nothing return: MI_RESULT_OK, MI_RESULT_DO_NOT_UNLOAD, 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