WKSTA_INFO_502 structure (lmwksta.h)

The WKSTA_INFO_502 structure is obsolete. The structure contains information about a workstation environment.

Syntax

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

Members

wki502_char_wait

Type: DWORD

The number of seconds the computer waits for a remote resource to become available.

wki502_collection_time

Type: DWORD

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

wki502_maximum_collection_count

Type: DWORD

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

wki502_keep_conn

Type: DWORD

The number of seconds the server maintains an inactive connection to a server's resource.

wki502_max_cmds

Type: DWORD

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

wki502_sess_timeout

Type: DWORD

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

wki502_siz_char_buf

Type: DWORD

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

wki502_max_threads

Type: DWORD

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

wki502_lock_quota

Type: DWORD

Reserved.

wki502_lock_increment

Type: DWORD

Reserved.

wki502_lock_maximum

Type: DWORD

Reserved.

wki502_pipe_increment

Type: DWORD

Reserved.

wki502_pipe_maximum

Type: DWORD

Reserved.

wki502_cache_file_timeout

Type: DWORD

Reserved.

wki502_dormant_file_limit

Type: DWORD

Reserved.

wki502_read_ahead_throughput

Type: DWORD

Reserved.

wki502_num_mailslot_buffers

Type: DWORD

Reserved.

wki502_num_srv_announce_buffers

Type: DWORD

Reserved.

wki502_max_illegal_datagram_events

Type: DWORD

Reserved.

wki502_illegal_datagram_event_reset_frequency

Type: DWORD

Reserved.

wki502_log_election_packets

Type: BOOL

Reserved.

wki502_use_opportunistic_locking

Type: BOOL

Reserved.

wki502_use_unlock_behind

Type: BOOL

Reserved.

wki502_use_close_behind

Type: BOOL

Reserved.

wki502_buf_named_pipes

Type: BOOL

Reserved.

wki502_use_lock_read_unlock

Type: BOOL

Reserved.

wki502_utilize_nt_caching

Type: BOOL

Reserved.

wki502_use_raw_read

Type: BOOL

Reserved.

wki502_use_raw_write

Type: BOOL

Reserved.

wki502_use_write_raw_data

Type: BOOL

Reserved.

wki502_use_encryption

Type: BOOL

Reserved.

wki502_buf_files_deny_write

Type: BOOL

Reserved.

wki502_buf_read_only_files

Type: BOOL

Reserved.

wki502_force_core_create_mode

Type: BOOL

Reserved.

wki502_use_512_byte_max_transfer

Type: BOOL

Reserved.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header lmwksta.h (include Lm.h)

See also

NetWkstaGetInfo

NetWkstaSetInfo

Network Management Overview

Network Management Structures

Workstation and Workstation User Functions