Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

Declaration


Blok kódu
languagecpp
themeConfluence
void (_stdcall * TraceBufferASCIIFile)(HOBJ LnID, char *FileName, unsigned int MaxFileSize, void *Data, unsigned int Len);


Parameters


LnIdLine ID.
FileNameFile name.
MaxFileSizeMaximal size of log file.
DataPointer to a buffer with data to be saved.
LenNumber of bytes to be saved.


Description
This procedure enables to save the received or sent data as ASCII code into the log file that is defined by FileName parameter. The files are saved to the Trace directory of an application.
Note: FileName can also contain directory names, e.g. "subdir1/mylog.txt" or "../anotherdir/mylog.txt".

Info
titleRelated pages:

D2000 KomAPI - call-back functions