WhoisIsConnected Function  
 
BOOL WINAPI WhoisIsConnected(
  HCLIENT hClient  
);

The WhoisIsConnected function is used to determine if the client is currently connected to a server.

Parameters

hClient
Handle to the client session.

Return Value

If the client is connected to a server, the function returns a non-zero value. If the client is not connected, or the client handle is invalid, the function returns zero.

Requirements

Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Import Library: cswhov12.lib

See Also