1 | #ifndef _LMACCESS_H
|
---|
2 | #define _LMACCESS_H
|
---|
3 | #if __GNUC__ >=3
|
---|
4 | #pragma GCC system_header
|
---|
5 | #endif
|
---|
6 |
|
---|
7 | #ifdef __cplusplus
|
---|
8 | extern "C" {
|
---|
9 | #endif
|
---|
10 | #include <lmcons.h>
|
---|
11 | #define GROUP_SPECIALGRP_USERS L"USERS"
|
---|
12 | #define GROUP_SPECIALGRP_ADMINS L"ADMINS"
|
---|
13 | #define GROUP_SPECIALGRP_GUESTS L"GUESTS"
|
---|
14 | #define GROUP_SPECIALGRP_LOCAL L"LOCAL"
|
---|
15 | #define ACCESS_LETTERS "RWCXDAP "
|
---|
16 | #define NETLOGON_CONTROL_QUERY 1
|
---|
17 | #define NETLOGON_CONTROL_REPLICATE 2
|
---|
18 | #define NETLOGON_CONTROL_SYNCHRONIZE 3
|
---|
19 | #define NETLOGON_CONTROL_PDC_REPLICATE 4
|
---|
20 | #define NETLOGON_CONTROL_REDISCOVER 5
|
---|
21 | #define NETLOGON_CONTROL_TC_QUERY 6
|
---|
22 | #define NETLOGON_CONTROL_BACKUP_CHANGE_LOG 65532
|
---|
23 | #define NETLOGON_CONTROL_TRUNCATE_LOG 65533
|
---|
24 | #define NETLOGON_CONTROL_SET_DBFLAG 65534
|
---|
25 | #define NETLOGON_CONTROL_BREAKPOINT 65535
|
---|
26 | #define UF_SCRIPT 1
|
---|
27 | #define UF_ACCOUNTDISABLE 2
|
---|
28 | #define UF_HOMEDIR_REQUIRED 8
|
---|
29 | #define UF_LOCKOUT 16
|
---|
30 | #define UF_PASSWD_NOTREQD 32
|
---|
31 | #define UF_PASSWD_CANT_CHANGE 64
|
---|
32 | #define UF_TEMP_DUPLICATE_ACCOUNT 256
|
---|
33 | #define UF_NORMAL_ACCOUNT 512
|
---|
34 | #define UF_INTERDOMAIN_TRUST_ACCOUNT 2048
|
---|
35 | #define UF_WORKSTATION_TRUST_ACCOUNT 4096
|
---|
36 | #define UF_SERVER_TRUST_ACCOUNT 8192
|
---|
37 | #define UF_MNS_LOGON_ACCOUNT 131072
|
---|
38 | #define UF_MACHINE_ACCOUNT_MASK (UF_INTERDOMAIN_TRUST_ACCOUNT|UF_WORKSTATION_TRUST_ACCOUNT|UF_SERVER_TRUST_ACCOUNT)
|
---|
39 | #define UF_ACCOUNT_TYPE_MASK (UF_TEMP_DUPLICATE_ACCOUNT|UF_NORMAL_ACCOUNT|UF_INTERDOMAIN_TRUST_ACCOUNT|UF_WORKSTATION_TRUST_ACCOUNT|UF_SERVER_TRUST_ACCOUNT)
|
---|
40 | #define UF_DONT_EXPIRE_PASSWD 65536
|
---|
41 | #define UF_SETTABLE_BITS (UF_SCRIPT|UF_ACCOUNTDISABLE|UF_LOCKOUT|UF_HOMEDIR_REQUIRED|UF_PASSWD_NOTREQD|UF_PASSWD_CANT_CHANGE|UF_ACCOUNT_TYPE_MASK|UF_DONT_EXPIRE_PASSWD)
|
---|
42 | #define FILTER_TEMP_DUPLICATE_ACCOUNT 1
|
---|
43 | #define FILTER_NORMAL_ACCOUNT 2
|
---|
44 | #define FILTER_INTERDOMAIN_TRUST_ACCOUNT 8
|
---|
45 | #define FILTER_WORKSTATION_TRUST_ACCOUNT 16
|
---|
46 | #define FILTER_SERVER_TRUST_ACCOUNT 32
|
---|
47 | #define LG_INCLUDE_INDIRECT 1
|
---|
48 | #define AF_OP_PRINT 1
|
---|
49 | #define AF_OP_COMM 2
|
---|
50 | #define AF_OP_SERVER 4
|
---|
51 | #define AF_OP_ACCOUNTS 8
|
---|
52 | #define AF_SETTABLE_BITS (AF_OP_PRINT|AF_OP_COMM|AF_OP_SERVER|AF_OP_ACCOUNTS)
|
---|
53 | #define UAS_ROLE_STANDALONE 0
|
---|
54 | #define UAS_ROLE_MEMBER 1
|
---|
55 | #define UAS_ROLE_BACKUP 2
|
---|
56 | #define UAS_ROLE_PRIMARY 3
|
---|
57 | #define USER_NAME_PARMNUM 1
|
---|
58 | #define USER_PASSWORD_PARMNUM 3
|
---|
59 | #define USER_PASSWORD_AGE_PARMNUM 4
|
---|
60 | #define USER_PRIV_PARMNUM 5
|
---|
61 | #define USER_HOME_DIR_PARMNUM 6
|
---|
62 | #define USER_COMMENT_PARMNUM 7
|
---|
63 | #define USER_FLAGS_PARMNUM 8
|
---|
64 | #define USER_SCRIPT_PATH_PARMNUM 9
|
---|
65 | #define USER_AUTH_FLAGS_PARMNUM 10
|
---|
66 | #define USER_FULL_NAME_PARMNUM 11
|
---|
67 | #define USER_USR_COMMENT_PARMNUM 12
|
---|
68 | #define USER_PARMS_PARMNUM 13
|
---|
69 | #define USER_WORKSTATIONS_PARMNUM 14
|
---|
70 | #define USER_LAST_LOGON_PARMNUM 15
|
---|
71 | #define USER_LAST_LOGOFF_PARMNUM 16
|
---|
72 | #define USER_ACCT_EXPIRES_PARMNUM 17
|
---|
73 | #define USER_MAX_STORAGE_PARMNUM 18
|
---|
74 | #define USER_UNITS_PER_WEEK_PARMNUM 19
|
---|
75 | #define USER_LOGON_HOURS_PARMNUM 20
|
---|
76 | #define USER_PAD_PW_COUNT_PARMNUM 21
|
---|
77 | #define USER_NUM_LOGONS_PARMNUM 22
|
---|
78 | #define USER_LOGON_SERVER_PARMNUM 23
|
---|
79 | #define USER_COUNTRY_CODE_PARMNUM 24
|
---|
80 | #define USER_CODE_PAGE_PARMNUM 25
|
---|
81 | #define USER_PRIMARY_GROUP_PARMNUM 51
|
---|
82 | #define USER_PROFILE 52
|
---|
83 | #define USER_PROFILE_PARMNUM 52
|
---|
84 | #define USER_HOME_DIR_DRIVE_PARMNUM 53
|
---|
85 | #define USER_NAME_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_NAME_PARMNUM)
|
---|
86 | #define USER_PASSWORD_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_PASSWORD_PARMNUM)
|
---|
87 | #define USER_PASSWORD_AGE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_PASSWORD_AGE_PARMNUM)
|
---|
88 | #define USER_PRIV_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_PRIV_PARMNUM)
|
---|
89 | #define USER_HOME_DIR_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_HOME_DIR_PARMNUM)
|
---|
90 | #define USER_COMMENT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_COMMENT_PARMNUM)
|
---|
91 | #define USER_FLAGS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_FLAGS_PARMNUM)
|
---|
92 | #define USER_SCRIPT_PATH_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_SCRIPT_PATH_PARMNUM)
|
---|
93 | #define USER_AUTH_FLAGS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_AUTH_FLAGS_PARMNUM)
|
---|
94 | #define USER_FULL_NAME_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_FULL_NAME_PARMNUM)
|
---|
95 | #define USER_USR_COMMENT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_USR_COMMENT_PARMNUM)
|
---|
96 | #define USER_PARMS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_PARMS_PARMNUM)
|
---|
97 | #define USER_WORKSTATIONS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_WORKSTATIONS_PARMNUM)
|
---|
98 | #define USER_LAST_LOGON_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_LAST_LOGON_PARMNUM)
|
---|
99 | #define USER_LAST_LOGOFF_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_LAST_LOGOFF_PARMNUM)
|
---|
100 | #define USER_ACCT_EXPIRES_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_ACCT_EXPIRES_PARMNUM)
|
---|
101 | #define USER_MAX_STORAGE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_MAX_STORAGE_PARMNUM)
|
---|
102 | #define USER_UNITS_PER_WEEK_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_UNITS_PER_WEEK_PARMNUM)
|
---|
103 | #define USER_LOGON_HOURS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_LOGON_HOURS_PARMNUM)
|
---|
104 | #define USER_PAD_PW_COUNT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_PAD_PW_COUNT_PARMNUM)
|
---|
105 | #define USER_NUM_LOGONS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_NUM_LOGONS_PARMNUM)
|
---|
106 | #define USER_LOGON_SERVER_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_LOGON_SERVER_PARMNUM)
|
---|
107 | #define USER_COUNTRY_CODE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_COUNTRY_CODE_PARMNUM)
|
---|
108 | #define USER_CODE_PAGE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_CODE_PAGE_PARMNUM)
|
---|
109 | #define USER_PRIMARY_GROUP_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_PRIMARY_GROUP_PARMNUM)
|
---|
110 | #define USER_POSIX_ID_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_POSIX_ID_PARMNUM)
|
---|
111 | #define USER_HOME_DIR_DRIVE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+USER_HOME_DIR_DRIVE_PARMNUM)
|
---|
112 | #define NULL_USERSETINFO_PASSWD " "
|
---|
113 | #define TIMEQ_FOREVER ((ULONG)-1)
|
---|
114 | #define USER_MAXSTORAGE_UNLIMITED ((ULONG)-1)
|
---|
115 | #define USER_NO_LOGOFF ((ULONG)-1L)
|
---|
116 | #define UNITS_PER_DAY 24
|
---|
117 | #define UNITS_PER_WEEK 168
|
---|
118 | #define USER_PRIV_MASK 3
|
---|
119 | #define USER_PRIV_GUEST 0
|
---|
120 | #define USER_PRIV_USER 1
|
---|
121 | #define USER_PRIV_ADMIN 2
|
---|
122 | #define MAX_PASSWD_LEN PWLEN
|
---|
123 | #define DEF_MIN_PWLEN 6
|
---|
124 | #define DEF_PWUNIQUENESS 5
|
---|
125 | #define DEF_MAX_PWHIST 8
|
---|
126 | #define DEF_MAX_PWAGE TIMEQ_FOREVER
|
---|
127 | #define DEF_MIN_PWAGE 0
|
---|
128 | #define DEF_FORCE_LOGOFF (ULONG)0xffffffff
|
---|
129 | #define DEF_MAX_BADPW 0
|
---|
130 | #define ONE_DAY 86400
|
---|
131 | #define VALIDATED_LOGON 0
|
---|
132 | #define PASSWORD_EXPIRED 2
|
---|
133 | #define NON_VALIDATED_LOGON 3
|
---|
134 | #define VALID_LOGOFF 1
|
---|
135 | #define MODALS_MIN_PASSWD_LEN_PARMNUM 1
|
---|
136 | #define MODALS_MAX_PASSWD_AGE_PARMNUM 2
|
---|
137 | #define MODALS_MIN_PASSWD_AGE_PARMNUM 3
|
---|
138 | #define MODALS_FORCE_LOGOFF_PARMNUM 4
|
---|
139 | #define MODALS_PASSWD_HIST_LEN_PARMNUM 5
|
---|
140 | #define MODALS_ROLE_PARMNUM 6
|
---|
141 | #define MODALS_PRIMARY_PARMNUM 7
|
---|
142 | #define MODALS_DOMAIN_NAME_PARMNUM 8
|
---|
143 | #define MODALS_DOMAIN_ID_PARMNUM 9
|
---|
144 | #define MODALS_LOCKOUT_DURATION_PARMNUM 10
|
---|
145 | #define MODALS_LOCKOUT_OBSERVATION_WINDOW_PARMNUM 11
|
---|
146 | #define MODALS_LOCKOUT_THRESHOLD_PARMNUM 12
|
---|
147 | #define MODALS_MIN_PASSWD_LEN_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+MODALS_MIN_PASSWD_LEN_PARMNUM)
|
---|
148 | #define MODALS_MAX_PASSWD_AGE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+MODALS_MAX_PASSWD_AGE_PARMNUM)
|
---|
149 | #define MODALS_MIN_PASSWD_AGE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+MODALS_MIN_PASSWD_AGE_PARMNUM)
|
---|
150 | #define MODALS_FORCE_LOGOFF_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+MODALS_FORCE_LOGOFF_PARMNUM)
|
---|
151 | #define MODALS_PASSWD_HIST_LEN_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+MODALS_PASSWD_HIST_LEN_PARMNUM)
|
---|
152 | #define MODALS_ROLE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+MODALS_ROLE_PARMNUM)
|
---|
153 | #define MODALS_PRIMARY_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+MODALS_PRIMARY_PARMNUM)
|
---|
154 | #define MODALS_DOMAIN_NAME_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+MODALS_DOMAIN_NAME_PARMNUM)
|
---|
155 | #define MODALS_DOMAIN_ID_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+MODALS_DOMAIN_ID_PARMNUM)
|
---|
156 | #define GROUPIDMASK 0x8000
|
---|
157 | #define GROUP_ALL_PARMNUM 0
|
---|
158 | #define GROUP_NAME_PARMNUM 1
|
---|
159 | #define GROUP_COMMENT_PARMNUM 2
|
---|
160 | #define GROUP_ATTRIBUTES_PARMNUM 3
|
---|
161 | #define GROUP_ALL_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+GROUP_ALL_PARMNUM)
|
---|
162 | #define GROUP_NAME_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+GROUP_NAME_PARMNUM)
|
---|
163 | #define GROUP_COMMENT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+GROUP_COMMENT_PARMNUM)
|
---|
164 | #define GROUP_ATTRIBUTES_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+GROUP_ATTRIBUTES_PARMNUM)
|
---|
165 | #define GROUP_POSIX_ID_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+GROUP_POSIX_ID_PARMNUM)
|
---|
166 | #define LOCALGROUP_NAME_PARMNUM 1
|
---|
167 | #define LOCALGROUP_COMMENT_PARMNUM 2
|
---|
168 | #define MAXPERMENTRIES 64
|
---|
169 | #define ACCESS_NONE 0
|
---|
170 | #define ACCESS_ALL (ACCESS_READ|ACCESS_WRITE|ACCESS_CREATE|ACCESS_EXEC|ACCESS_DELETE|ACCESS_ATRIB|ACCESS_PERM)
|
---|
171 | #define ACCESS_READ 1
|
---|
172 | #define ACCESS_WRITE 2
|
---|
173 | #define ACCESS_CREATE 4
|
---|
174 | #define ACCESS_EXEC 8
|
---|
175 | #define ACCESS_DELETE 16
|
---|
176 | #define ACCESS_ATRIB 32
|
---|
177 | #define ACCESS_PERM 64
|
---|
178 | #define ACCESS_GROUP 0x8000
|
---|
179 | #define ACCESS_AUDIT 1
|
---|
180 | #define ACCESS_SUCCESS_OPEN 16
|
---|
181 | #define ACCESS_SUCCESS_WRITE 32
|
---|
182 | #define ACCESS_SUCCESS_DELETE 64
|
---|
183 | #define ACCESS_SUCCESS_ACL 128
|
---|
184 | #define ACCESS_SUCCESS_MASK 240
|
---|
185 | #define ACCESS_FAIL_OPEN 256
|
---|
186 | #define ACCESS_FAIL_WRITE 512
|
---|
187 | #define ACCESS_FAIL_DELETE 1024
|
---|
188 | #define ACCESS_FAIL_ACL 2048
|
---|
189 | #define ACCESS_FAIL_MASK 3840
|
---|
190 | #define ACCESS_FAIL_SHIFT 4
|
---|
191 | #define ACCESS_RESOURCE_NAME_PARMNUM 1
|
---|
192 | #define ACCESS_ATTR_PARMNUM 2
|
---|
193 | #define ACCESS_COUNT_PARMNUM 3
|
---|
194 | #define ACCESS_ACCESS_LIST_PARMNUM 4
|
---|
195 | #define ACCESS_RESOURCE_NAME_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+ACCESS_RESOURCE_NAME_PARMNUM)
|
---|
196 | #define ACCESS_ATTR_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+ACCESS_ATTR_PARMNUM)
|
---|
197 | #define ACCESS_COUNT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+ACCESS_COUNT_PARMNUM)
|
---|
198 | #define ACCESS_ACCESS_LIST_INFOLEVEL (PARMNUM_BASE_INFOLEVEL+ACCESS_ACCESS_LIST_PARMNUM)
|
---|
199 | #define NETLOGON_REPLICATION_NEEDED 1
|
---|
200 | #define NETLOGON_REPLICATION_IN_PROGRESS 2
|
---|
201 | #define NETLOGON_FULL_SYNC_REPLICATION 4
|
---|
202 | #define NETLOGON_REDO_NEEDED 8
|
---|
203 |
|
---|
204 | typedef struct _USER_INFO_0 { LPWSTR usri0_name; }USER_INFO_0,*PUSER_INFO_0,*LPUSER_INFO_0;
|
---|
205 | typedef struct _USER_INFO_1 {
|
---|
206 | LPWSTR usri1_name;
|
---|
207 | LPWSTR usri1_password;
|
---|
208 | DWORD usri1_password_age;
|
---|
209 | DWORD usri1_priv;
|
---|
210 | LPWSTR usri1_home_dir;
|
---|
211 | LPWSTR usri1_comment;
|
---|
212 | DWORD usri1_flags;
|
---|
213 | LPWSTR usri1_script_path;
|
---|
214 | }USER_INFO_1,*PUSER_INFO_1,*LPUSER_INFO_1;
|
---|
215 | typedef struct _USER_INFO_2 {
|
---|
216 | LPWSTR usri2_name;
|
---|
217 | LPWSTR usri2_password;
|
---|
218 | DWORD usri2_password_age;
|
---|
219 | DWORD usri2_priv;
|
---|
220 | LPWSTR usri2_home_dir;
|
---|
221 | LPWSTR usri2_comment;
|
---|
222 | DWORD usri2_flags;
|
---|
223 | LPWSTR usri2_script_path;
|
---|
224 | DWORD usri2_auth_flags;
|
---|
225 | LPWSTR usri2_full_name;
|
---|
226 | LPWSTR usri2_usr_comment;
|
---|
227 | LPWSTR usri2_parms;
|
---|
228 | LPWSTR usri2_workstations;
|
---|
229 | DWORD usri2_last_logon;
|
---|
230 | DWORD usri2_last_logoff;
|
---|
231 | DWORD usri2_acct_expires;
|
---|
232 | DWORD usri2_max_storage;
|
---|
233 | DWORD usri2_units_per_week;
|
---|
234 | PBYTE usri2_logon_hours;
|
---|
235 | DWORD usri2_bad_pw_count;
|
---|
236 | DWORD usri2_num_logons;
|
---|
237 | LPWSTR usri2_logon_server;
|
---|
238 | DWORD usri2_country_code;
|
---|
239 | DWORD usri2_code_page;
|
---|
240 | }USER_INFO_2,*PUSER_INFO_2,*LPUSER_INFO_2;
|
---|
241 | typedef struct _USER_INFO_3 {
|
---|
242 | LPWSTR usri3_name;
|
---|
243 | LPWSTR usri3_password;
|
---|
244 | DWORD usri3_password_age;
|
---|
245 | DWORD usri3_priv;
|
---|
246 | LPWSTR usri3_home_dir;
|
---|
247 | LPWSTR usri3_comment;
|
---|
248 | DWORD usri3_flags;
|
---|
249 | LPWSTR usri3_script_path;
|
---|
250 | DWORD usri3_auth_flags;
|
---|
251 | LPWSTR usri3_full_name;
|
---|
252 | LPWSTR usri3_usr_comment;
|
---|
253 | LPWSTR usri3_parms;
|
---|
254 | LPWSTR usri3_workstations;
|
---|
255 | DWORD usri3_last_logon;
|
---|
256 | DWORD usri3_last_logoff;
|
---|
257 | DWORD usri3_acct_expires;
|
---|
258 | DWORD usri3_max_storage;
|
---|
259 | DWORD usri3_units_per_week;
|
---|
260 | PBYTE usri3_logon_hours;
|
---|
261 | DWORD usri3_bad_pw_count;
|
---|
262 | DWORD usri3_num_logons;
|
---|
263 | LPWSTR usri3_logon_server;
|
---|
264 | DWORD usri3_country_code;
|
---|
265 | DWORD usri3_code_page;
|
---|
266 | DWORD usri3_user_id;
|
---|
267 | DWORD usri3_primary_group_id;
|
---|
268 | LPWSTR usri3_profile;
|
---|
269 | LPWSTR usri3_home_dir_drive;
|
---|
270 | DWORD usri3_password_expired;
|
---|
271 | }USER_INFO_3,*PUSER_INFO_3,*LPUSER_INFO_3;
|
---|
272 | typedef struct _USER_INFO_4 {
|
---|
273 | LPWSTR usri4_name;
|
---|
274 | LPWSTR usri4_password;
|
---|
275 | DWORD usri4_password_age;
|
---|
276 | DWORD usri4_priv;
|
---|
277 | LPWSTR usri4_home_dir;
|
---|
278 | LPWSTR usri4_comment;
|
---|
279 | DWORD usri4_flags;
|
---|
280 | LPWSTR usri4_script_path;
|
---|
281 | DWORD usri4_auth_flags;
|
---|
282 | LPWSTR usri4_full_name;
|
---|
283 | LPWSTR usri4_usr_comment;
|
---|
284 | LPWSTR usri4_parms;
|
---|
285 | LPWSTR usri4_workstations;
|
---|
286 | DWORD usri4_last_logon;
|
---|
287 | DWORD usri4_last_logoff;
|
---|
288 | DWORD usri4_acct_expires;
|
---|
289 | DWORD usri4_max_storage;
|
---|
290 | DWORD usri4_units_per_week;
|
---|
291 | PBYTE usri4_logon_hours;
|
---|
292 | DWORD usri4_bad_pw_count;
|
---|
293 | DWORD usri4_num_logons;
|
---|
294 | LPWSTR usri4_logon_server;
|
---|
295 | DWORD usri4_country_code;
|
---|
296 | DWORD usri4_code_page;
|
---|
297 | PSID usri4_user_sid;
|
---|
298 | DWORD usri4_primary_group_id;
|
---|
299 | LPWSTR usri4_profile;
|
---|
300 | LPWSTR usri4_home_dir_drive;
|
---|
301 | DWORD usri4_password_expired;
|
---|
302 | }USER_INFO_4,*PUSER_INFO_4,*LPUSER_INFO_4;
|
---|
303 | typedef struct _USER_INFO_10 {
|
---|
304 | LPWSTR usri10_name;
|
---|
305 | LPWSTR usri10_comment;
|
---|
306 | LPWSTR usri10_usr_comment;
|
---|
307 | LPWSTR usri10_full_name;
|
---|
308 | }USER_INFO_10,*PUSER_INFO_10,*LPUSER_INFO_10;
|
---|
309 | typedef struct _USER_INFO_11 {
|
---|
310 | LPWSTR usri11_name;
|
---|
311 | LPWSTR usri11_comment;
|
---|
312 | LPWSTR usri11_usr_comment;
|
---|
313 | LPWSTR usri11_full_name;
|
---|
314 | DWORD usri11_priv;
|
---|
315 | DWORD usri11_auth_flags;
|
---|
316 | DWORD usri11_password_age;
|
---|
317 | LPWSTR usri11_home_dir;
|
---|
318 | LPWSTR usri11_parms;
|
---|
319 | DWORD usri11_last_logon;
|
---|
320 | DWORD usri11_last_logoff;
|
---|
321 | DWORD usri11_bad_pw_count;
|
---|
322 | DWORD usri11_num_logons;
|
---|
323 | LPWSTR usri11_logon_server;
|
---|
324 | DWORD usri11_country_code;
|
---|
325 | LPWSTR usri11_workstations;
|
---|
326 | DWORD usri11_max_storage;
|
---|
327 | DWORD usri11_units_per_week;
|
---|
328 | PBYTE usri11_logon_hours;
|
---|
329 | DWORD usri11_code_page;
|
---|
330 | }USER_INFO_11,*PUSER_INFO_11,*LPUSER_INFO_11;
|
---|
331 | typedef struct _USER_INFO_20 {
|
---|
332 | LPWSTR usri20_name;
|
---|
333 | LPWSTR usri20_full_name;
|
---|
334 | LPWSTR usri20_comment;
|
---|
335 | DWORD usri20_flags;
|
---|
336 | DWORD usri20_user_id;
|
---|
337 | }USER_INFO_20,*PUSER_INFO_20,*LPUSER_INFO_20;
|
---|
338 | typedef struct _USER_INFO_21 {
|
---|
339 | BYTE usri21_password[ENCRYPTED_PWLEN];
|
---|
340 | }USER_INFO_21,*PUSER_INFO_21,*LPUSER_INFO_21;
|
---|
341 | typedef struct _USER_INFO_22 {
|
---|
342 | LPWSTR usri22_name;
|
---|
343 | BYTE usri22_password[ENCRYPTED_PWLEN];
|
---|
344 | DWORD usri22_password_age;
|
---|
345 | DWORD usri22_priv;
|
---|
346 | LPWSTR usri22_home_dir;
|
---|
347 | LPWSTR usri22_comment;
|
---|
348 | DWORD usri22_flags;
|
---|
349 | LPWSTR usri22_script_path;
|
---|
350 | DWORD usri22_auth_flags;
|
---|
351 | LPWSTR usri22_full_name;
|
---|
352 | LPWSTR usri22_usr_comment;
|
---|
353 | LPWSTR usri22_parms;
|
---|
354 | LPWSTR usri22_workstations;
|
---|
355 | DWORD usri22_last_logon;
|
---|
356 | DWORD usri22_last_logoff;
|
---|
357 | DWORD usri22_acct_expires;
|
---|
358 | DWORD usri22_max_storage;
|
---|
359 | DWORD usri22_units_per_week;
|
---|
360 | PBYTE usri22_logon_hours;
|
---|
361 | DWORD usri22_bad_pw_count;
|
---|
362 | DWORD usri22_num_logons;
|
---|
363 | LPWSTR usri22_logon_server;
|
---|
364 | DWORD usri22_country_code;
|
---|
365 | DWORD usri22_code_page;
|
---|
366 | }USER_INFO_22,*PUSER_INFO_22,*LPUSER_INFO_22;
|
---|
367 | typedef struct _USER_INFO_23 {
|
---|
368 | LPWSTR usri23_name;
|
---|
369 | LPWSTR usri23_full_name;
|
---|
370 | LPWSTR usri23_comment;
|
---|
371 | DWORD usri23_flags;
|
---|
372 | PSID usri23_user_sid;
|
---|
373 | }USER_INFO_23,*PUSER_INFO_23,*LPUSER_INFO_23;
|
---|
374 | typedef struct _USER_INFO_1003 {
|
---|
375 | LPWSTR usri1003_password;
|
---|
376 | } USER_INFO_1003,*PUSER_INFO_1003,*LPUSER_INFO_1003;
|
---|
377 | typedef struct _USER_INFO_1005 {
|
---|
378 | DWORD usri1005_priv;
|
---|
379 | } USER_INFO_1005,*PUSER_INFO_1005,*LPUSER_INFO_1005;
|
---|
380 | typedef struct _USER_INFO_1006 {
|
---|
381 | LPWSTR usri1006_home_dir;
|
---|
382 | } USER_INFO_1006,*PUSER_INFO_1006,*LPUSER_INFO_1006;
|
---|
383 | typedef struct _USER_INFO_1007 {
|
---|
384 | LPWSTR usri1007_comment;
|
---|
385 | } USER_INFO_1007,*PUSER_INFO_1007,*LPUSER_INFO_1007;
|
---|
386 | typedef struct _USER_INFO_1008 {
|
---|
387 | DWORD usri1008_flags;
|
---|
388 | } USER_INFO_1008,*PUSER_INFO_1008,*LPUSER_INFO_1008;
|
---|
389 | typedef struct _USER_INFO_1009 {
|
---|
390 | LPWSTR usri1009_script_path;
|
---|
391 | } USER_INFO_1009,*PUSER_INFO_1009,*LPUSER_INFO_1009;
|
---|
392 | typedef struct _USER_INFO_1010 {
|
---|
393 | DWORD usri1010_auth_flags;
|
---|
394 | } USER_INFO_1010,*PUSER_INFO_1010,*LPUSER_INFO_1010;
|
---|
395 | typedef struct _USER_INFO_1011 {
|
---|
396 | LPWSTR usri1011_full_name;
|
---|
397 | } USER_INFO_1011,*PUSER_INFO_1011,*LPUSER_INFO_1011;
|
---|
398 | typedef struct _USER_INFO_1012 {
|
---|
399 | LPWSTR usri1012_usr_comment;
|
---|
400 | } USER_INFO_1012,*PUSER_INFO_1012,*LPUSER_INFO_1012;
|
---|
401 | typedef struct _USER_INFO_1013 {
|
---|
402 | LPWSTR usri1013_parms;
|
---|
403 | } USER_INFO_1013,*PUSER_INFO_1013,*LPUSER_INFO_1013;
|
---|
404 | typedef struct _USER_INFO_1014 {
|
---|
405 | LPWSTR usri1014_workstations;
|
---|
406 | } USER_INFO_1014,*PUSER_INFO_1014,*LPUSER_INFO_1014;
|
---|
407 | typedef struct _USER_INFO_1017 {
|
---|
408 | DWORD usri1017_acct_expires;
|
---|
409 | } USER_INFO_1017,*PUSER_INFO_1017,*LPUSER_INFO_1017;
|
---|
410 | typedef struct _USER_INFO_1018 {
|
---|
411 | DWORD usri1018_max_storage;
|
---|
412 | } USER_INFO_1018,*PUSER_INFO_1018,*LPUSER_INFO_1018;
|
---|
413 | typedef struct _USER_INFO_1020 {
|
---|
414 | DWORD usri1020_units_per_week;
|
---|
415 | PBYTE usri1020_logon_hours;
|
---|
416 | } USER_INFO_1020,*PUSER_INFO_1020,*LPUSER_INFO_1020;
|
---|
417 | typedef struct _USER_INFO_1023 {
|
---|
418 | LPWSTR usri1023_logon_server;
|
---|
419 | } USER_INFO_1023,*PUSER_INFO_1023,*LPUSER_INFO_1023;
|
---|
420 | typedef struct _USER_INFO_1024 {
|
---|
421 | DWORD usri1024_country_code;
|
---|
422 | } USER_INFO_1024,*PUSER_INFO_1024,*LPUSER_INFO_1024;
|
---|
423 | typedef struct _USER_INFO_1025 {
|
---|
424 | DWORD usri1025_code_page;
|
---|
425 | } USER_INFO_1025,*PUSER_INFO_1025,*LPUSER_INFO_1025;
|
---|
426 | typedef struct _USER_INFO_1051 {
|
---|
427 | DWORD usri1051_primary_group_id;
|
---|
428 | } USER_INFO_1051,*PUSER_INFO_1051,*LPUSER_INFO_1051;
|
---|
429 | typedef struct _USER_INFO_1052 {
|
---|
430 | LPWSTR usri1052_profile;
|
---|
431 | } USER_INFO_1052,*PUSER_INFO_1052,*LPUSER_INFO_1052;
|
---|
432 | typedef struct _USER_INFO_1053 {
|
---|
433 | LPWSTR usri1053_home_dir_drive;
|
---|
434 | } USER_INFO_1053,*PUSER_INFO_1053,*LPUSER_INFO_1053;
|
---|
435 | typedef struct _USER_MODALS_INFO_0 {
|
---|
436 | DWORD usrmod0_min_passwd_len;
|
---|
437 | DWORD usrmod0_max_passwd_age;
|
---|
438 | DWORD usrmod0_min_passwd_age;
|
---|
439 | DWORD usrmod0_force_logoff;
|
---|
440 | DWORD usrmod0_password_hist_len;
|
---|
441 | }USER_MODALS_INFO_0,*PUSER_MODALS_INFO_0,*LPUSER_MODALS_INFO_0;
|
---|
442 | typedef struct _USER_MODALS_INFO_1 {
|
---|
443 | DWORD usrmod1_role;
|
---|
444 | LPWSTR usrmod1_primary;
|
---|
445 | }USER_MODALS_INFO_1,*PUSER_MODALS_INFO_1,*LPUSER_MODALS_INFO_1;
|
---|
446 | typedef struct _USER_MODALS_INFO_2 {
|
---|
447 | LPWSTR usrmod2_domain_name;
|
---|
448 | PSID usrmod2_domain_id;
|
---|
449 | }USER_MODALS_INFO_2,*PUSER_MODALS_INFO_2,*LPUSER_MODALS_INFO_2;
|
---|
450 | typedef struct _USER_MODALS_INFO_3 {
|
---|
451 | DWORD usrmod3_lockout_duration;
|
---|
452 | DWORD usrmod3_lockout_observation_window;
|
---|
453 | DWORD usrmod3_lockout_threshold;
|
---|
454 | }USER_MODALS_INFO_3,*PUSER_MODALS_INFO_3,*LPUSER_MODALS_INFO_3;
|
---|
455 | typedef struct _USER_MODALS_INFO_1001 {
|
---|
456 | DWORD usrmod1001_min_passwd_len;
|
---|
457 | } USER_MODALS_INFO_1001,*PUSER_MODALS_INFO_1001,*LPUSER_MODALS_INFO_1001;
|
---|
458 | typedef struct _USER_MODALS_INFO_1002 {
|
---|
459 | DWORD usrmod1002_max_passwd_age;
|
---|
460 | } USER_MODALS_INFO_1002,*PUSER_MODALS_INFO_1002,*LPUSER_MODALS_INFO_1002;
|
---|
461 | typedef struct _USER_MODALS_INFO_1003 {
|
---|
462 | DWORD usrmod1003_min_passwd_age;
|
---|
463 | } USER_MODALS_INFO_1003,*PUSER_MODALS_INFO_1003,*LPUSER_MODALS_INFO_1003;
|
---|
464 | typedef struct _USER_MODALS_INFO_1004 {
|
---|
465 | DWORD usrmod1004_force_logoff;
|
---|
466 | } USER_MODALS_INFO_1004,*PUSER_MODALS_INFO_1004,*LPUSER_MODALS_INFO_1004;
|
---|
467 | typedef struct _USER_MODALS_INFO_1005 {
|
---|
468 | DWORD usrmod1005_password_hist_len;
|
---|
469 | } USER_MODALS_INFO_1005,*PUSER_MODALS_INFO_1005,*LPUSER_MODALS_INFO_1005;
|
---|
470 | typedef struct _USER_MODALS_INFO_1006 {
|
---|
471 | DWORD usrmod1006_role;
|
---|
472 | } USER_MODALS_INFO_1006,*PUSER_MODALS_INFO_1006,*LPUSER_MODALS_INFO_1006;
|
---|
473 | typedef struct _USER_MODALS_INFO_1007 {
|
---|
474 | LPWSTR usrmod1007_primary;
|
---|
475 | } USER_MODALS_INFO_1007,*PUSER_MODALS_INFO_1007,*LPUSER_MODALS_INFO_1007;
|
---|
476 | typedef struct _GROUP_INFO_0 {
|
---|
477 | LPWSTR grpi0_name;
|
---|
478 | }GROUP_INFO_0,*PGROUP_INFO_0,*LPGROUP_INFO_0;
|
---|
479 | typedef struct _GROUP_INFO_1 {
|
---|
480 | LPWSTR grpi1_name;
|
---|
481 | LPWSTR grpi1_comment;
|
---|
482 | }GROUP_INFO_1,*PGROUP_INFO_1,*LPGROUP_INFO_1;
|
---|
483 | typedef struct _GROUP_INFO_2 {
|
---|
484 | LPWSTR grpi2_name;
|
---|
485 | LPWSTR grpi2_comment;
|
---|
486 | DWORD grpi2_group_id;
|
---|
487 | DWORD grpi2_attributes;
|
---|
488 | }GROUP_INFO_2,*PGROUP_INFO_2;
|
---|
489 | typedef struct _GROUP_INFO_3 {
|
---|
490 | LPWSTR grpi3_name;
|
---|
491 | LPWSTR grpi3_comment;
|
---|
492 | PSID grpi3_group_sid;
|
---|
493 | DWORD grpi3_attributes;
|
---|
494 | }GROUP_INFO_3,*PGROUP_INFO_3;
|
---|
495 | typedef struct _GROUP_INFO_1002 {
|
---|
496 | LPWSTR grpi1002_comment;
|
---|
497 | } GROUP_INFO_1002,*PGROUP_INFO_1002,*LPGROUP_INFO_1002;
|
---|
498 | typedef struct _GROUP_INFO_1005 {
|
---|
499 | DWORD grpi1005_attributes;
|
---|
500 | } GROUP_INFO_1005,*PGROUP_INFO_1005,*LPGROUP_INFO_1005;
|
---|
501 | typedef struct _GROUP_USERS_INFO_0 {
|
---|
502 | LPWSTR grui0_name;
|
---|
503 | } GROUP_USERS_INFO_0,*PGROUP_USERS_INFO_0,*LPGROUP_USERS_INFO_0;
|
---|
504 | typedef struct _GROUP_USERS_INFO_1 {
|
---|
505 | LPWSTR grui1_name;
|
---|
506 | DWORD grui1_attributes;
|
---|
507 | } GROUP_USERS_INFO_1,*PGROUP_USERS_INFO_1,*LPGROUP_USERS_INFO_1;
|
---|
508 | typedef struct _LOCALGROUP_INFO_0 {
|
---|
509 | LPWSTR lgrpi0_name;
|
---|
510 | }LOCALGROUP_INFO_0,*PLOCALGROUP_INFO_0,*LPLOCALGROUP_INFO_0;
|
---|
511 | typedef struct _LOCALGROUP_INFO_1 {
|
---|
512 | LPWSTR lgrpi1_name;
|
---|
513 | LPWSTR lgrpi1_comment;
|
---|
514 | }LOCALGROUP_INFO_1,*PLOCALGROUP_INFO_1,*LPLOCALGROUP_INFO_1;
|
---|
515 | typedef struct _LOCALGROUP_INFO_1002 {
|
---|
516 | LPWSTR lgrpi1002_comment;
|
---|
517 | }LOCALGROUP_INFO_1002,*PLOCALGROUP_INFO_1002,*LPLOCALGROUP_INFO_1002;
|
---|
518 | typedef struct _LOCALGROUP_MEMBERS_INFO_0 {
|
---|
519 | PSID lgrmi0_sid;
|
---|
520 | } LOCALGROUP_MEMBERS_INFO_0,*PLOCALGROUP_MEMBERS_INFO_0,*LPLOCALGROUP_MEMBERS_INFO_0;
|
---|
521 | typedef struct _LOCALGROUP_MEMBERS_INFO_1 {
|
---|
522 | PSID lgrmi1_sid;
|
---|
523 | SID_NAME_USE lgrmi1_sidusage;
|
---|
524 | LPWSTR lgrmi1_name;
|
---|
525 | } LOCALGROUP_MEMBERS_INFO_1,*PLOCALGROUP_MEMBERS_INFO_1,*LPLOCALGROUP_MEMBERS_INFO_1;
|
---|
526 | typedef struct _LOCALGROUP_MEMBERS_INFO_2 {
|
---|
527 | PSID lgrmi2_sid;
|
---|
528 | SID_NAME_USE lgrmi2_sidusage;
|
---|
529 | LPWSTR lgrmi2_domainandname;
|
---|
530 | } LOCALGROUP_MEMBERS_INFO_2,*PLOCALGROUP_MEMBERS_INFO_2,*LPLOCALGROUP_MEMBERS_INFO_2;
|
---|
531 | typedef struct _LOCALGROUP_MEMBERS_INFO_3 {
|
---|
532 | LPWSTR lgrmi3_domainandname;
|
---|
533 | } LOCALGROUP_MEMBERS_INFO_3,*PLOCALGROUP_MEMBERS_INFO_3,
|
---|
534 | *LPLOCALGROUP_MEMBERS_INFO_3;
|
---|
535 | typedef struct _LOCALGROUP_USERS_INFO_0 {
|
---|
536 | LPWSTR lgrui0_name;
|
---|
537 | } LOCALGROUP_USERS_INFO_0,*PLOCALGROUP_USERS_INFO_0,*LPLOCALGROUP_USERS_INFO_0;
|
---|
538 | typedef struct _NET_DISPLAY_USER {
|
---|
539 | LPWSTR usri1_name;
|
---|
540 | LPWSTR usri1_comment;
|
---|
541 | DWORD usri1_flags;
|
---|
542 | LPWSTR usri1_full_name;
|
---|
543 | DWORD usri1_user_id;
|
---|
544 | DWORD usri1_next_index;
|
---|
545 | } NET_DISPLAY_USER,*PNET_DISPLAY_USER;
|
---|
546 | typedef struct _NET_DISPLAY_MACHINE {
|
---|
547 | LPWSTR usri2_name;
|
---|
548 | LPWSTR usri2_comment;
|
---|
549 | DWORD usri2_flags;
|
---|
550 | DWORD usri2_user_id;
|
---|
551 | DWORD usri2_next_index;
|
---|
552 | } NET_DISPLAY_MACHINE,*PNET_DISPLAY_MACHINE;
|
---|
553 | typedef struct _NET_DISPLAY_GROUP {
|
---|
554 | LPWSTR grpi3_name;
|
---|
555 | LPWSTR grpi3_comment;
|
---|
556 | DWORD grpi3_group_id;
|
---|
557 | DWORD grpi3_attributes;
|
---|
558 | DWORD grpi3_next_index;
|
---|
559 | } NET_DISPLAY_GROUP,*PNET_DISPLAY_GROUP;
|
---|
560 | typedef struct _ACCESS_INFO_0 {
|
---|
561 | LPTSTR acc0_resource_name;
|
---|
562 | }ACCESS_INFO_0,*PACCESS_INFO_0,*LPACCESS_INFO_0;
|
---|
563 | typedef struct _ACCESS_INFO_1 {
|
---|
564 | LPTSTR acc1_resource_name;
|
---|
565 | DWORD acc1_attr;
|
---|
566 | DWORD acc1_count;
|
---|
567 | }ACCESS_INFO_1,*PACCESS_INFO_1,*LPACCESS_INFO_1;
|
---|
568 | typedef struct _ACCESS_INFO_1002 {
|
---|
569 | DWORD acc1002_attr;
|
---|
570 | } ACCESS_INFO_1002,*PACCESS_INFO_1002,*LPACCESS_INFO_1002;
|
---|
571 | typedef struct _ACCESS_LIST {
|
---|
572 | LPTSTR acl_ugname;
|
---|
573 | DWORD acl_access;
|
---|
574 | }ACCESS_LIST,*PACCESS_LIST,*LPACCESS_LIST;
|
---|
575 | typedef struct _NETLOGON_INFO_1 {
|
---|
576 | DWORD netlog1_flags;
|
---|
577 | NET_API_STATUS netlog1_pdc_connection_status;
|
---|
578 | } NETLOGON_INFO_1,*PNETLOGON_INFO_1;
|
---|
579 | typedef struct _NETLOGON_INFO_2 {
|
---|
580 | DWORD netlog2_flags;
|
---|
581 | NET_API_STATUS netlog2_pdc_connection_status;
|
---|
582 | LPWSTR netlog2_trusted_dc_name;
|
---|
583 | NET_API_STATUS netlog2_tc_connection_status;
|
---|
584 | } NETLOGON_INFO_2,*PNETLOGON_INFO_2;
|
---|
585 | typedef struct _NETLOGON_INFO_3 {
|
---|
586 | DWORD netlog3_flags;
|
---|
587 | DWORD netlog3_logon_attempts;
|
---|
588 | DWORD netlog3_reserved1;
|
---|
589 | DWORD netlog3_reserved2;
|
---|
590 | DWORD netlog3_reserved3;
|
---|
591 | DWORD netlog3_reserved4;
|
---|
592 | DWORD netlog3_reserved5;
|
---|
593 | } NETLOGON_INFO_3,*PNETLOGON_INFO_3;
|
---|
594 |
|
---|
595 | #if 0
|
---|
596 | /* MS has these defined, but the RxNetAccessXX functions aren't documented nor do
|
---|
597 | they exist in any headers */
|
---|
598 | #define NetAccessAdd RxNetAccessAdd
|
---|
599 | #define NetAccessEnum RxNetAccessEnum
|
---|
600 | #define NetAccessGetInfo RxNetAccessGetInfo
|
---|
601 | #define NetAccessSetInfo RxNetAccessSetInfo
|
---|
602 | #define NetAccessDel RxNetAccessDel
|
---|
603 | #define NetAccessGetUserPerms RxNetAccessGetUserPerms
|
---|
604 | /* These are obsolete */
|
---|
605 | NET_API_STATUS WINAPI NetAccessAdd(LPCWSTR,DWORD,PBYTE,PDWORD);
|
---|
606 | NET_API_STATUS WINAPI NetAccessEnum(LPCWSTR,LPCWSTR,DWORD,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD);
|
---|
607 | NET_API_STATUS WINAPI NetAccessGetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE*);
|
---|
608 | NET_API_STATUS WINAPI NetAccessSetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE,PDWORD);
|
---|
609 | NET_API_STATUS WINAPI NetAccessDel(LPCWSTR,LPCWSTR);
|
---|
610 | NET_API_STATUS WINAPI NetAccessGetUserPerms(LPCWSTR,LPCWSTR,LPCWSTR,PDWORD);
|
---|
611 | #endif
|
---|
612 |
|
---|
613 | NET_API_STATUS WINAPI NetUserAdd(LPCWSTR,DWORD,PBYTE,PDWORD);
|
---|
614 | NET_API_STATUS WINAPI NetUserEnum(LPCWSTR,DWORD,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD);
|
---|
615 | NET_API_STATUS WINAPI NetUserGetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE*);
|
---|
616 | NET_API_STATUS WINAPI NetUserSetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE,PDWORD);
|
---|
617 | NET_API_STATUS WINAPI NetUserDel(LPCWSTR,LPCWSTR);
|
---|
618 | NET_API_STATUS WINAPI NetUserGetGroups(LPCWSTR,LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD);
|
---|
619 | NET_API_STATUS WINAPI NetUserSetGroups(LPCWSTR,LPCWSTR,DWORD,PBYTE,DWORD);
|
---|
620 | NET_API_STATUS WINAPI NetUserGetLocalGroups(LPCWSTR,LPCWSTR,DWORD,DWORD,PBYTE*,DWORD,PDWORD,PDWORD);
|
---|
621 | NET_API_STATUS WINAPI NetUserModalsGet(LPCWSTR,DWORD,PBYTE*);
|
---|
622 | NET_API_STATUS WINAPI NetUserModalsSet(LPCWSTR,DWORD,PBYTE,PDWORD);
|
---|
623 | NET_API_STATUS WINAPI NetUserChangePassword(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR);
|
---|
624 | NET_API_STATUS WINAPI NetGroupAdd(LPCWSTR,DWORD,PBYTE,PDWORD);
|
---|
625 | NET_API_STATUS WINAPI NetGroupAddUser(LPCWSTR,LPCWSTR,LPCWSTR);
|
---|
626 | NET_API_STATUS WINAPI NetGroupEnum(LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD);
|
---|
627 | NET_API_STATUS WINAPI NetGroupGetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE*);
|
---|
628 | NET_API_STATUS WINAPI NetGroupSetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE,PDWORD);
|
---|
629 | NET_API_STATUS WINAPI NetGroupDel(LPCWSTR,LPCWSTR);
|
---|
630 | NET_API_STATUS WINAPI NetGroupDelUser(LPCWSTR,LPCWSTR,LPCWSTR);
|
---|
631 | NET_API_STATUS WINAPI NetGroupGetUsers(LPCWSTR,LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD);
|
---|
632 | NET_API_STATUS WINAPI NetGroupSetUsers(LPCWSTR,LPCWSTR,DWORD,PBYTE,DWORD);
|
---|
633 | NET_API_STATUS WINAPI NetLocalGroupAdd(LPCWSTR,DWORD,PBYTE,PDWORD);
|
---|
634 | NET_API_STATUS WINAPI NetLocalGroupAddMember(LPCWSTR,LPCWSTR,PSID);
|
---|
635 | NET_API_STATUS WINAPI NetLocalGroupEnum(LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD);
|
---|
636 | NET_API_STATUS WINAPI NetLocalGroupGetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE*);
|
---|
637 | NET_API_STATUS WINAPI NetLocalGroupSetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE,PDWORD);
|
---|
638 | NET_API_STATUS WINAPI NetLocalGroupDel(LPCWSTR,LPCWSTR);
|
---|
639 | NET_API_STATUS WINAPI NetLocalGroupDelMember(LPCWSTR,LPCWSTR,PSID);
|
---|
640 | NET_API_STATUS WINAPI NetLocalGroupGetMembers(LPCWSTR,LPCWSTR,DWORD,PBYTE*,DWORD,
|
---|
641 | PDWORD,PDWORD,PDWORD);
|
---|
642 | NET_API_STATUS WINAPI NetLocalGroupSetMembers(LPCWSTR,LPCWSTR,DWORD,PBYTE,DWORD);
|
---|
643 | NET_API_STATUS WINAPI NetLocalGroupAddMembers(LPCWSTR,LPCWSTR,DWORD,PBYTE,DWORD);
|
---|
644 | NET_API_STATUS WINAPI NetLocalGroupDelMembers(LPCWSTR,LPCWSTR,DWORD,PBYTE,DWORD);
|
---|
645 | NET_API_STATUS WINAPI NetQueryDisplayInformation(LPCWSTR,DWORD,DWORD,DWORD,DWORD,PDWORD,PVOID*);
|
---|
646 | NET_API_STATUS WINAPI NetGetDisplayInformationIndex(LPCWSTR,DWORD,LPCWSTR,PDWORD);
|
---|
647 | NET_API_STATUS WINAPI NetGetDCName(LPCWSTR,LPCWSTR,PBYTE*);
|
---|
648 | NET_API_STATUS WINAPI NetGetAnyDCName(LPCWSTR,LPCWSTR,PBYTE*);
|
---|
649 | NET_API_STATUS WINAPI I_NetLogonControl(LPCWSTR,DWORD,DWORD,PBYTE*);
|
---|
650 | NET_API_STATUS WINAPI I_NetLogonControl2(LPCWSTR,DWORD,DWORD,PBYTE,PBYTE*);
|
---|
651 | #ifdef __cplusplus
|
---|
652 | }
|
---|
653 | #endif
|
---|
654 | #endif
|
---|