Skip to main content
Version: 16.8.2

GW2RegisterExportFile

The GW2RegisterExportFile function registers a specified file path to session - the exported data will be placed in that file. Using this function activates the Export Process Mode for the session.

Synopsis

The GW2RegisterExportFile function registers the file whose name is the string pointed to by exportFilePath with the session denoted by session. The exported data will be placed in that file. Using this function activates the Export Process Mode for the session.


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

Returns

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