WKSTA_INFO_402

The WKSTA_INFO_402 structure contains information about a workstation environment, including platform-specific information, the name of the domain and the local computer, and information concerning the LAN Manager software.

typedef struct _WKSTA_INFO_402{
DWORD wki402_char_wait;
DWORD wki402_collection_time;
DWORD wki402_maximum_collection_count;
DWORD wki402_keep_conn;
DWORD wki402_keep_search;
DWORD wki402_max_cmds;
DWORD wki402_num_work_buf;
DWORD wki402_siz_work_buf;
DWORD wki402_max_wrk_cache;
DWORD wki402_sess_timeout;
DWORD wki402_siz_error;
DWORD wki402_num_alerts;
DWORD wki402_num_services;
DWORD wki402_errlog_sz;
DWORD wki402_print_buf_time;
DWORD wki402_num_char_buf;
DWORD wki402_siz_char_buf;
LPTSTR wki402_wrk_heuristics;
DWORD wki402_mailslots;
DWORD wki402_num_dgram_buf;
DWORD wki402_max_threads;
}WKSTA_INFO_402, *PWKSTA_INFO_402, *LPWKSTA_INFO_402;

Members

wki402_char_wait

Specifies the number of seconds the computer will wait for a remote resource to become available.

wki402_collection_time

Specifies the number of milliseconds the computer will collect data before sending the data to a character device resource. The workstation waits the specified time or collects the number of characters specified by wki402_maximum_collection_count, whichever comes first.

wki402_maximum_collection_count

Specifies the number of bytes of information the computer will collect before sending the data to a character device resource. The workstation collects the specified number of bytes or waits the time specified by the wki0_chartime member, whichever comes first.

wki402_keep_conn

Specifies the number of seconds the server will maintain an inactive connection to a server's resource.

wki402_keep_search

Defines the number of seconds an inactive search will continue.

wki402_max_cmds

Specifies the number of simultaneous network device driver commands that can be sent to the network.

wki402_num_work_buf

Specifies the number of internal buffers the computer has.

wki402_siz_work_buf

Specifies the size, in bytes, of each internal buffer.

wki402_max_wrk_cache

Specifies the maximum size, in bytes, of an internal cache buffer.

wki402_sess_timeout

Indicates the number of seconds the server waits before disconnecting an inactive session.

wki402_siz_error

Specifies the size, in bytes, of an internal error buffer.

wki402_num_alerts

Specifies the maximum number of clients that can receive alert messages. (This member is not supported under MS-DOS.) The Alerter service registers at least three clients when it begins to run.

wki402_num_services

Specifies the number of services that can be installed on the computer at any time.

wki402_errlog_sz

Specifies the maximum size, in kilibytes, of the client's error log file.

wki402_print_buf_time

Specifies the number of seconds the server waits before closing inactive compatibility-mode print jobs.

wki402_num_char_buf

Specifies the number of character pipe buffers and device buffers the client can have.

wki402_siz_char_buf

Specifies the maximum size, in bytes, of a character pipe buffer and device buffer.

wki402_wrk_heuristics

Points to a Unicode string of flags used to control a client's operation.

wki402_mailslots

Specifies the maximum number of mailslots allowed.

wki402_num_dgram_buf

Specifies the number of buffers to allocate for receiving datagrams.

wki402_max_threads

Specifies the number of threads the computer can dedicate to the network.

See Also

NetWkstaGetInfo, NetWkstaSetInfo