xfUninitialize

#include <fte.h>

DWORD WINAPI xfUninitialize(hSession, dwFlags)
HSESSION
hSession; /* handle of existing session to uninitialize */
DWORD
dwFlags; /* currently not used */

The xfUninitialize function indicates that an application no longer wants to transfer files..

Parameters

hSession

Identifies the existing session to shutdown. A previous call by the application to the xfInitialize function defines the session handle.

dwFlags

Currently not used. It should be 0.

Return Value

The return value specifies the result of the termination request. It can be any one of the values list in section 2.2.4. File Transfer Errors.

Comments

A call to the xfUninitialize function should occursfor each call to the xfInitialize functionThe session handle is invalid after the call.

See Also

xfInitialize, xfRegister