4.3 WFSCleanUp

HRESULT WFSCleanUp( )

Disconnects an application from the XFS Manager.

Parameters None

Mode Synchronous

Comments The WFSCleanUp call indicates disconnection of a WOSA/XFS application from the XFS Manager. This function, for example, frees resources allocated to the specific application. WFSCleanUp applies to all threads of a multi-threaded application. If WFSClose has not been issued for one or more service providers, then the XFS Manager will automatically issue the close(s). Once the WFSCleanUp has been performed, subsequent attempts to issue any WOSA/XFS function other than WFSStartUp will fail.

Error Codes If the function return is not WFS_SUCCESS, it is one of the following error conditions:

WFS_ERR_INTERNAL_ERROR
An internal inconsistency or other unexpected error occurred in the WOSA/XFS subsystem.
WFS_ERR_NOT_STARTED
The application has not previously performed a successful WFSStartUp.
WFS_ERR_OP_IN_PROGRESS
A blocking operation is in progress on the thread; only WFSCancelBlockingCall and WFSIsBlocking are permitted at this time.

See also WFSStartUp