home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Internet 2000 May / MICD_2000_05.iso / CBuilder5 / INSTALL / DATA1.CAB / Program_Built_Files / Include / lmwksta.h < prev    next >
C/C++ Source or Header  |  2000-02-01  |  17KB  |  547 lines

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