GetCurrentFileServerID

Returns the current file server ID number

Local Servers:nonblocking
Remote Servers:nonblocking
Classification:3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Service:Connection Number and Task Management

Syntax

  #include <nwcntask.h>  
   
  WORD GetCurrentFileServerID  (void); 
  

Return Values

Returns the current file server ID.

Remarks

If the file server ID is nonzero, the current server is remote. If the file server ID is zero, the current server is local.

See Also

SetCurrentFileServerID