2.2.5.4 WKSTA_INFO_502

The WKSTA_INFO_502 structure specifies details about a computer environment.

 typedef struct _WKSTA_INFO_502 {
   unsigned long wki502_char_wait;
   unsigned long wki502_collection_time;
   unsigned long wki502_maximum_collection_count;
   unsigned long wki502_keep_conn;
   unsigned long wki502_max_cmds;
   unsigned long wki502_sess_timeout;
   unsigned long wki502_siz_char_buf;
   unsigned long wki502_max_threads;
   unsigned long wki502_lock_quota;
   unsigned long wki502_lock_increment;
   unsigned long wki502_lock_maximum;
   unsigned long wki502_pipe_increment;
   unsigned long wki502_pipe_maximum;
   unsigned long wki502_cache_file_timeout;
   unsigned long wki502_dormant_file_limit;
   unsigned long wki502_read_ahead_throughput;
   unsigned long wki502_num_mailslot_buffers;
   unsigned long wki502_num_srv_announce_buffers;
   unsigned long wki502_max_illegal_datagram_events;
   unsigned long wki502_illegal_datagram_event_reset_frequency;
   int wki502_log_election_packets;
   int wki502_use_opportunistic_locking;
   int wki502_use_unlock_behind;
   int wki502_use_close_behind;
   int wki502_buf_named_pipes;
   int wki502_use_lock_read_unlock;
   int wki502_utilize_nt_caching;
   int wki502_use_raw_read;
   int wki502_use_raw_write;
   int wki502_use_write_raw_data;
   int wki502_use_encryption;
   int wki502_buf_files_deny_write;
   int wki502_buf_read_only_files;
   int wki502_force_core_create_mode;
   int wki502_use_512_byte_max_transfer;
 } WKSTA_INFO_502,
  *PWKSTA_INFO_502,
  *LPWKSTA_INFO_502;

wki502_char_wait: Any value when sent, and MUST be ignored on receipt.

wki502_collection_time: Any value when sent, and MUST be ignored on receipt.

wki502_maximum_collection_count: Any value when sent, and MUST be ignored on receipt.

wki502_keep_conn: The number of seconds the SMB network redirector maintains an inactive SMB connection to a remote computer’s resource before closing it.

wki502_max_cmds: The number of simultaneous network commands that can be sent to the SMB network redirector.

wki502_sess_timeout: The number of seconds the server (2) waits before disconnecting an inactive session.

wki502_siz_char_buf: Any value when sent, and MUST be ignored on receipt.

wki502_max_threads: Any value when sent, and MUST be ignored on receipt.

wki502_lock_quota: Any value when sent, and MUST be ignored on receipt.

wki502_lock_increment: Any value when sent, and MUST be ignored on receipt.

wki502_lock_maximum: Any value when sent, and MUST be ignored on receipt.

wki502_pipe_increment: Any value when sent, and MUST be ignored on receipt.

wki502_pipe_maximum: Any value when sent, and MUST be ignored on receipt.

wki502_cache_file_timeout: Any value when sent, and MUST be ignored on receipt.

wki502_dormant_file_limit: The maximum number of file or printer handles the SMB network redirector can continue to keep open, even after the application has closed the corresponding handle.

wki502_read_ahead_throughput: Any value when sent, and MUST be ignored on receipt.

wki502_num_mailslot_buffers: Any value when sent, and MUST be ignored on receipt.

wki502_num_srv_announce_buffers: Any value when sent, and MUST be ignored on receipt.

wki502_max_illegal_datagram_events: Any value when sent, and MUST be ignored on receipt.

wki502_illegal_datagram_event_reset_frequency: Any value when sent, and MUST be ignored on receipt.

wki502_log_election_packets: Any value when sent, and MUST be ignored on receipt.

wki502_use_opportunistic_locking: Any value when sent, and MUST be ignored on receipt.

wki502_use_unlock_behind: Any value when sent, and MUST be ignored on receipt.

wki502_use_close_behind: Any value when sent, and MUST be ignored on receipt.

wki502_buf_named_pipes: Any value when sent, and MUST be ignored on receipt.

wki502_use_lock_read_unlock: Any value when sent, and MUST be ignored on receipt.

wki502_utilize_nt_caching: Any value when sent, and MUST be ignored on receipt.

wki502_use_raw_read: Any value when sent, and MUST be ignored on receipt.

wki502_use_raw_write: Any value when sent, and MUST be ignored on receipt.

wki502_use_write_raw_data: Any value when sent, and MUST be ignored on receipt.

wki502_use_encryption: Any value when sent, and MUST be ignored on receipt.

wki502_buf_files_deny_write: Any value when sent, and MUST be ignored on receipt.

wki502_buf_read_only_files: Any value when sent, and MUST be ignored on receipt.

wki502_force_core_create_mode: Any value when sent, and MUST be ignored on receipt.

wki502_use_512_byte_max_transfer: Any value when sent, and MUST be ignored on receipt.

The wki502_keep_conn, wki502_max_cmds, wki502_sess_timeout, and wki502_dormant_file_limit are the only values the server (2) can use to configure the redirector. The server MUST store all the values and return the existing values upon a client’s request.