SERVER_INFO_402

The SERVER_INFO_402 structure contains information about the specified server, including name, platform, type of server, and associated software.

typedef struct _SERVER_INFO_402 {
DWORD sv402_ulist_mtime;
DWORD sv402_glist_mtime;
DWORD sv402_alist_mtime;
LPTSTR sv402_alerts;
DWORD sv402_security;
DWORD sv402_numadmin;
DWORD sv402_lanmask;
LPTSTR 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;
LPTSTR sv402_srvheuristics;
} SERVER_INFO_402, *PSERVER_INFO_402, *LPSERVER_INFO_402;

Members

sv402_ulist_mtime

Indicates the last time (in seconds from 00:00:00, January 1,1970) the user list for servers running user-level security was modified.

sv402_glist_mtime

Indicates the last time (in seconds from 00:00:00, January 1,1970) the group list for servers running user-level security was modified.

sv402_alist_mtime

Indicates the last time (in seconds from 00:00:00, January 1,1970) the access control list for servers running user-level security was modified.

sv402_alerts

Points to a Unicode string containing 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:

Value Meaning
SV_SHARESECURITY The share level of the security type.
SV_USERSECURITY The user level of the security type.

sv402_numadmin

Specifies how many administrators a server can accommodate at the same time.

sv402_lanmask

Determines the order in which the network device drivers are served.

sv402_guestacct

A Unicode string containing the name of a reserved guest user account for a 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 on a server.

sv402_connections

Specifies the number of connections to share names allowed on a server.

sv402_shares

Specifies the number of share names a server can accommodate.

sv402_openfiles

Specifies the number of files that can be open at once.

sv402_sessopens

Specifies the number of files that can be open in one session.

sv402_sessvcs

Specifies the maximum number of virtual circuits per client.

sv402_sessreqs

Specifies the number of simultaneous requests a client can make on any virtual circuit.

sv402_opensearch

Specifies the number of searches that can be open at once.

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_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, at which to notify an administrator of a network event.

sv402_erroralert

Specifies how many entries can be written to the error-log file during an interval specified in the sv402_alertsched before notifying an administrator.

sv402_logonalert

Specifies how many invalid logon attempts to allow a user before notifying an administrator.

sv402_accessalert

Specifies the number of invalid attempts to access a file to allow before notifying an administrator.

sv402_diskalertf

Specifies the number of kilobytes of free disk space remaining on the disk before the system sends a message to notify an administrator that free space for a disk is low.

sv402_netioalert

Specifies, in tenths of a percent, the network I/O error ratio allowable before notifying an administrator.

sv402_maxauditsz

Specifies, in kilobytes, the maximum size of the audit file. The audit file traces activity of the user.

sv402_srvheuristics

Points to a Unicode string of flags used to control operations on a server.

See Also

NetServerGetInfo, NetServerSetInfo