AddFTPConnection

 

#include “BlackIceDEVMODE.h”

 

DWORD        AddFTPConnection (BlackIceDEVMODE* pDevMode, LPCTSTR szName);

Description

Adds a new connection to the list of stored connections and returns the ID of the connection. This ID can be used in other GetFTP* and SetFTP* functions to retrieve or change the settings.

Parameters

BlackIceDEVMODE* pDevMode - pointer to the BlackIceDEVMODE structure.

LPCTSTR szName                         - Name of the new connection.

Return value

The function returns the ID of the stored connection settings. This ID can be used in other GetFTP* and SetFTP* functions to retrieve or change the settings.

Programming Notes

None

Code Example

None