Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

579 lines
17 KiB

  1. /*++ BUILD Version: 0006 // Increment this if a change has global effects
  2. Copyright (c) 1991-1993 Microsoft Corporation
  3. Module Name:
  4. lmwksta.h
  5. Abstract:
  6. This file contains structures, function prototypes, and definitions
  7. for the NetWorkstation and NetWkstaTransport API.
  8. Author:
  9. Dan Lafferty (danl) 10-Mar-1991
  10. Environment:
  11. User Mode - Win32
  12. Portable to any flat, 32-bit environment. (Uses Win32 typedefs.)
  13. Requires ANSI C extensions: slash-slash comments, long external names.
  14. Notes:
  15. You must include NETCONS.H before this file, since this file depends
  16. on values defined in NETCONS.H.
  17. Revision History:
  18. 10-Mar-1991 danl
  19. Created from LM2.0 header files and NT-LAN API Spec.
  20. 14-Mar-91 JohnRo
  21. Added OPTIONAL keyword again. Fixed NetWkstaGetInfo parm list
  22. (it shouldn't have a trailing comma).
  23. 19-Mar-91 ritaw
  24. Added parm_err to NetWkstaTransportAdd.
  25. Removed UseOpBatch and PadValue1 fields from WKSTA_INFO_502.
  26. 29-Mar-91 ritaw
  27. Added NetWkstaUserGetInfo and NetWkstaUserEnum, removed
  28. WKSTA_INFO_201, and WKSTA_INFO_202.
  29. 14-Apr-91 w-shanku
  30. Moved oth_domains and lanroot fields to same order as OS/2
  31. structures, changed ParmNum constants to be consistent with
  32. OS/2 parmnums.
  33. 1-May-1991 larryo
  34. Added cached file timeout parameter.
  35. 9-May-1991 ritaw
  36. Changed LPSTR to LPTSTR.
  37. Moved oth_domains to DOS and OS/2 specific info structures.
  38. Added max_threads and char_wait to WKSTA_INFO_502.
  39. Renamed wki502_session_timeout to wki502_sess_timeout.
  40. Added lan_root to WKSTA_INFO_101.
  41. 29-Jul-1991 JohnRo
  42. Implement downlevel NetWksta APIs (set info parm_err is OPTIONAL).
  43. 16-Aug-1991 JohnRo
  44. NetWksta parmnum changes (for downlevel support).
  45. 18-Sep-1991 ritaw
  46. Moved oth_domains from DOS and OS/2 specific info structures
  47. to WKSTA_USER_INFO_1.
  48. 16-Mar-1992 colinw
  49. Remove wki502_siz_work_buf (now a constant) and wki502_num_work_buf ( Use
  50. wki502_max_cmds instead).
  51. --*/
  52. #ifndef _LMWKSTA_
  53. #define _LMWKSTA_
  54. #ifdef __cplusplus
  55. extern "C" {
  56. #endif
  57. #include <lmuseflg.h> // Deletion force level flags
  58. //
  59. // Function Prototypes
  60. //
  61. NET_API_STATUS NET_API_FUNCTION
  62. NetWkstaGetInfo (
  63. IN LPTSTR servername OPTIONAL,
  64. IN DWORD level,
  65. OUT LPBYTE *bufptr
  66. );
  67. NET_API_STATUS NET_API_FUNCTION
  68. NetWkstaSetInfo (
  69. IN LPTSTR servername OPTIONAL,
  70. IN DWORD level,
  71. IN LPBYTE buffer,
  72. OUT LPDWORD parm_err OPTIONAL
  73. );
  74. NET_API_STATUS NET_API_FUNCTION
  75. NetWkstaUserGetInfo (
  76. IN LPTSTR reserved,
  77. IN DWORD level,
  78. OUT LPBYTE *bufptr
  79. );
  80. NET_API_STATUS NET_API_FUNCTION
  81. NetWkstaUserSetInfo (
  82. IN LPTSTR reserved,
  83. IN DWORD level,
  84. OUT LPBYTE buf,
  85. OUT LPDWORD parm_err OPTIONAL
  86. );
  87. NET_API_STATUS NET_API_FUNCTION
  88. NetWkstaUserEnum (
  89. IN LPTSTR servername OPTIONAL,
  90. IN DWORD level,
  91. OUT LPBYTE *bufptr,
  92. IN DWORD prefmaxlen,
  93. OUT LPDWORD entriesread,
  94. OUT LPDWORD totalentries,
  95. IN OUT LPDWORD resumehandle OPTIONAL
  96. );
  97. NET_API_STATUS NET_API_FUNCTION
  98. NetWkstaTransportAdd (
  99. IN LPTSTR servername OPTIONAL,
  100. IN DWORD level,
  101. IN LPBYTE buf,
  102. OUT LPDWORD parm_err
  103. );
  104. NET_API_STATUS NET_API_FUNCTION
  105. NetWkstaTransportDel (
  106. IN LPTSTR servername OPTIONAL,
  107. IN LPTSTR transportname,
  108. IN DWORD ucond
  109. );
  110. NET_API_STATUS NET_API_FUNCTION
  111. NetWkstaTransportEnum (
  112. IN LPTSTR servername OPTIONAL,
  113. IN DWORD level,
  114. OUT LPBYTE *bufptr,
  115. IN DWORD prefmaxlen,
  116. OUT LPDWORD entriesread,
  117. OUT LPDWORD totalentries,
  118. IN OUT LPDWORD resumehandle OPTIONAL
  119. );
  120. //
  121. // Data Structures
  122. //
  123. //
  124. // NetWkstaGetInfo and NetWkstaSetInfo
  125. //
  126. //
  127. // NetWkstaGetInfo only. System information - guest access
  128. //
  129. typedef struct _WKSTA_INFO_100 {
  130. DWORD wki100_platform_id;
  131. LPTSTR wki100_computername;
  132. LPTSTR wki100_langroup;
  133. DWORD wki100_ver_major;
  134. DWORD wki100_ver_minor;
  135. }WKSTA_INFO_100, *PWKSTA_INFO_100, *LPWKSTA_INFO_100;
  136. //
  137. // NetWkstaGetInfo only. System information - user access
  138. //
  139. typedef struct _WKSTA_INFO_101 {
  140. DWORD wki101_platform_id;
  141. LPTSTR wki101_computername;
  142. LPTSTR wki101_langroup;
  143. DWORD wki101_ver_major;
  144. DWORD wki101_ver_minor;
  145. LPTSTR wki101_lanroot;
  146. }WKSTA_INFO_101, *PWKSTA_INFO_101, *LPWKSTA_INFO_101;
  147. //
  148. // NetWkstaGetInfo only. System information - admin or operator access
  149. //
  150. typedef struct _WKSTA_INFO_102 {
  151. DWORD wki102_platform_id;
  152. LPTSTR wki102_computername;
  153. LPTSTR wki102_langroup;
  154. DWORD wki102_ver_major;
  155. DWORD wki102_ver_minor;
  156. LPTSTR wki102_lanroot;
  157. DWORD wki102_logged_on_users;
  158. }WKSTA_INFO_102, *PWKSTA_INFO_102, *LPWKSTA_INFO_102;
  159. //
  160. // Down-level NetWkstaGetInfo and NetWkstaSetInfo.
  161. //
  162. // DOS specific workstation information -
  163. // admin or domain operator access
  164. //
  165. typedef struct _WKSTA_INFO_302{
  166. DWORD wki302_char_wait;
  167. DWORD wki302_collection_time;
  168. DWORD wki302_maximum_collection_count;
  169. DWORD wki302_keep_conn;
  170. DWORD wki302_keep_search;
  171. DWORD wki302_max_cmds;
  172. DWORD wki302_num_work_buf;
  173. DWORD wki302_siz_work_buf;
  174. DWORD wki302_max_wrk_cache;
  175. DWORD wki302_sess_timeout;
  176. DWORD wki302_siz_error;
  177. DWORD wki302_num_alerts;
  178. DWORD wki302_num_services;
  179. DWORD wki302_errlog_sz;
  180. DWORD wki302_print_buf_time;
  181. DWORD wki302_num_char_buf;
  182. DWORD wki302_siz_char_buf;
  183. LPTSTR wki302_wrk_heuristics;
  184. DWORD wki302_mailslots;
  185. DWORD wki302_num_dgram_buf;
  186. }WKSTA_INFO_302, *PWKSTA_INFO_302, *LPWKSTA_INFO_302;
  187. //
  188. // Down-level NetWkstaGetInfo and NetWkstaSetInfo
  189. //
  190. // OS/2 specific workstation information -
  191. // admin or domain operator access
  192. //
  193. typedef struct _WKSTA_INFO_402{
  194. DWORD wki402_char_wait;
  195. DWORD wki402_collection_time;
  196. DWORD wki402_maximum_collection_count;
  197. DWORD wki402_keep_conn;
  198. DWORD wki402_keep_search;
  199. DWORD wki402_max_cmds;
  200. DWORD wki402_num_work_buf;
  201. DWORD wki402_siz_work_buf;
  202. DWORD wki402_max_wrk_cache;
  203. DWORD wki402_sess_timeout;
  204. DWORD wki402_siz_error;
  205. DWORD wki402_num_alerts;
  206. DWORD wki402_num_services;
  207. DWORD wki402_errlog_sz;
  208. DWORD wki402_print_buf_time;
  209. DWORD wki402_num_char_buf;
  210. DWORD wki402_siz_char_buf;
  211. LPTSTR wki402_wrk_heuristics;
  212. DWORD wki402_mailslots;
  213. DWORD wki402_num_dgram_buf;
  214. DWORD wki402_max_threads;
  215. }WKSTA_INFO_402, *PWKSTA_INFO_402, *LPWKSTA_INFO_402;
  216. //
  217. // Same-level NetWkstaGetInfo and NetWkstaSetInfo.
  218. //
  219. // NT specific workstation information -
  220. // admin or domain operator access
  221. //
  222. typedef struct _WKSTA_INFO_502{
  223. DWORD wki502_char_wait;
  224. DWORD wki502_collection_time;
  225. DWORD wki502_maximum_collection_count;
  226. DWORD wki502_keep_conn;
  227. DWORD wki502_max_cmds;
  228. DWORD wki502_sess_timeout;
  229. DWORD wki502_siz_char_buf;
  230. DWORD wki502_max_threads;
  231. DWORD wki502_lock_quota;
  232. DWORD wki502_lock_increment;
  233. DWORD wki502_lock_maximum;
  234. DWORD wki502_pipe_increment;
  235. DWORD wki502_pipe_maximum;
  236. DWORD wki502_cache_file_timeout;
  237. DWORD wki502_dormant_file_limit;
  238. DWORD wki502_read_ahead_throughput;
  239. DWORD wki502_num_mailslot_buffers;
  240. DWORD wki502_num_srv_announce_buffers;
  241. DWORD wki502_max_illegal_datagram_events;
  242. DWORD wki502_illegal_datagram_event_reset_frequency;
  243. BOOL wki502_log_election_packets;
  244. BOOL wki502_use_opportunistic_locking;
  245. BOOL wki502_use_unlock_behind;
  246. BOOL wki502_use_close_behind;
  247. BOOL wki502_buf_named_pipes;
  248. BOOL wki502_use_lock_read_unlock;
  249. BOOL wki502_utilize_nt_caching;
  250. BOOL wki502_use_raw_read;
  251. BOOL wki502_use_raw_write;
  252. BOOL wki502_use_write_raw_data;
  253. BOOL wki502_use_encryption;
  254. BOOL wki502_buf_files_deny_write;
  255. BOOL wki502_buf_read_only_files;
  256. BOOL wki502_force_core_create_mode;
  257. BOOL wki502_use_512_byte_max_transfer;
  258. }WKSTA_INFO_502, *PWKSTA_INFO_502, *LPWKSTA_INFO_502;
  259. //
  260. // The following info-levels are only valid for NetWkstaSetInfo
  261. //
  262. //
  263. // The following levels are supported on down-level systems (LAN Man 2.x)
  264. // as well as NT systems:
  265. //
  266. typedef struct _WKSTA_INFO_1010 {
  267. DWORD wki1010_char_wait;
  268. } WKSTA_INFO_1010, *PWKSTA_INFO_1010, *LPWKSTA_INFO_1010;
  269. typedef struct _WKSTA_INFO_1011 {
  270. DWORD wki1011_collection_time;
  271. } WKSTA_INFO_1011, *PWKSTA_INFO_1011, *LPWKSTA_INFO_1011;
  272. typedef struct _WKSTA_INFO_1012 {
  273. DWORD wki1012_maximum_collection_count;
  274. } WKSTA_INFO_1012, *PWKSTA_INFO_1012, *LPWKSTA_INFO_1012;
  275. //
  276. // The following level are supported on down-level systems (LAN Man 2.x)
  277. // only:
  278. //
  279. typedef struct _WKSTA_INFO_1027 {
  280. DWORD wki1027_errlog_sz;
  281. } WKSTA_INFO_1027, *PWKSTA_INFO_1027, *LPWKSTA_INFO_1027;
  282. typedef struct _WKSTA_INFO_1028 {
  283. DWORD wki1028_print_buf_time;
  284. } WKSTA_INFO_1028, *PWKSTA_INFO_1028, *LPWKSTA_INFO_1028;
  285. typedef struct _WKSTA_INFO_1032 {
  286. DWORD wki1032_wrk_heuristics;
  287. } WKSTA_INFO_1032, *PWKSTA_INFO_1032, *LPWKSTA_INFO_1032;
  288. //
  289. // The following levels are settable on NT systems, and have no
  290. // effect on down-level systems (i.e. LANMan 2.x) since these
  291. // fields cannot be set on them:
  292. //
  293. typedef struct _WKSTA_INFO_1013 {
  294. DWORD wki1013_keep_conn;
  295. } WKSTA_INFO_1013, *PWKSTA_INFO_1013, *LPWKSTA_INFO_1013;
  296. typedef struct _WKSTA_INFO_1018 {
  297. DWORD wki1018_sess_timeout;
  298. } WKSTA_INFO_1018, *PWKSTA_INFO_1018, *LPWKSTA_INFO_1018;
  299. typedef struct _WKSTA_INFO_1023 {
  300. DWORD wki1023_siz_char_buf;
  301. } WKSTA_INFO_1023, *PWKSTA_INFO_1023, *LPWKSTA_INFO_1023;
  302. typedef struct _WKSTA_INFO_1033 {
  303. DWORD wki1033_max_threads;
  304. } WKSTA_INFO_1033, *PWKSTA_INFO_1033, *LPWKSTA_INFO_1033;
  305. //
  306. // The following levels are only supported on NT systems:
  307. //
  308. typedef struct _WKSTA_INFO_1041 {
  309. DWORD wki1041_lock_quota;
  310. } WKSTA_INFO_1041, *PWKSTA_INFO_1041, *LPWKSTA_INFO_1041;
  311. typedef struct _WKSTA_INFO_1042 {
  312. DWORD wki1042_lock_increment;
  313. } WKSTA_INFO_1042, *PWKSTA_INFO_1042, *LPWKSTA_INFO_1042;
  314. typedef struct _WKSTA_INFO_1043 {
  315. DWORD wki1043_lock_maximum;
  316. } WKSTA_INFO_1043, *PWKSTA_INFO_1043, *LPWKSTA_INFO_1043;
  317. typedef struct _WKSTA_INFO_1044 {
  318. DWORD wki1044_pipe_increment;
  319. } WKSTA_INFO_1044, *PWKSTA_INFO_1044, *LPWKSTA_INFO_1044;
  320. typedef struct _WKSTA_INFO_1045 {
  321. DWORD wki1045_pipe_maximum;
  322. } WKSTA_INFO_1045, *PWKSTA_INFO_1045, *LPWKSTA_INFO_1045;
  323. typedef struct _WKSTA_INFO_1046 {
  324. DWORD wki1046_dormant_file_limit;
  325. } WKSTA_INFO_1046, *PWKSTA_INFO_1046, *LPWKSTA_INFO_1046;
  326. typedef struct _WKSTA_INFO_1047 {
  327. DWORD wki1047_cache_file_timeout;
  328. } WKSTA_INFO_1047, *PWKSTA_INFO_1047, *LPWKSTA_INFO_1047;
  329. typedef struct _WKSTA_INFO_1048 {
  330. BOOL wki1048_use_opportunistic_locking;
  331. } WKSTA_INFO_1048, *PWKSTA_INFO_1048, *LPWKSTA_INFO_1048;
  332. typedef struct _WKSTA_INFO_1049 {
  333. BOOL wki1049_use_unlock_behind;
  334. } WKSTA_INFO_1049, *PWKSTA_INFO_1049, *LPWKSTA_INFO_1049;
  335. typedef struct _WKSTA_INFO_1050 {
  336. BOOL wki1050_use_close_behind;
  337. } WKSTA_INFO_1050, *PWKSTA_INFO_1050, *LPWKSTA_INFO_1050;
  338. typedef struct _WKSTA_INFO_1051 {
  339. BOOL wki1051_buf_named_pipes;
  340. } WKSTA_INFO_1051, *PWKSTA_INFO_1051, *LPWKSTA_INFO_1051;
  341. typedef struct _WKSTA_INFO_1052 {
  342. BOOL wki1052_use_lock_read_unlock;
  343. } WKSTA_INFO_1052, *PWKSTA_INFO_1052, *LPWKSTA_INFO_1052;
  344. typedef struct _WKSTA_INFO_1053 {
  345. BOOL wki1053_utilize_nt_caching;
  346. } WKSTA_INFO_1053, *PWKSTA_INFO_1053, *LPWKSTA_INFO_1053;
  347. typedef struct _WKSTA_INFO_1054 {
  348. BOOL wki1054_use_raw_read;
  349. } WKSTA_INFO_1054, *PWKSTA_INFO_1054, *LPWKSTA_INFO_1054;
  350. typedef struct _WKSTA_INFO_1055 {
  351. BOOL wki1055_use_raw_write;
  352. } WKSTA_INFO_1055, *PWKSTA_INFO_1055, *LPWKSTA_INFO_1055;
  353. typedef struct _WKSTA_INFO_1056 {
  354. BOOL wki1056_use_write_raw_data;
  355. } WKSTA_INFO_1056, *PWKSTA_INFO_1056, *LPWKSTA_INFO_1056;
  356. typedef struct _WKSTA_INFO_1057 {
  357. BOOL wki1057_use_encryption;
  358. } WKSTA_INFO_1057, *PWKSTA_INFO_1057, *LPWKSTA_INFO_1057;
  359. typedef struct _WKSTA_INFO_1058 {
  360. BOOL wki1058_buf_files_deny_write;
  361. } WKSTA_INFO_1058, *PWKSTA_INFO_1058, *LPWKSTA_INFO_1058;
  362. typedef struct _WKSTA_INFO_1059 {
  363. BOOL wki1059_buf_read_only_files;
  364. } WKSTA_INFO_1059, *PWKSTA_INFO_1059, *LPWKSTA_INFO_1059;
  365. typedef struct _WKSTA_INFO_1060 {
  366. BOOL wki1060_force_core_create_mode;
  367. } WKSTA_INFO_1060, *PWKSTA_INFO_1060, *LPWKSTA_INFO_1060;
  368. typedef struct _WKSTA_INFO_1061 {
  369. BOOL wki1061_use_512_byte_max_transfer;
  370. } WKSTA_INFO_1061, *PWKSTA_INFO_1061, *LPWKSTA_INFO_1061;
  371. typedef struct _WKSTA_INFO_1062 {
  372. DWORD wki1062_read_ahead_throughput;
  373. } WKSTA_INFO_1062, *PWKSTA_INFO_1062, *LPWKSTA_INFO_1062;
  374. //
  375. // NetWkstaUserGetInfo (local only) and NetWkstaUserEnum -
  376. // no access restrictions.
  377. //
  378. typedef struct _WKSTA_USER_INFO_0 {
  379. LPTSTR wkui0_username;
  380. }WKSTA_USER_INFO_0, *PWKSTA_USER_INFO_0, *LPWKSTA_USER_INFO_0;
  381. //
  382. // NetWkstaUserGetInfo (local only) and NetWkstaUserEnum -
  383. // no access restrictions.
  384. //
  385. typedef struct _WKSTA_USER_INFO_1 {
  386. LPTSTR wkui1_username;
  387. LPTSTR wkui1_logon_domain;
  388. LPTSTR wkui1_oth_domains;
  389. LPTSTR wkui1_logon_server;
  390. }WKSTA_USER_INFO_1, *PWKSTA_USER_INFO_1, *LPWKSTA_USER_INFO_1;
  391. //
  392. // NetWkstaUserSetInfo - local access.
  393. //
  394. typedef struct _WKSTA_USER_INFO_1101 {
  395. LPTSTR wkui1101_oth_domains;
  396. } WKSTA_USER_INFO_1101, *PWKSTA_USER_INFO_1101,
  397. *LPWKSTA_USER_INFO_1101;
  398. //
  399. // NetWkstaTransportAdd - admin access
  400. //
  401. typedef struct _WKSTA_TRANSPORT_INFO_0 {
  402. DWORD wkti0_quality_of_service;
  403. DWORD wkti0_number_of_vcs;
  404. LPTSTR wkti0_transport_name;
  405. LPTSTR wkti0_transport_address;
  406. BOOL wkti0_wan_ish;
  407. }WKSTA_TRANSPORT_INFO_0, *PWKSTA_TRANSPORT_INFO_0,
  408. *LPWKSTA_TRANSPORT_INFO_0;
  409. //
  410. // Special Values and Constants
  411. //
  412. //
  413. // Identifiers for use as NetWkstaSetInfo parmnum parameter
  414. //
  415. //
  416. // One of these values indicates the parameter within an information
  417. // structure that is invalid when ERROR_INVALID_PARAMETER is returned by
  418. // NetWkstaSetInfo.
  419. //
  420. #define WKSTA_PLATFORM_ID_PARMNUM 100
  421. #define WKSTA_COMPUTERNAME_PARMNUM 1
  422. #define WKSTA_LANGROUP_PARMNUM 2
  423. #define WKSTA_VER_MAJOR_PARMNUM 4
  424. #define WKSTA_VER_MINOR_PARMNUM 5
  425. #define WKSTA_LOGGED_ON_USERS_PARMNUM 6
  426. #define WKSTA_LANROOT_PARMNUM 7
  427. #define WKSTA_LOGON_DOMAIN_PARMNUM 8
  428. #define WKSTA_LOGON_SERVER_PARMNUM 9
  429. #define WKSTA_CHARWAIT_PARMNUM 10 // Supported by down-level.
  430. #define WKSTA_CHARTIME_PARMNUM 11 // Supported by down-level.
  431. #define WKSTA_CHARCOUNT_PARMNUM 12 // Supported by down-level.
  432. #define WKSTA_KEEPCONN_PARMNUM 13
  433. #define WKSTA_KEEPSEARCH_PARMNUM 14
  434. #define WKSTA_MAXCMDS_PARMNUM 15
  435. #define WKSTA_NUMWORKBUF_PARMNUM 16
  436. #define WKSTA_MAXWRKCACHE_PARMNUM 17
  437. #define WKSTA_SESSTIMEOUT_PARMNUM 18
  438. #define WKSTA_SIZERROR_PARMNUM 19
  439. #define WKSTA_NUMALERTS_PARMNUM 20
  440. #define WKSTA_NUMSERVICES_PARMNUM 21
  441. #define WKSTA_NUMCHARBUF_PARMNUM 22
  442. #define WKSTA_SIZCHARBUF_PARMNUM 23
  443. #define WKSTA_ERRLOGSZ_PARMNUM 27 // Supported by down-level.
  444. #define WKSTA_PRINTBUFTIME_PARMNUM 28 // Supported by down-level.
  445. #define WKSTA_SIZWORKBUF_PARMNUM 29
  446. #define WKSTA_MAILSLOTS_PARMNUM 30
  447. #define WKSTA_NUMDGRAMBUF_PARMNUM 31
  448. #define WKSTA_WRKHEURISTICS_PARMNUM 32 // Supported by down-level.
  449. #define WKSTA_MAXTHREADS_PARMNUM 33
  450. #define WKSTA_LOCKQUOTA_PARMNUM 41
  451. #define WKSTA_LOCKINCREMENT_PARMNUM 42
  452. #define WKSTA_LOCKMAXIMUM_PARMNUM 43
  453. #define WKSTA_PIPEINCREMENT_PARMNUM 44
  454. #define WKSTA_PIPEMAXIMUM_PARMNUM 45
  455. #define WKSTA_DORMANTFILELIMIT_PARMNUM 46
  456. #define WKSTA_CACHEFILETIMEOUT_PARMNUM 47
  457. #define WKSTA_USEOPPORTUNISTICLOCKING_PARMNUM 48
  458. #define WKSTA_USEUNLOCKBEHIND_PARMNUM 49
  459. #define WKSTA_USECLOSEBEHIND_PARMNUM 50
  460. #define WKSTA_BUFFERNAMEDPIPES_PARMNUM 51
  461. #define WKSTA_USELOCKANDREADANDUNLOCK_PARMNUM 52
  462. #define WKSTA_UTILIZENTCACHING_PARMNUM 53
  463. #define WKSTA_USERAWREAD_PARMNUM 54
  464. #define WKSTA_USERAWWRITE_PARMNUM 55
  465. #define WKSTA_USEWRITERAWWITHDATA_PARMNUM 56
  466. #define WKSTA_USEENCRYPTION_PARMNUM 57
  467. #define WKSTA_BUFFILESWITHDENYWRITE_PARMNUM 58
  468. #define WKSTA_BUFFERREADONLYFILES_PARMNUM 59
  469. #define WKSTA_FORCECORECREATEMODE_PARMNUM 60
  470. #define WKSTA_USE512BYTESMAXTRANSFER_PARMNUM 61
  471. #define WKSTA_READAHEADTHRUPUT_PARMNUM 62
  472. //
  473. // One of these values indicates the parameter within an information
  474. // structure that is invalid when ERROR_INVALID_PARAMETER is returned by
  475. // NetWkstaUserSetInfo.
  476. //
  477. #define WKSTA_OTH_DOMAINS_PARMNUM 101
  478. //
  479. // One of these values indicates the parameter within an information
  480. // structure that is invalid when ERROR_INVALID_PARAMETER is returned by
  481. // NetWkstaTransportAdd.
  482. //
  483. #define TRANSPORT_QUALITYOFSERVICE_PARMNUM 201
  484. #define TRANSPORT_NAME_PARMNUM 202
  485. #ifdef __cplusplus
  486. }
  487. #endif
  488. #endif // _LMWKSTA_