Skip to main content
Version: 16.10.0

GW2RegisterExportTextDumpMemory

The GW2RegisterExportTextDumpMemory function registers the memory location to store the export text dump file. Using this function activates the Text Dump option for the Export Process Mode for the session.

Synopsis

For session session, the GW2RegisterExportTextDumpMemory function registers where the text dump for the exported content is to be placed, and where to place the size in bytes of the text dump content. A pointer to the text dump content will be placed in the object pointed to by exportTextDumpFileBuffer and the size in bytes of the text dump data will be placed in the size_t object pointed to by exportTextDumpLength. The text dump content will be deleted when the session is closed using GW2CloseSession. Using this function activates the Text Dump option for the Export Process Mode for the session.


#include "glasswall.core2.api.h"
int GW2RegisterExportTextDumpMemory(Session session,
char **exportTextDumpFileBuffer,
size_t *exportTextDumpLength);

Returns

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