Partager via


KatoGetServer

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

BOOL KatoGetServer(
  LPTSTR szServer, 
  INT nCount 
); 

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

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.