HRESULT WFPUnloadService( )
Asks the called service provider whether it is OK for the XFS Manager to unload the service provider’s DLL.
Parameters None
Mode Immediate
Comments This function is issued after the XFS Manager has received a WFMReleaseDLL request from the service provider or during the processing of the WFSCleanUp command. The service provider returns WFS_SUCCESS only if it has fully “cleaned up,” i.e., has freed any resources it has allocated, has no separate threads running, etc. If this is not true, it returns the error below, and initiates or continues the clean up process.
Error Codes If the function return is not WFS_SUCCESS, it is one of the following error conditions: