KatoGetServer (Compact 2013)
3/26/2014
This function queries Kato to see if it is connected to the Windows Embedded Compact Test Kit (CTK) 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 |