WKSTA_INFO_302

The WKSTA_INFO_302 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_302{
DWORD wki302_char_wait;
DWORD wki302_collection_time;
DWORD wki302_maximum_collection_count;
DWORD wki302_keep_conn;
DWORD wki302_keep_search;
DWORD wki302_max_cmds;
DWORD wki302_num_work_buf;
DWORD wki302_siz_work_buf;
DWORD wki302_max_wrk_cache;
DWORD wki302_sess_timeout;
DWORD wki302_siz_error;
DWORD wki302_num_alerts;
DWORD wki302_num_services;
DWORD wki302_errlog_sz;
DWORD wki302_print_buf_time;
DWORD wki302_num_char_buf;
DWORD wki302_siz_char_buf;
LPTSTR wki302_wrk_heuristics;
DWORD wki302_mailslots;
DWORD wki302_num_dgram_buf;
}WKSTA_INFO_302, *PWKSTA_INFO_302, *LPWKSTA_INFO_302;

Members

wki302_char_wait

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

wki302_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 wki302_maximum_collection_count, whichever comes first.

wki302_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 wki302_collection_time, whichever comes first.

wki302_keep_conn

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

wki302_keep_search

Defines the number of seconds an inactive search will continue.

wki302_max_cmds

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

wki302_num_work_buf

Specifies the number of internal buffers the computer has.

wki302_siz_work_buf

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

wki302_max_wrk_cache

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

wki302_sess_timeout

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

wki302_siz_error

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

wki302_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.

wki302_num_services

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

wki302_errlog_sz

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

wki302_print_buf_time

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

wki302_num_char_buf

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

wki302_siz_char_buf

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

wki302_wrk_heuristics

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

wki302_mailslots

Specifies the maximum number of mailslots allowed.

wki302_num_dgram_buf

Specifies the number of buffers to allocate for receiving datagrams.

See Also

NetWkstaGetInfo, NetWkstaSetInfo