6.7 WFMReleaseDLL

HRESULT WFMReleaseDLL( hProvider )

Notifies the XFS Manager that the service provider is available to be unloaded from memory.

Parameters HPROVIDER hProvider

Handle to the service provider, obtained from the XFS Manager in the WFPOpen call.

Comments This function initiates the process in which the service provider is unloaded from memory by the XFS Manager. However, note that the Manager must issue the WFPUnloadService function to the service provider before it actually unloads the service provider DLL. The recommended procedure is as follows:

Error Codes If the function return is not WFS_SUCCESS, it is the following error condition:

WFS_ERR_INVALID_HPROVIDER
The hProvider parameter is not a valid provider handle.