SERVER_INFO_402
The SERVER_INFO_402 structure contains information about a specified server.
typedef struct _SERVER_INFO_402 {
DWORD sv402_ulist_mtime;
DWORD sv402_glist_mtime;
DWORD sv402_alist_mtime;
LPWSTR sv402_alerts;
DWORD sv402_security;
DWORD sv402_numadmin;
DWORD sv402_lanmask;
LPWSTR sv402_guestacct;
DWORD sv402_chdevs;
DWORD sv402_chdevq;
DWORD sv402_chdevjobs;
DWORD sv402_connections;
DWORD sv402_shares;
DWORD sv402_openfiles;
DWORD sv402_sessopens;
DWORD sv402_sessvcs;
DWORD sv402_sessreqs;
DWORD sv402_opensearch;
DWORD sv402_activelocks;
DWORD sv402_numreqbuf;
DWORD sv402_sizreqbuf;
DWORD sv402_numbigbuf;
DWORD sv402_numfiletasks;
DWORD sv402_alertsched;
DWORD sv402_erroralert;
DWORD sv402_logonalert;
DWORD sv402_accessalert;
DWORD sv402_diskalert;
DWORD sv402_netioalert;
DWORD sv402_maxauditsz;
LPWSTR sv402_srvheuristics;
} SERVER_INFO_402, *PSERVER_INFO_402, *LPSERVER_INFO_402;
Members
- sv402_ulist_mtime
- Specifies the last time the user list was modified. The value is expressed as the number of seconds that have elapsed since 00:00:00, January 1, 1970, GMT, and applies to servers running with user-level security.
- sv402_glist_mtime
- Specifies the last time the group list was modified. The value is expressed as the number of seconds that have elapsed since 00:00:00, January 1, 1970, GMT, and applies to servers running with user-level security.
- sv402_alist_mtime
- Specifies the last time the access control list was modified. The value is expressed as the number of seconds that have elapsed since 00:00:00, January 1, 1970, GMT, and applies to servers running with user-level security.
- sv402_alerts
- Pointer to a Unicode string specifying the list of user names on the server. Spaces separate the names.
- sv402_security
- Specifies the security type of the server. This member can be one of the following values.
Value |
Meaning |
SV_SHARESECURITY |
Share-level security |
SV_USERSECURITY |
User-level security |
- sv402_numadmin
- Specifies how many administrators the server can accommodate at one time.
- sv402_lanmask
- Specifies the order in which the network device drivers are served.
- sv402_guestacct
- Pointer to a Unicode string specifying the name of a reserved account for guest users on the server. The constant UNLEN specifies the maximum number of characters in the string.
- sv402_chdevs
- Specifies how many character-oriented devices can be shared on the server.
- sv402_chdevq
- Specifies how many character-oriented device queues can coexist on the server.
- sv402_chdevjobs
- Specifies how many character-oriented device jobs can be pending at one time on the server.
- sv402_connections
- Specifies the number of connections allowed on the server.
- sv402_shares
- Specifies the number of share names the server can accommodate.
- sv402_openfiles
- Specifies the number of files that can be open at once on the server.
- sv402_sessopens
- Specifies the number of files that one session can open.
- sv402_sessvcs
- Specifies the maximum number of virtual circuits permitted per client.
- sv402_sessreqs
- Specifies the number of simultaneous requests a client can make on a single virtual circuit.
- sv402_opensearch
- Specifies the number of search operations that can be carried out simultaneously.
- sv402_activelocks
- Specifies the number of file locks that can be active at the same time.
- sv402_numreqbuf
- Specifies the number of server buffers provided.
- sv402_sizreqbuf
- Specifies the size, in bytes, of each server buffer.
- sv402_numbigbuf
- Specifies the number of 64K server buffers provided.
- sv402_numfiletasks
- Specifies the number of processes that can access the operating system at one time.
- sv402_alertsched
- Specifies the interval, in seconds, for notifying an administrator of a network event.
- sv402_erroralert
- Specifies the number of entries that can be written to the error log, in any one interval, before notifying an administrator. (The interval is specified by the sv402_alertsched member.)
- sv402_logonalert
- Specifies how many invalid logon attempts to allow a user before notifying an administrator.
- sv402_accessalert
- Specifies the number of invalid file access attempts to allow before notifying an administrator.
- sv402_diskalert
- Specifies the point at which the system sends a message notifying an administrator that free space on a disk is low. This value is expressed as the number of kilobytes of free disk space remaining on the disk.
- sv402_netioalert
- Specifies, in tenths of a percent, the network I/O error ratio that is allowed before notifying an administrator.
- sv402_maxauditsz
- Specifies, in kilobytes, the maximum size of the audit file. The audit file traces user activity.
- sv402_srvheuristics
- Pointer to a Unicode string containing flags that control operations on a server.
Windows NT/2000: Requires Windows NT 3.1 or later.
Windows 95/98: Unsupported.
Header: Declared in Lmserver.h.
See Also
Network Management Overview, Network Management Structures, Server Functions, NetServerGetInfo, NetServerSetInfo