SetFTPShowError

 

#include “BlackIceDEVMODE.h”

 

BOOL            SetFTPShowError (BlackIceDEVMODE* pDevMode, DWORD dwConnectionID, BOOL bEnable);

Description

Enables or disables the error message box after unsuccessful FTP uploads for the FTP connection identified by dwConnectionID. When enabled, the printer driver shows an error message box after each unsuccessful FTP upload, if the print job was not printed from a service.

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.

 

BOOL bEnable

Set to TRUE to enable the error message box, or FALSE to disable it.

Return value

TRUE on success, otherwise FALSE.

Programming Notes

None

Code Example

None