KatoGetServer (Windows Embedded CE 6.0)
1/6/2010
This function queries Kato to see if it is connected to the Windows Embedded CE 6.0 Test Kit (CETK) server and optionally returns the name of the server.
Syntax
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 Value
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
Header | kato.h |
Library | kato.lib |
Windows Embedded CE | Windows CE 3.0 and later |