Prev Next
The SERVER_INFO_502 structure contains information about the specified
server, including name, platform, type of server, and associated software. 
typedef struct _SERVER_INFO_502 {
    DWORD    sv502_sessopens;
    DWORD    sv502_sessvcs;
    DWORD    sv502_opensearch;
    DWORD    sv502_sizreqbuf;
    DWORD    sv502_initworkitems;
    DWORD    sv502_maxworkitems;
    DWORD    sv502_rawworkitems;
    DWORD    sv502_irpstacksize;
    DWORD    sv502_maxrawbuflen;
    DWORD    sv502_sessusers;
    DWORD    sv502_sessconns;
    DWORD    sv502_maxpagedmemoryusage;
    DWORD    sv502_maxnonpagedmemoryusage;
    BOOL     sv502_enableforcedlogoff;
    BOOL     sv502_timesource;
    BOOL     sv502_acceptdownlevelapis;
    BOOL     sv502_lmannounce;
} SERVER_INFO_502, *PSERVER_INFO_502, *LPSERVER_INFO_502;
 
Members
- 
sv502_sessopens
- 
Specifies the number of files that can be open in one session.
 
- 
sv502_sessvcs
- 
Specifies the maximum number of virtual circuits per client.
 
- 
sv502_opensearch
- 
Specifies the number of search operations that can be carried out
simultaneously.
 
- 
sv502_sizreqbuf
- 
Specifies the size, in bytes, of each server buffer.
 
- 
sv502_initworkitems
- 
Specifies the initial number of receive buffers, or work items, used by the
server. Allocating work items costs a certain amount of memory initially, but
not as much as having to allocate additional buffers later.
 
- 
sv502_maxworkitems
- 
Specifies the maximum number of receive buffers, or work items, the server can
allocate. If this limit is reached, the transport must initiate flow control
at a significant performance cost.
 
- 
sv502_rawworkitems
- 
Specifies the number of special work items for raw I/O that the server uses. A
larger value for this member can increase performance but costs more memory.
 
- 
sv502_irpstacksize
- 
Specifies the number of stack locations in IRPs allocated by the server.
 
- 
sv502_maxrawbuflen
- 
Specifies the maximum raw mode buffer size.
 
- 
sv502_sessusers
- 
Specifies the maximum number of users that can be logged on to a server using
a single virtual circuit.
 
- 
sv502_sessconns
- 
Specifies the maximum number of tree connections that can be made on the
server using a single virtual circuit.
 
- 
sv502_maxpagedmemoryusage
- 
Specifies the maximum size of pageable memory that the server can have
allocated at any time. Adjust this member if you want to administer memory
quota control.
 
- 
sv502_maxnonpagedmemoryusage
- 
Specifies the maximum size of nonpaged memory that the server can have
allocated at any time. Adjust this member if you want to administer memory
quota control.
 
- 
sv502_enableforcedlogoff
- 
Specifies whether the server should force a client to disconnect, even if the
client has open files, once the client’s logon time has expired.
 
- 
sv502_timesource
- 
Specifies whether the server is a reliable time source.
 
- 
sv502_acceptdownlevelapis
- 
Specifies whether the server will accept function calls from previous
generation LAN Manager clients.
 
- 
sv502_lmannounce
- 
Specifies the LAN Manager server announcement interval.
See Also
NetServerGetInfo, NetServerSetInfo