Skip to main content
Version: 16.8.2

GW2RegisterImportFile

The GW2RegisterImportFile function registers a file path to the interchange file (produced as an output from export processing modes). Using this function activates the Import Process Mode for the session.

Synopsis

The GW2RegisterImportFile function registers the file whose name is pointed to by importFilePath as the file it should import. The file must conform to the interchange file format. Using this function activates the Import Process Mode for the session.


#include "glasswall.core2.api.h"
int GW2RegisterImportFile(Session session, const char *importFilePath);

Returns

Returns an integer GW2_RetStatus enum value. Negative numbers indicate a failure.