KatoGetServer (Windows CE 5.0)

Send Feedback

This function queries Kato to see if it is connected to the CETK server and optionally returns the name of the server.

BOOL KatoGetServer(LPTSTRszServer,INTnCount ); 

Parameters

  • szServer
    String buffer to receive the name or IP address of the computer that Kato is connected to. A value of NULL can be used if the server computer is not needed.
  • nCount
    Pointer to a variable that specifies the maximum size, in characters, of the buffer. This value should be large enough to contain MAX_COMPUTERNAME_LENGTH + 1 characters.

Return Values

Nonzero if Kato is connected to a server; otherwise zero.

Remarks

You can use this function in an application to query Kato to see if it is currently connected to a server.

Requirements

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

See Also

Kato Logging Engine

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.