NetServerEnum & SV_TYPE_TERMINALSERVER 
Author Message
 NetServerEnum & SV_TYPE_TERMINALSERVER

Hi there

Could anyone tell me the actual value of SV_TYPE_TERMINALSERVER.

I need to use the NetServerEnum in Visual Basic to get a list of our
Terminal Servers.

Any help greatly appreciated...

Regards

Richard Chapman
London Fire and Civil Defense Authority



Mon, 21 Jul 2003 05:46:33 GMT  
 NetServerEnum & SV_TYPE_TERMINALSERVER
From lmserver.h (watch the line wraps!).

--
MichKa

Michael Kaplan
Trigeminal Software, Inc.
http://www.trigeminal.com/

#define SV_TYPE_WORKSTATION         0x00000001
#define SV_TYPE_SERVER              0x00000002
#define SV_TYPE_SQLSERVER           0x00000004
#define SV_TYPE_DOMAIN_CTRL         0x00000008
#define SV_TYPE_DOMAIN_BAKCTRL      0x00000010
#define SV_TYPE_TIME_SOURCE         0x00000020
#define SV_TYPE_AFP                 0x00000040
#define SV_TYPE_NOVELL              0x00000080
#define SV_TYPE_DOMAIN_MEMBER       0x00000100
#define SV_TYPE_PRINTQ_SERVER       0x00000200
#define SV_TYPE_DIALIN_SERVER       0x00000400
#define SV_TYPE_XENIX_SERVER        0x00000800
#define SV_TYPE_SERVER_UNIX         SV_TYPE_XENIX_SERVER
#define SV_TYPE_NT                  0x00001000
#define SV_TYPE_WFW                 0x00002000
#define SV_TYPE_SERVER_MFPN         0x00004000
#define SV_TYPE_SERVER_NT           0x00008000
#define SV_TYPE_POTENTIAL_BROWSER   0x00010000
#define SV_TYPE_BACKUP_BROWSER      0x00020000
#define SV_TYPE_MASTER_BROWSER      0x00040000
#define SV_TYPE_DOMAIN_MASTER       0x00080000
#define SV_TYPE_SERVER_OSF          0x00100000
#define SV_TYPE_SERVER_VMS          0x00200000
#define SV_TYPE_WINDOWS             0x00400000  /* Windows95 and above */
#define SV_TYPE_DFS                 0x00800000  /* Root of a DFS tree */
#define SV_TYPE_CLUSTER_NT          0x01000000  /* NT Cluster */
#define SV_TYPE_TERMINALSERVER      0x02000000  /* Terminal Server(Hydra) */
#define SV_TYPE_CLUSTER_VS_NT       0x04000000  /* NT Cluster Virtual Server
Name */
#define SV_TYPE_DCE                 0x10000000  /* IBM DSS (Directory and
Security Services) or equivalent */
#define SV_TYPE_ALTERNATE_XPORT     0x20000000  /* return list for alternate
transport */
#define SV_TYPE_LOCAL_LIST_ONLY     0x40000000  /* Return local list only */
#define SV_TYPE_DOMAIN_ENUM         0x80000000
#define SV_TYPE_ALL                 0xFFFFFFFF  /* handy for NetServerEnum2
*/


Quote:
> Hi there

> Could anyone tell me the actual value of SV_TYPE_TERMINALSERVER.

> I need to use the NetServerEnum in Visual Basic to get a list of our
> Terminal Servers.

> Any help greatly appreciated...

> Regards

> Richard Chapman
> London Fire and Civil Defense Authority



Mon, 21 Jul 2003 10:43:22 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. *&*&*&* Date math question *&*&*&*

2. Help Converting C# NetServerEnum code

3. NetServerEnum API

4. Netserverenum API

5. netserverenum or something similar

6. NetServerEnum api help

7. NetServerEnum

8. NetServerEnum / NetGetDCName

9. Help with NetServerEnum functionality

10. Emulating NetServerEnum on Win95

11. NetServerEnum

12. NetServerEnum and removed servers

 

 
Powered by phpBB® Forum Software