|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| -
| Header File
| lmserver.h
| Unicode
| No
| Platform Notes
| None
|
|
|
SERVER_INFO_102
The SERVER_INFO_102 structure contains information about the specified server, including name,
platform, type of server, and associated software.
typedef struct _SERVER_INFO_102 {
DWORD sv102_platform_id;
LPTSTR sv102_name;
DWORD sv102_version_major;
DWORD sv102_version_minor;
DWORD sv102_type;
LPTSTR sv102_comment;
DWORD sv102_users;
LONG sv102_disc;
BOOL sv102_hidden;
DWORD sv102_announce;
DWORD sv102_anndelta;
LPTSTR sv102_userpath;
} SERVER_INFO_102, *PSERVER_INFO_102, *LPSERVER_INFO_102;
Members
sv102_platform_id
Indicates the information levels to use for platform-specific information.
sv102_name
A Unicode string containing the name of a server.
sv102_version_major
Specifies, in the least significant 4 bits, the major release version number
of the LAN Manager software. The most significant 4 bits specifies the server
type. The mask MAJOR_VERSION_MASK should be used to ensure correct results.
sv102_version_minor
The minor release version number of the LAN Manager software.
sv102_type
Describes the type of software the computer is running. This member can be one
of the following values:
Symbolic constant
| Value
| Meaning
| SV_TYPE_WORKSTATION
| - x00000001
| All LAN Manager workstations
| SV_TYPE_SERVER
| - x00000002
| All LAN Manager servers
| SV_TYPE_SQLSERVER
| 0x00000004
| Any server running with Microsoft SQL Server
| SV_TYPE_DOMAIN_CTRL
| 0x00000008
| Primary domain controller
| SV_TYPE_DOMAIN_BAKCTRL
| 0x00000010
| Backup domain controller
| SV_TYPE_TIMESOURCE
| 0x00000020
| Server running the Timesource service
| SV_TYPE_AFP
| 0x00000040
| Apple File Protocol servers
| SV_TYPE_NOVELL
| 0x00000080
| Novell servers
| SV_TYPE_DOMAIN_MEMBER
| 0x00000100
| LAN Manager 2.x Domain Member
| SV_TYPE_LOCAL_LIST_ONLY
| 0x40000000
| Servers maintained by the browser
| SV_TYPE_PRINT
| 0x00000200
| Server sharing print queue
| SV_TYPE_DIALIN
| 0x00000400
| Server running dial-in service
| SV_TYPE_XENIX_SERVER
| 0x00000800
| Xenix server
| SV_TYPE_MFPN
| 0x00004000
| Microsoft File and Print for Netware
| SV_TYPE_NT
| 0x00001000
| Windows NT (either Workstation or Server)
| SV_TYPE_WFW
| 0x00002000
| Server running Windows for Workgroups
| SV_TYPE_SERVER_NT
| 0x00008000
| Windows NT non-DC server
| SV_TYPE_POTENTIAL_BROWSER
| 0x00010000
| Server that can run the Browser service
| SV_TYPE_BACKUP_BROWSER
| 0x00020000
| Server running a Browser service as backup
| SV_TYPE_MASTER_BROWSER
| 0x00040000
| Server running the master Browser service
| SV_TYPE_DOMAIN_MASTER
| 0x00080000
| Server running the domain master Browser
| SV_TYPE_DOMAIN_ENUM
| 0x80000000
| Primary Domain
| SV_TYPE_WINDOWS
| 0x00400000
| Windows 95 or later
| SV_TYPE_ALL
| 0xFFFFFFFF
| All servers
|
sv102_comment
Points to a Unicode string containing a comment describing the server. The
comment can be null.
sv102_users
Indicates the number of users who can attempt to log on to the system server.
However, it is the license server that determines how many of these users can
actually log on.
sv102_disc
Indicates the auto-disconnect time, in minutes. A session is disconnected if
it is idle longer than the time specified by the sv102_disc member. If the value of sv102_disc is SV_NODISC, auto-disconnect is not enabled.
sv102_hidden
Determines whether the server is visible to other computers in the same
network domain. This member can be one of the following values:
Value
| Meaning
| SV_VISIBLE
| Server is visible.
| SV_HIDDEN
| Server is not visible.
|
sv102_announce
Specifies the network announce rate, in seconds. This rate determines how
often the server is announced to other computers on the network.
sv102_anndelta
Specifies the delta value or change of the announce rate, in milliseconds.
This value specifies how much the announce rate can vary from the time specified
in the sv102_announce member. The delta value allows randomly varied announce rates. For example,
if the sv102_announce member has the value 10 and the sv102_anndelta member has the value 1, the announce rate can vary from 9.999 seconds to
10.001 seconds.
sv102_userpath
Points to a Unicode string containing the path to user directories.
See Also
NetServerGetInfo, NetServerSetInfo
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|