2.2.5.4 WKSTA_INFO_502

The WKSTA_INFO_502 structure contains information 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: Can be set to any value when sent and MUST be ignored on receipt.

wki502_collection_time: Can be set to any value when sent and MUST be ignored on receipt.

wki502_maximum_collection_count: Can be set to 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 waits before disconnecting an inactive session.

wki502_siz_char_buf: Can be set to any value when sent and MUST be ignored on receipt.

wki502_max_threads: Can be set to any value when sent and MUST be ignored on receipt.

wki502_lock_quota: Can be set to any value when sent and MUST be ignored on receipt.

wki502_lock_increment: Can be set to any value when sent and MUST be ignored on receipt.

wki502_lock_maximum: Can be set to any value when sent and MUST be ignored on receipt.

wki502_pipe_increment: Can be set to any value when sent and MUST be ignored on receipt.

wki502_pipe_maximum: Can be set to any value when sent and MUST be ignored on receipt.

wki502_cache_file_timeout: Can be set to 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: Can be set to any value when sent and MUST be ignored on receipt.

wki502_num_mailslot_buffers: Can be set to any value when sent and MUST be ignored on receipt.

wki502_num_srv_announce_buffers: Can be set to any value when sent and MUST be ignored on receipt.

wki502_max_illegal_datagram_events: Can be set to any value when sent and MUST be ignored on receipt.

wki502_illegal_datagram_event_reset_frequency: Can be set to any value when sent and MUST be ignored on receipt.

wki502_log_election_packets: Can be set to any value when sent and MUST be ignored on receipt.

wki502_use_opportunistic_locking: Can be set to any value when sent and MUST be ignored on receipt.

wki502_use_unlock_behind: Can be set to any value when sent and MUST be ignored on receipt.

wki502_use_close_behind: Can be set to any value when sent and MUST be ignored on receipt.

wki502_buf_named_pipes: Can be set to any value when sent and MUST be ignored on receipt.

wki502_use_lock_read_unlock: Can be set to any value when sent and MUST be ignored on receipt.

wki502_utilize_nt_caching: Can be set to any value when sent and MUST be ignored on receipt.

wki502_use_raw_read: Can be set to any value when sent and MUST be ignored on receipt.

wki502_use_raw_write: Can be set to any value when sent and MUST be ignored on receipt.

wki502_use_write_raw_data: Can be set to any value when sent and MUST be ignored on receipt.

wki502_use_encryption: Can be set to any value when sent and MUST be ignored on receipt.

wki502_buf_files_deny_write: Can be set to any value when sent and MUST be ignored on receipt.

wki502_buf_read_only_files: Can be set to any value when sent and MUST be ignored on receipt.

wki502_force_core_create_mode: Can be set to any value when sent and MUST be ignored on receipt.

wki502_use_512_byte_max_transfer: Can be set to 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 fields are the only fields the server can use to configure the redirector. The server MUST store all the values and return back the existing values upon a client's request.