#include <fte.h>
DWORD WINAPI xfReceive(hConnection, lpDirectory, dwFlags)
HCONNECTION hConnection; /* handle of connection on which to receive */
LPCSTR lpDirectory; /* pointer to directory for received files */
DWORD dwFlags; /* currently not used */
The xfReceive function signals that the transfer should proceed.
Parameters
hConnection
Identifies the connection provided by the xfNotifyProc routine.
lpDirectory
Identifies the path for storage of the transferred files. If NULL, then use default path of the file transfer engine.
dwFlags
Currently not used. The value 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
An application calls the xfReceive function only in its xfNotifyProc routine when that routine receives an XFN_TRANSFER_ACCEPT request to receive files. The xfReceive call signals that the transfer should proceed, and it specifies the destination directory for the file transfers.
See Also
xfNotifyProc