KatoDebug

This function enables or disables the ability to route log to the local debugger.

BOOL KatoDebug(
  BOOL fEnabled, 
  DWORD dwMaxLogVerbosity, 
  DWORD dwMaxCommentVerbosity,
  DWORD dwMaxLevel 
); 

Parameters

  • fEnabled
    TRUE enables debug logging; FALSE disables debug logging.
  • dwMaxLogVerbosity
    Maximum log verbosity value that can be sent to debug logging.
  • dwMaxCommentVerbosity
    Maximum comment verbosity value that can be sent to debug logging.
  • dwMaxLevel
    Maximum log hierarchical level that can be sent to debug logging.

Return Values

Nonzero if successful; otherwise, zero.

Remarks

You can use this function to route log output to the current active debugger. This functionality may be useful when debugging an application, because you can see log output intermixed with other application debug output.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Kato.h.
Link Library: Kato.lib.

See Also

KatoSetServer | KatoSetCallback

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.