GetFTPProxyDomain

 

#include “BlackIceDEVMODE.h”

 

BOOL            GetFTPProxyDomain (BlackIceDEVMODE* pDevMode, DWORD dwConnectionID, LPTSTR pStr, DWORD* pdwSizeInBytes);

Description

Gets the Domain for the Proxy Server, stored in the FTP connection, identified by dwConnectionID. The Domain is only used with the NTLM authentication method. The authentication method can be retrieved using the GetFTPProxyAuthentication function.

Parameters

BlackIceDEVMODE* pDevMode

Pointer to the BlackIceDEVMODE structure.

 

DWORD dwConnectionID

 The ID of the connection. The ID can be attained by using the GetFTPConnectionByIndex, GetFTPConnectionByName, GetSelectedFTPConnection or the AddFTPConnection functions.

 

LPTSTR pStr

Pointer to a buffer that will receive the Domain.

 

DWORD* pdwSizeInBytes

Pointer to a variable that contains the size of the buffer pointed to by the pStr parameter, in bytes.

Return value

TRUE on success, otherwise FALSE.

Programming Notes

None

Code Example

None