Output Event

Fires whenever a segment is complete.

Syntax

ANSI (Cross Platform)
virtual int FireOutput(TRADACOMSWriterOutputEventParams *e);
typedef struct {
const char *OutputData; int lenOutputData; int reserved; } TRADACOMSWriterOutputEventParams; Unicode (Windows) virtual INT FireOutput(TRADACOMSWriterOutputEventParams *e);
typedef struct {
LPCSTR OutputData; INT lenOutputData; INT reserved; } TRADACOMSWriterOutputEventParams;
- (void)onOutput:(NSData*)outputData;
#define EID_TRADACOMSWRITER_OUTPUT 2

virtual INT IPWORKSEDI_CALL FireOutput(LPSTR &lpOutputData, INT &lenOutputData);

Remarks

The Output event will fire when the writer completes a new segment and writes data to the output stream or buffer. The Data parameter contains the data bytes.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 C++ Edition - Version 20.0 [Build 8203]