6. LIBRARY FUNCTIONS
6-6
<Sample program>
We provide a sample program that uses this function in C. For information about the name of the
sample program and where you can find it, see “6.2 Sample Programs”.
NOTICE
Log function exits (asynchronously) without waiting for the data to be actually
written to a log file. That means this function does not return an error even when
writing to a log file fails for some reason. We recommend important information
be recorded in the OS event log.
NOTE
• In order to reduce the amount of resources used, this function, for example,
opens and closes a pipe every time the function is called. That means this
function has relatively large overhead. Even when you record multiple lines of
message, use one function call to output the message.
• This function does not support a Unicode string. Always use an ANSI string.
The log entry for the message is stored in a text file. In a text file, the
combination of two characters “\r\n” is recognized as a newline.
If you want to include a newline in a string specified by lpbuffer, insert “\r\n” in
the string.
Summary of Contents for HF-BT1000
Page 1: ...BT 63 0004 01 ...
Page 2: ...BT 63 0004 01 ...
Page 15: ...This Page Intentionally Left Blank ...
Page 79: ...This Page Intentionally Left Blank ...
Page 103: ...This Page Intentionally Left Blank ...
Page 111: ...This Page Intentionally Left Blank ...