1 /* 2 * COPYRIGHT: See COPYING in the top level directory 3 * PROJECT: ReactOS Services 4 * FILE: base/services/wkssvc/info.c 5 * PURPOSE: Workstation service 6 * PROGRAMMER: Eric Kohl 7 */ 8 9 /* INCLUDES *****************************************************************/ 10 11 #include "precomp.h" 12 13 WINE_DEFAULT_DEBUG_CHANNEL(wkssvc); 14 15 /* GLOBALS *******************************************************************/ 16 17 WKSTA_INFO_502 WkstaInfo502; 18 19 20 /* FUNCTIONS *****************************************************************/ 21 22 VOID 23 InitWorkstationInfo(VOID) 24 { 25 WkstaInfo502.wki502_char_wait = 0; 26 WkstaInfo502.wki502_collection_time = 250; 27 WkstaInfo502.wki502_maximum_collection_count = 16; 28 WkstaInfo502.wki502_keep_conn = 600; 29 WkstaInfo502.wki502_max_cmds = 50; 30 WkstaInfo502.wki502_sess_timeout = 60; 31 WkstaInfo502.wki502_siz_char_buf = 512; 32 WkstaInfo502.wki502_max_threads = 17; 33 WkstaInfo502.wki502_lock_quota = 6144; 34 WkstaInfo502.wki502_lock_increment = 10; 35 WkstaInfo502.wki502_lock_maximum = 500; 36 WkstaInfo502.wki502_pipe_increment = 10; 37 WkstaInfo502.wki502_pipe_maximum = 500; 38 WkstaInfo502.wki502_cache_file_timeout = 40; 39 WkstaInfo502.wki502_dormant_file_limit = 0; /* 1 */ 40 WkstaInfo502.wki502_read_ahead_throughput = 0; 41 WkstaInfo502.wki502_num_mailslot_buffers = 3; 42 WkstaInfo502.wki502_num_srv_announce_buffers = 20; 43 WkstaInfo502.wki502_max_illegal_datagram_events = 5; 44 WkstaInfo502.wki502_illegal_datagram_event_reset_frequency = 3600; 45 WkstaInfo502.wki502_log_election_packets = 0; 46 WkstaInfo502.wki502_use_opportunistic_locking = 1; 47 WkstaInfo502.wki502_use_unlock_behind = 1; 48 WkstaInfo502.wki502_use_close_behind = 1; 49 WkstaInfo502.wki502_buf_named_pipes = 1; 50 WkstaInfo502.wki502_use_lock_read_unlock = 1; 51 WkstaInfo502.wki502_utilize_nt_caching = 1; 52 WkstaInfo502.wki502_use_raw_read = 1; 53 WkstaInfo502.wki502_use_raw_write = 1; 54 WkstaInfo502.wki502_use_write_raw_data = 0; 55 WkstaInfo502.wki502_use_encryption = 1; 56 WkstaInfo502.wki502_buf_files_deny_write = 0; 57 WkstaInfo502.wki502_buf_read_only_files = 0; 58 WkstaInfo502.wki502_force_core_create_mode = 0; 59 WkstaInfo502.wki502_use_512_byte_max_transfer = 0; 60 } 61 62 /* EOF */ 63