KatoCallback (Compact 2013)

3/26/2014

This function is the CKato callback function used with the KatoSetCallback function.

Syntax

BOOL CALLBACK KatoCallback(
  KATOCALLBACKSTRUCT lpkcbs
);

Parameters

  • lpkcbs
    Pointer to a KATOCALLBACKSTRUCT that contains information about a given line of log output.

Return Value

Nonzero if successful; otherwise, zero.

Remarks

An application can define a callback function of type LPKATOCALLBACK and then call the KatoSetCallback function with a pointer to this function. This callback function will then be called with a pointer to a KATOCALLBACKSTRUCT structure every time a line of log output is generated within the given process. A callback is often used by test shell applications to locally capture or monitor all the output generated by the test code calling the CKato routines.

Requirements

Header

kato.h

Library

kato.lib

See Also

Concepts

Common Functions for C and C++ Interfaces