Re-run make idl.
[sfrench/samba-autobuild/.git] / source3 / librpc / gen_ndr / lsa.h
1 /* header auto-generated by pidl */
2
3 #include <stdint.h>
4
5 #include "librpc/gen_ndr/security.h"
6 #ifndef _HEADER_lsarpc
7 #define _HEADER_lsarpc
8
9 #define LSA_ENUM_TRUST_DOMAIN_MULTIPLIER        ( 60 )
10 #define LSA_REF_DOMAIN_LIST_MULTIPLIER  ( 32 )
11 #define LSA_ENUM_TRUST_DOMAIN_EX_MULTIPLIER     ( 82 )
12 struct lsa_String {
13         uint16_t length;/* [value(2*strlen_m(string))] */
14         uint16_t size;/* [value(2*strlen_m(string))] */
15         const char *string;/* [unique,charset(UTF16),length_is(length/2),size_is(size/2)] */
16 }/* [public,noejs] */;
17
18 struct lsa_StringLarge {
19         uint16_t length;/* [value(2*strlen_m(string))] */
20         uint16_t size;/* [value(2*(strlen_m(string)+1))] */
21         const char *string;/* [unique,charset(UTF16),length_is(length/2),size_is(size/2)] */
22 }/* [public] */;
23
24 struct lsa_Strings {
25         uint32_t count;
26         struct lsa_String *names;/* [unique,size_is(count)] */
27 }/* [public] */;
28
29 struct lsa_AsciiString {
30         uint16_t length;/* [value(strlen_m(string))] */
31         uint16_t size;/* [value(strlen_m(string))] */
32         const char * string;/* [unique,flag(LIBNDR_FLAG_STR_NOTERM|LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_SIZE4|LIBNDR_FLAG_STR_LEN4)] */
33 }/* [public] */;
34
35 struct lsa_LUID {
36         uint32_t low;
37         uint32_t high;
38 };
39
40 struct lsa_PrivEntry {
41         struct lsa_StringLarge name;
42         struct lsa_LUID luid;
43 };
44
45 struct lsa_PrivArray {
46         uint32_t count;
47         struct lsa_PrivEntry *privs;/* [unique,size_is(count)] */
48 };
49
50 struct lsa_QosInfo {
51         uint32_t len;
52         uint16_t impersonation_level;
53         uint8_t context_mode;
54         uint8_t effective_only;
55 };
56
57 struct lsa_ObjectAttribute {
58         uint32_t len;
59         uint8_t *root_dir;/* [unique] */
60         const char *object_name;/* [unique,charset(UTF16)] */
61         uint32_t attributes;
62         struct security_descriptor *sec_desc;/* [unique] */
63         struct lsa_QosInfo *sec_qos;/* [unique] */
64 };
65
66 struct lsa_AuditLogInfo {
67         uint32_t percent_full;
68         uint32_t log_size;
69         NTTIME retention_time;
70         uint8_t shutdown_in_progress;
71         NTTIME time_to_shutdown;
72         uint32_t next_audit_record;
73         uint32_t unknown;
74 };
75
76 enum lsa_PolicyAuditPolicy
77 #ifndef USE_UINT_ENUMS
78  {
79         LSA_AUDIT_POLICY_NONE=0,
80         LSA_AUDIT_POLICY_SUCCESS=1,
81         LSA_AUDIT_POLICY_FAILURE=2,
82         LSA_AUDIT_POLICY_ALL=(LSA_AUDIT_POLICY_SUCCESS|LSA_AUDIT_POLICY_FAILURE),
83         LSA_AUDIT_POLICY_CLEAR=4
84 }
85 #else
86  { __donnot_use_enum_lsa_PolicyAuditPolicy=0x7FFFFFFF}
87 #define LSA_AUDIT_POLICY_NONE ( 0 )
88 #define LSA_AUDIT_POLICY_SUCCESS ( 1 )
89 #define LSA_AUDIT_POLICY_FAILURE ( 2 )
90 #define LSA_AUDIT_POLICY_ALL ( (LSA_AUDIT_POLICY_SUCCESS|LSA_AUDIT_POLICY_FAILURE) )
91 #define LSA_AUDIT_POLICY_CLEAR ( 4 )
92 #endif
93 ;
94
95 enum lsa_PolicyAuditEventType
96 #ifndef USE_UINT_ENUMS
97  {
98         LSA_AUDIT_CATEGORY_SYSTEM=0,
99         LSA_AUDIT_CATEGORY_LOGON=1,
100         LSA_AUDIT_CATEGORY_FILE_AND_OBJECT_ACCESS=2,
101         LSA_AUDIT_CATEGORY_USE_OF_USER_RIGHTS=3,
102         LSA_AUDIT_CATEGORY_PROCCESS_TRACKING=4,
103         LSA_AUDIT_CATEGORY_SECURITY_POLICY_CHANGES=5,
104         LSA_AUDIT_CATEGORY_ACCOUNT_MANAGEMENT=6,
105         LSA_AUDIT_CATEGORY_DIRECTORY_SERVICE_ACCESS=7,
106         LSA_AUDIT_CATEGORY_ACCOUNT_LOGON=8
107 }
108 #else
109  { __donnot_use_enum_lsa_PolicyAuditEventType=0x7FFFFFFF}
110 #define LSA_AUDIT_CATEGORY_SYSTEM ( 0 )
111 #define LSA_AUDIT_CATEGORY_LOGON ( 1 )
112 #define LSA_AUDIT_CATEGORY_FILE_AND_OBJECT_ACCESS ( 2 )
113 #define LSA_AUDIT_CATEGORY_USE_OF_USER_RIGHTS ( 3 )
114 #define LSA_AUDIT_CATEGORY_PROCCESS_TRACKING ( 4 )
115 #define LSA_AUDIT_CATEGORY_SECURITY_POLICY_CHANGES ( 5 )
116 #define LSA_AUDIT_CATEGORY_ACCOUNT_MANAGEMENT ( 6 )
117 #define LSA_AUDIT_CATEGORY_DIRECTORY_SERVICE_ACCESS ( 7 )
118 #define LSA_AUDIT_CATEGORY_ACCOUNT_LOGON ( 8 )
119 #endif
120 ;
121
122 struct lsa_AuditEventsInfo {
123         uint32_t auditing_mode;
124         enum lsa_PolicyAuditPolicy *settings;/* [unique,size_is(count)] */
125         uint32_t count;
126 };
127
128 struct lsa_DomainInfo {
129         struct lsa_StringLarge name;
130         struct dom_sid2 *sid;/* [unique] */
131 };
132
133 struct lsa_PDAccountInfo {
134         struct lsa_String name;
135 };
136
137 struct lsa_ServerRole {
138         uint16_t unknown;
139         uint16_t role;
140 };
141
142 struct lsa_ReplicaSourceInfo {
143         struct lsa_String source;
144         struct lsa_String account;
145 };
146
147 struct lsa_DefaultQuotaInfo {
148         uint32_t paged_pool;
149         uint32_t non_paged_pool;
150         uint32_t min_wss;
151         uint32_t max_wss;
152         uint32_t pagefile;
153         uint64_t unknown;
154 };
155
156 struct lsa_ModificationInfo {
157         uint64_t modified_id;
158         NTTIME db_create_time;
159 };
160
161 struct lsa_AuditFullSetInfo {
162         uint8_t shutdown_on_full;
163 };
164
165 struct lsa_AuditFullQueryInfo {
166         uint16_t unknown;
167         uint8_t shutdown_on_full;
168         uint8_t log_is_full;
169 };
170
171 struct lsa_DnsDomainInfo {
172         struct lsa_StringLarge name;
173         struct lsa_StringLarge dns_domain;
174         struct lsa_StringLarge dns_forest;
175         struct GUID domain_guid;
176         struct dom_sid2 *sid;/* [unique] */
177 };
178
179 enum lsa_PolicyInfo
180 #ifndef USE_UINT_ENUMS
181  {
182         LSA_POLICY_INFO_AUDIT_LOG=1,
183         LSA_POLICY_INFO_AUDIT_EVENTS=2,
184         LSA_POLICY_INFO_DOMAIN=3,
185         LSA_POLICY_INFO_PD=4,
186         LSA_POLICY_INFO_ACCOUNT_DOMAIN=5,
187         LSA_POLICY_INFO_ROLE=6,
188         LSA_POLICY_INFO_REPLICA=7,
189         LSA_POLICY_INFO_QUOTA=8,
190         LSA_POLICY_INFO_DB=9,
191         LSA_POLICY_INFO_AUDIT_FULL_SET=10,
192         LSA_POLICY_INFO_AUDIT_FULL_QUERY=11,
193         LSA_POLICY_INFO_DNS=12
194 }
195 #else
196  { __donnot_use_enum_lsa_PolicyInfo=0x7FFFFFFF}
197 #define LSA_POLICY_INFO_AUDIT_LOG ( 1 )
198 #define LSA_POLICY_INFO_AUDIT_EVENTS ( 2 )
199 #define LSA_POLICY_INFO_DOMAIN ( 3 )
200 #define LSA_POLICY_INFO_PD ( 4 )
201 #define LSA_POLICY_INFO_ACCOUNT_DOMAIN ( 5 )
202 #define LSA_POLICY_INFO_ROLE ( 6 )
203 #define LSA_POLICY_INFO_REPLICA ( 7 )
204 #define LSA_POLICY_INFO_QUOTA ( 8 )
205 #define LSA_POLICY_INFO_DB ( 9 )
206 #define LSA_POLICY_INFO_AUDIT_FULL_SET ( 10 )
207 #define LSA_POLICY_INFO_AUDIT_FULL_QUERY ( 11 )
208 #define LSA_POLICY_INFO_DNS ( 12 )
209 #endif
210 ;
211
212 union lsa_PolicyInformation {
213         struct lsa_AuditLogInfo audit_log;/* [case(LSA_POLICY_INFO_AUDIT_LOG)] */
214         struct lsa_AuditEventsInfo audit_events;/* [case(LSA_POLICY_INFO_AUDIT_EVENTS)] */
215         struct lsa_DomainInfo domain;/* [case(LSA_POLICY_INFO_DOMAIN)] */
216         struct lsa_PDAccountInfo pd;/* [case(LSA_POLICY_INFO_PD)] */
217         struct lsa_DomainInfo account_domain;/* [case(LSA_POLICY_INFO_ACCOUNT_DOMAIN)] */
218         struct lsa_ServerRole role;/* [case(LSA_POLICY_INFO_ROLE)] */
219         struct lsa_ReplicaSourceInfo replica;/* [case(LSA_POLICY_INFO_REPLICA)] */
220         struct lsa_DefaultQuotaInfo quota;/* [case(LSA_POLICY_INFO_QUOTA)] */
221         struct lsa_ModificationInfo db;/* [case(LSA_POLICY_INFO_DB)] */
222         struct lsa_AuditFullSetInfo auditfullset;/* [case(LSA_POLICY_INFO_AUDIT_FULL_SET)] */
223         struct lsa_AuditFullQueryInfo auditfullquery;/* [case(LSA_POLICY_INFO_AUDIT_FULL_QUERY)] */
224         struct lsa_DnsDomainInfo dns;/* [case(LSA_POLICY_INFO_DNS)] */
225 }/* [switch_type(uint16)] */;
226
227 struct lsa_SidPtr {
228         struct dom_sid2 *sid;/* [unique] */
229 };
230
231 struct lsa_SidArray {
232         uint32_t num_sids;/* [range(0,1000)] */
233         struct lsa_SidPtr *sids;/* [unique,size_is(num_sids)] */
234 }/* [public] */;
235
236 struct lsa_DomainList {
237         uint32_t count;
238         struct lsa_DomainInfo *domains;/* [unique,size_is(count)] */
239 };
240
241 enum lsa_SidType
242 #ifndef USE_UINT_ENUMS
243  {
244         SID_NAME_USE_NONE=0,
245         SID_NAME_USER=1,
246         SID_NAME_DOM_GRP=2,
247         SID_NAME_DOMAIN=3,
248         SID_NAME_ALIAS=4,
249         SID_NAME_WKN_GRP=5,
250         SID_NAME_DELETED=6,
251         SID_NAME_INVALID=7,
252         SID_NAME_UNKNOWN=8,
253         SID_NAME_COMPUTER=9
254 }
255 #else
256  { __donnot_use_enum_lsa_SidType=0x7FFFFFFF}
257 #define SID_NAME_USE_NONE ( 0 )
258 #define SID_NAME_USER ( 1 )
259 #define SID_NAME_DOM_GRP ( 2 )
260 #define SID_NAME_DOMAIN ( 3 )
261 #define SID_NAME_ALIAS ( 4 )
262 #define SID_NAME_WKN_GRP ( 5 )
263 #define SID_NAME_DELETED ( 6 )
264 #define SID_NAME_INVALID ( 7 )
265 #define SID_NAME_UNKNOWN ( 8 )
266 #define SID_NAME_COMPUTER ( 9 )
267 #endif
268 ;
269
270 struct lsa_TranslatedSid {
271         enum lsa_SidType sid_type;
272         uint32_t rid;
273         uint32_t sid_index;
274 };
275
276 struct lsa_TransSidArray {
277         uint32_t count;/* [range(0,1000)] */
278         struct lsa_TranslatedSid *sids;/* [unique,size_is(count)] */
279 };
280
281 struct lsa_RefDomainList {
282         uint32_t count;/* [range(0,1000)] */
283         struct lsa_DomainInfo *domains;/* [unique,size_is(count)] */
284         uint32_t max_size;
285 };
286
287 enum lsa_LookupNamesLevel
288 #ifndef USE_UINT_ENUMS
289  {
290         LSA_LOOKUP_NAMES_ALL=1,
291         LSA_LOOKUP_NAMES_DOMAINS_ONLY=2,
292         LSA_LOOKUP_NAMES_PRIMARY_DOMAIN_ONLY=3,
293         LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY=4,
294         LSA_LOOKUP_NAMES_FOREST_TRUSTS_ONLY=5,
295         LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY2=6
296 }
297 #else
298  { __donnot_use_enum_lsa_LookupNamesLevel=0x7FFFFFFF}
299 #define LSA_LOOKUP_NAMES_ALL ( 1 )
300 #define LSA_LOOKUP_NAMES_DOMAINS_ONLY ( 2 )
301 #define LSA_LOOKUP_NAMES_PRIMARY_DOMAIN_ONLY ( 3 )
302 #define LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY ( 4 )
303 #define LSA_LOOKUP_NAMES_FOREST_TRUSTS_ONLY ( 5 )
304 #define LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY2 ( 6 )
305 #endif
306 ;
307
308 struct lsa_TranslatedName {
309         enum lsa_SidType sid_type;
310         struct lsa_String name;
311         uint32_t sid_index;
312 };
313
314 struct lsa_TransNameArray {
315         uint32_t count;/* [range(0,1000)] */
316         struct lsa_TranslatedName *names;/* [unique,size_is(count)] */
317 };
318
319 struct lsa_LUIDAttribute {
320         struct lsa_LUID luid;
321         uint32_t attribute;
322 };
323
324 struct lsa_PrivilegeSet {
325         uint32_t count;/* [range(0,1000)] */
326         uint32_t unknown;
327         struct lsa_LUIDAttribute *set;/* [size_is(count)] */
328 };
329
330 struct lsa_DATA_BUF {
331         uint32_t length;
332         uint32_t size;
333         uint8_t *data;/* [unique,length_is(length),size_is(size)] */
334 }/* [flag(LIBNDR_PRINT_ARRAY_HEX)] */;
335
336 struct lsa_DATA_BUF2 {
337         uint32_t size;/* [range(0,65536)] */
338         uint8_t *data;/* [unique,size_is(size)] */
339 }/* [flag(LIBNDR_PRINT_ARRAY_HEX)] */;
340
341 enum lsa_TrustDomInfoEnum
342 #ifndef USE_UINT_ENUMS
343  {
344         LSA_TRUSTED_DOMAIN_INFO_NAME=1,
345         LSA_TRUSTED_DOMAIN_INFO_CONTROLLERS_INFO=2,
346         LSA_TRUSTED_DOMAIN_INFO_POSIX_OFFSET=3,
347         LSA_TRUSTED_DOMAIN_INFO_PASSWORD=4,
348         LSA_TRUSTED_DOMAIN_INFO_BASIC=5,
349         LSA_TRUSTED_DOMAIN_INFO_INFO_EX=6,
350         LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO=7,
351         LSA_TRUSTED_DOMAIN_INFO_FULL_INFO=8,
352         LSA_TRUSTED_DOMAIN_INFO_11=11,
353         LSA_TRUSTED_DOMAIN_INFO_INFO_ALL=12
354 }
355 #else
356  { __donnot_use_enum_lsa_TrustDomInfoEnum=0x7FFFFFFF}
357 #define LSA_TRUSTED_DOMAIN_INFO_NAME ( 1 )
358 #define LSA_TRUSTED_DOMAIN_INFO_CONTROLLERS_INFO ( 2 )
359 #define LSA_TRUSTED_DOMAIN_INFO_POSIX_OFFSET ( 3 )
360 #define LSA_TRUSTED_DOMAIN_INFO_PASSWORD ( 4 )
361 #define LSA_TRUSTED_DOMAIN_INFO_BASIC ( 5 )
362 #define LSA_TRUSTED_DOMAIN_INFO_INFO_EX ( 6 )
363 #define LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO ( 7 )
364 #define LSA_TRUSTED_DOMAIN_INFO_FULL_INFO ( 8 )
365 #define LSA_TRUSTED_DOMAIN_INFO_11 ( 11 )
366 #define LSA_TRUSTED_DOMAIN_INFO_INFO_ALL ( 12 )
367 #endif
368 ;
369
370 struct lsa_TrustDomainInfoName {
371         struct lsa_StringLarge netbios_name;
372 };
373
374 struct lsa_TrustDomainInfoPosixOffset {
375         uint32_t posix_offset;
376 };
377
378 struct lsa_TrustDomainInfoPassword {
379         struct lsa_DATA_BUF *password;/* [unique] */
380         struct lsa_DATA_BUF *old_password;/* [unique] */
381 };
382
383 struct lsa_TrustDomainInfoBasic {
384         struct lsa_String netbios_name;
385         struct dom_sid2 *sid;/* [unique] */
386 };
387
388 struct lsa_TrustDomainInfoInfoEx {
389         struct lsa_StringLarge domain_name;
390         struct lsa_StringLarge netbios_name;
391         struct dom_sid2 *sid;/* [unique] */
392         uint32_t trust_direction;
393         uint32_t trust_type;
394         uint32_t trust_attributes;
395 };
396
397 struct lsa_TrustDomainInfoBuffer {
398         NTTIME last_update_time;
399         uint32_t secret_type;
400         struct lsa_DATA_BUF2 data;
401 };
402
403 struct lsa_TrustDomainInfoAuthInfo {
404         uint32_t incoming_count;
405         struct lsa_TrustDomainInfoBuffer *incoming_current_auth_info;/* [unique] */
406         struct lsa_TrustDomainInfoBuffer *incoming_previous_auth_info;/* [unique] */
407         uint32_t outgoing_count;
408         struct lsa_TrustDomainInfoBuffer *outgoing_current_auth_info;/* [unique] */
409         struct lsa_TrustDomainInfoBuffer *outgoing_previous_auth_info;/* [unique] */
410 };
411
412 struct lsa_TrustDomainInfoFullInfo {
413         struct lsa_TrustDomainInfoInfoEx info_ex;
414         struct lsa_TrustDomainInfoPosixOffset posix_offset;
415         struct lsa_TrustDomainInfoAuthInfo auth_info;
416 };
417
418 struct lsa_TrustDomainInfo11 {
419         struct lsa_TrustDomainInfoInfoEx info_ex;
420         struct lsa_DATA_BUF2 data1;
421 };
422
423 struct lsa_TrustDomainInfoInfoAll {
424         struct lsa_TrustDomainInfoInfoEx info_ex;
425         struct lsa_DATA_BUF2 data1;
426         struct lsa_TrustDomainInfoPosixOffset posix_offset;
427         struct lsa_TrustDomainInfoAuthInfo auth_info;
428 };
429
430 union lsa_TrustedDomainInfo {
431         struct lsa_TrustDomainInfoName name;/* [case(LSA_TRUSTED_DOMAIN_INFO_NAME)] */
432         struct lsa_TrustDomainInfoPosixOffset posix_offset;/* [case(LSA_TRUSTED_DOMAIN_INFO_POSIX_OFFSET)] */
433         struct lsa_TrustDomainInfoPassword password;/* [case(LSA_TRUSTED_DOMAIN_INFO_PASSWORD)] */
434         struct lsa_TrustDomainInfoBasic info_basic;/* [case(LSA_TRUSTED_DOMAIN_INFO_BASIC)] */
435         struct lsa_TrustDomainInfoInfoEx info_ex;/* [case(LSA_TRUSTED_DOMAIN_INFO_INFO_EX)] */
436         struct lsa_TrustDomainInfoAuthInfo auth_info;/* [case(LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO)] */
437         struct lsa_TrustDomainInfoFullInfo full_info;/* [case(LSA_TRUSTED_DOMAIN_INFO_FULL_INFO)] */
438         struct lsa_TrustDomainInfo11 info11;/* [case(LSA_TRUSTED_DOMAIN_INFO_11)] */
439         struct lsa_TrustDomainInfoInfoAll info_all;/* [case(LSA_TRUSTED_DOMAIN_INFO_INFO_ALL)] */
440 }/* [switch_type(lsa_TrustDomInfoEnum)] */;
441
442 struct lsa_DATA_BUF_PTR {
443         struct lsa_DATA_BUF *buf;/* [unique] */
444 };
445
446 struct lsa_RightAttribute {
447         const char *name;/* [unique,charset(UTF16)] */
448 };
449
450 struct lsa_RightSet {
451         uint32_t count;
452         struct lsa_StringLarge *names;/* [unique,size_is(count)] */
453 };
454
455 struct lsa_StringPointer {
456         struct lsa_String *string;/* [unique] */
457 };
458
459 struct lsa_DomainListEx {
460         uint32_t count;
461         struct lsa_TrustDomainInfoInfoEx *domains;/* [unique,size_is(count)] */
462 };
463
464 struct lsa_DomainInfoKerberos {
465         uint32_t enforce_restrictions;
466         uint64_t service_tkt_lifetime;
467         uint64_t user_tkt_lifetime;
468         uint64_t user_tkt_renewaltime;
469         uint64_t clock_skew;
470         uint64_t unknown6;
471 };
472
473 struct lsa_DomainInfoEfs {
474         uint32_t blob_size;
475         uint8_t *efs_blob;/* [unique,size_is(blob_size)] */
476 };
477
478 enum lsa_DomainInfoEnum
479 #ifndef USE_UINT_ENUMS
480  {
481         LSA_DOMAIN_INFO_POLICY_EFS=2,
482         LSA_DOMAIN_INFO_POLICY_KERBEROS=3
483 }
484 #else
485  { __donnot_use_enum_lsa_DomainInfoEnum=0x7FFFFFFF}
486 #define LSA_DOMAIN_INFO_POLICY_EFS ( 2 )
487 #define LSA_DOMAIN_INFO_POLICY_KERBEROS ( 3 )
488 #endif
489 ;
490
491 union lsa_DomainInformationPolicy {
492         struct lsa_DomainInfoEfs efs_info;/* [case(LSA_DOMAIN_INFO_POLICY_EFS)] */
493         struct lsa_DomainInfoKerberos kerberos_info;/* [case(LSA_DOMAIN_INFO_POLICY_KERBEROS)] */
494 }/* [switch_type(uint16)] */;
495
496 struct lsa_TranslatedName2 {
497         enum lsa_SidType sid_type;
498         struct lsa_String name;
499         uint32_t sid_index;
500         uint32_t unknown;
501 };
502
503 struct lsa_TransNameArray2 {
504         uint32_t count;/* [range(0,1000)] */
505         struct lsa_TranslatedName2 *names;/* [unique,size_is(count)] */
506 };
507
508 struct lsa_TranslatedSid2 {
509         enum lsa_SidType sid_type;
510         uint32_t rid;
511         uint32_t sid_index;
512         uint32_t unknown;
513 };
514
515 struct lsa_TransSidArray2 {
516         uint32_t count;/* [range(0,1000)] */
517         struct lsa_TranslatedSid2 *sids;/* [unique,size_is(count)] */
518 };
519
520 struct lsa_TranslatedSid3 {
521         enum lsa_SidType sid_type;
522         struct dom_sid2 *sid;/* [unique] */
523         uint32_t sid_index;
524         uint32_t unknown;
525 };
526
527 struct lsa_TransSidArray3 {
528         uint32_t count;/* [range(0,1000)] */
529         struct lsa_TranslatedSid3 *sids;/* [unique,size_is(count)] */
530 };
531
532 struct lsa_ForestTrustBinaryData {
533         uint32_t length;/* [range(0,131072)] */
534         uint8_t *data;/* [unique,size_is(length)] */
535 };
536
537 struct lsa_ForestTrustDomainInfo {
538         struct dom_sid2 *domain_sid;/* [unique] */
539         struct lsa_StringLarge dns_domain_name;
540         struct lsa_StringLarge netbios_domain_name;
541 };
542
543 union lsa_ForestTrustData {
544         struct lsa_String top_level_name;/* [case(LSA_FOREST_TRUST_TOP_LEVEL_NAME)] */
545         struct lsa_StringLarge top_level_name_ex;/* [case(LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX)] */
546         struct lsa_ForestTrustDomainInfo domain_info;/* [case(LSA_FOREST_TRUST_DOMAIN_INFO)] */
547         struct lsa_ForestTrustBinaryData data;/* [default] */
548 }/* [switch_type(uint32)] */;
549
550 enum lsa_ForestTrustRecordType
551 #ifndef USE_UINT_ENUMS
552  {
553         LSA_FOREST_TRUST_TOP_LEVEL_NAME=0,
554         LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX=1,
555         LSA_FOREST_TRUST_DOMAIN_INFO=2,
556         LSA_FOREST_TRUST_RECORD_TYPE_LAST=3
557 }
558 #else
559  { __donnot_use_enum_lsa_ForestTrustRecordType=0x7FFFFFFF}
560 #define LSA_FOREST_TRUST_TOP_LEVEL_NAME ( 0 )
561 #define LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX ( 1 )
562 #define LSA_FOREST_TRUST_DOMAIN_INFO ( 2 )
563 #define LSA_FOREST_TRUST_RECORD_TYPE_LAST ( 3 )
564 #endif
565 ;
566
567 struct lsa_ForestTrustRecord {
568         uint32_t flags;
569         enum lsa_ForestTrustRecordType level;
570         uint64_t unknown;
571         union lsa_ForestTrustData forest_trust_data;/* [switch_is(level)] */
572 };
573
574 struct lsa_ForestTrustInformation {
575         uint32_t count;/* [range(0,4000)] */
576         struct lsa_ForestTrustRecord **entries;/* [unique,size_is(count)] */
577 }/* [public] */;
578
579
580 struct lsa_Close {
581         struct {
582                 struct policy_handle *handle;/* [ref] */
583         } in;
584
585         struct {
586                 struct policy_handle *handle;/* [ref] */
587                 NTSTATUS result;
588         } out;
589
590 };
591
592
593 struct lsa_Delete {
594         struct {
595                 struct policy_handle *handle;/* [ref] */
596         } in;
597
598         struct {
599                 NTSTATUS result;
600         } out;
601
602 };
603
604
605 struct lsa_EnumPrivs {
606         struct {
607                 struct policy_handle *handle;/* [ref] */
608                 uint32_t max_count;
609                 uint32_t *resume_handle;/* [ref] */
610         } in;
611
612         struct {
613                 struct lsa_PrivArray *privs;/* [ref] */
614                 uint32_t *resume_handle;/* [ref] */
615                 NTSTATUS result;
616         } out;
617
618 };
619
620
621 struct lsa_QuerySecurity {
622         struct {
623                 struct policy_handle *handle;/* [ref] */
624                 uint32_t sec_info;
625         } in;
626
627         struct {
628                 struct sec_desc_buf **sdbuf;/* [ref] */
629                 NTSTATUS result;
630         } out;
631
632 };
633
634
635 struct lsa_SetSecObj {
636         struct {
637                 struct policy_handle *handle;/* [ref] */
638                 uint32_t sec_info;
639                 struct sec_desc_buf *sdbuf;/* [ref] */
640         } in;
641
642         struct {
643                 NTSTATUS result;
644         } out;
645
646 };
647
648
649 struct lsa_ChangePassword {
650         struct {
651                 NTSTATUS result;
652         } out;
653
654 };
655
656
657 struct lsa_OpenPolicy {
658         struct {
659                 uint16_t *system_name;/* [unique] */
660                 struct lsa_ObjectAttribute *attr;/* [ref] */
661                 uint32_t access_mask;
662         } in;
663
664         struct {
665                 struct policy_handle *handle;/* [ref] */
666                 NTSTATUS result;
667         } out;
668
669 };
670
671
672 struct lsa_QueryInfoPolicy {
673         struct {
674                 struct policy_handle *handle;/* [ref] */
675                 enum lsa_PolicyInfo level;
676         } in;
677
678         struct {
679                 union lsa_PolicyInformation *info;/* [unique,switch_is(level)] */
680                 NTSTATUS result;
681         } out;
682
683 };
684
685
686 struct lsa_SetInfoPolicy {
687         struct {
688                 struct policy_handle *handle;/* [ref] */
689                 enum lsa_PolicyInfo level;
690                 union lsa_PolicyInformation *info;/* [ref,switch_is(level)] */
691         } in;
692
693         struct {
694                 NTSTATUS result;
695         } out;
696
697 };
698
699
700 struct lsa_ClearAuditLog {
701         struct {
702                 NTSTATUS result;
703         } out;
704
705 };
706
707
708 struct lsa_CreateAccount {
709         struct {
710                 struct policy_handle *handle;/* [ref] */
711                 struct dom_sid2 *sid;/* [ref] */
712                 uint32_t access_mask;
713         } in;
714
715         struct {
716                 struct policy_handle *acct_handle;/* [ref] */
717                 NTSTATUS result;
718         } out;
719
720 };
721
722
723 struct lsa_EnumAccounts {
724         struct {
725                 struct policy_handle *handle;/* [ref] */
726                 uint32_t num_entries;/* [range(0,8192)] */
727                 uint32_t *resume_handle;/* [ref] */
728         } in;
729
730         struct {
731                 struct lsa_SidArray *sids;/* [ref] */
732                 uint32_t *resume_handle;/* [ref] */
733                 NTSTATUS result;
734         } out;
735
736 };
737
738
739 struct lsa_CreateTrustedDomain {
740         struct {
741                 struct policy_handle *handle;/* [ref] */
742                 struct lsa_DomainInfo *info;/* [ref] */
743                 uint32_t access_mask;
744         } in;
745
746         struct {
747                 struct policy_handle *trustdom_handle;/* [ref] */
748                 NTSTATUS result;
749         } out;
750
751 };
752
753
754 struct lsa_EnumTrustDom {
755         struct {
756                 struct policy_handle *handle;/* [ref] */
757                 uint32_t max_size;
758                 uint32_t *resume_handle;/* [ref] */
759         } in;
760
761         struct {
762                 struct lsa_DomainList *domains;/* [ref] */
763                 uint32_t *resume_handle;/* [ref] */
764                 NTSTATUS result;
765         } out;
766
767 };
768
769
770 struct lsa_LookupNames {
771         struct {
772                 struct policy_handle *handle;/* [ref] */
773                 uint32_t num_names;/* [range(0,1000)] */
774                 struct lsa_String *names;/* [size_is(num_names)] */
775                 enum lsa_LookupNamesLevel level;
776                 struct lsa_TransSidArray *sids;/* [ref] */
777                 uint32_t *count;/* [ref] */
778         } in;
779
780         struct {
781                 struct lsa_RefDomainList *domains;/* [unique] */
782                 struct lsa_TransSidArray *sids;/* [ref] */
783                 uint32_t *count;/* [ref] */
784                 NTSTATUS result;
785         } out;
786
787 };
788
789
790 struct lsa_LookupSids {
791         struct {
792                 struct policy_handle *handle;/* [ref] */
793                 struct lsa_SidArray *sids;/* [ref] */
794                 uint16_t level;
795                 struct lsa_TransNameArray *names;/* [ref] */
796                 uint32_t *count;/* [ref] */
797         } in;
798
799         struct {
800                 struct lsa_RefDomainList *domains;/* [unique] */
801                 struct lsa_TransNameArray *names;/* [ref] */
802                 uint32_t *count;/* [ref] */
803                 NTSTATUS result;
804         } out;
805
806 };
807
808
809 struct lsa_CreateSecret {
810         struct {
811                 struct policy_handle *handle;/* [ref] */
812                 struct lsa_String name;
813                 uint32_t access_mask;
814         } in;
815
816         struct {
817                 struct policy_handle *sec_handle;/* [ref] */
818                 NTSTATUS result;
819         } out;
820
821 };
822
823
824 struct lsa_OpenAccount {
825         struct {
826                 struct policy_handle *handle;/* [ref] */
827                 struct dom_sid2 *sid;/* [ref] */
828                 uint32_t access_mask;
829         } in;
830
831         struct {
832                 struct policy_handle *acct_handle;/* [ref] */
833                 NTSTATUS result;
834         } out;
835
836 };
837
838
839 struct lsa_EnumPrivsAccount {
840         struct {
841                 struct policy_handle *handle;/* [ref] */
842         } in;
843
844         struct {
845                 struct lsa_PrivilegeSet *privs;/* [unique] */
846                 NTSTATUS result;
847         } out;
848
849 };
850
851
852 struct lsa_AddPrivilegesToAccount {
853         struct {
854                 struct policy_handle *handle;/* [ref] */
855                 struct lsa_PrivilegeSet *privs;/* [ref] */
856         } in;
857
858         struct {
859                 NTSTATUS result;
860         } out;
861
862 };
863
864
865 struct lsa_RemovePrivilegesFromAccount {
866         struct {
867                 struct policy_handle *handle;/* [ref] */
868                 uint8_t remove_all;
869                 struct lsa_PrivilegeSet *privs;/* [unique] */
870         } in;
871
872         struct {
873                 NTSTATUS result;
874         } out;
875
876 };
877
878
879 struct lsa_GetQuotasForAccount {
880         struct {
881                 NTSTATUS result;
882         } out;
883
884 };
885
886
887 struct lsa_SetQuotasForAccount {
888         struct {
889                 NTSTATUS result;
890         } out;
891
892 };
893
894
895 struct lsa_GetSystemAccessAccount {
896         struct {
897                 NTSTATUS result;
898         } out;
899
900 };
901
902
903 struct lsa_SetSystemAccessAccount {
904         struct {
905                 NTSTATUS result;
906         } out;
907
908 };
909
910
911 struct lsa_OpenTrustedDomain {
912         struct {
913                 struct policy_handle *handle;/* [ref] */
914                 struct dom_sid2 *sid;/* [ref] */
915                 uint32_t access_mask;
916         } in;
917
918         struct {
919                 struct policy_handle *trustdom_handle;/* [ref] */
920                 NTSTATUS result;
921         } out;
922
923 };
924
925
926 struct lsa_QueryTrustedDomainInfo {
927         struct {
928                 struct policy_handle *trustdom_handle;/* [ref] */
929                 enum lsa_TrustDomInfoEnum level;
930         } in;
931
932         struct {
933                 union lsa_TrustedDomainInfo *info;/* [unique,switch_is(level)] */
934                 NTSTATUS result;
935         } out;
936
937 };
938
939
940 struct lsa_SetInformationTrustedDomain {
941         struct {
942                 NTSTATUS result;
943         } out;
944
945 };
946
947
948 struct lsa_OpenSecret {
949         struct {
950                 struct policy_handle *handle;/* [ref] */
951                 struct lsa_String name;
952                 uint32_t access_mask;
953         } in;
954
955         struct {
956                 struct policy_handle *sec_handle;/* [ref] */
957                 NTSTATUS result;
958         } out;
959
960 };
961
962
963 struct lsa_SetSecret {
964         struct {
965                 struct policy_handle *sec_handle;/* [ref] */
966                 struct lsa_DATA_BUF *new_val;/* [unique] */
967                 struct lsa_DATA_BUF *old_val;/* [unique] */
968         } in;
969
970         struct {
971                 NTSTATUS result;
972         } out;
973
974 };
975
976
977 struct lsa_QuerySecret {
978         struct {
979                 struct policy_handle *sec_handle;/* [ref] */
980                 struct lsa_DATA_BUF_PTR *new_val;/* [unique] */
981                 NTTIME *new_mtime;/* [unique] */
982                 struct lsa_DATA_BUF_PTR *old_val;/* [unique] */
983                 NTTIME *old_mtime;/* [unique] */
984         } in;
985
986         struct {
987                 struct lsa_DATA_BUF_PTR *new_val;/* [unique] */
988                 NTTIME *new_mtime;/* [unique] */
989                 struct lsa_DATA_BUF_PTR *old_val;/* [unique] */
990                 NTTIME *old_mtime;/* [unique] */
991                 NTSTATUS result;
992         } out;
993
994 };
995
996
997 struct lsa_LookupPrivValue {
998         struct {
999                 struct policy_handle *handle;/* [ref] */
1000                 struct lsa_String *name;/* [ref] */
1001         } in;
1002
1003         struct {
1004                 struct lsa_LUID *luid;/* [ref] */
1005                 NTSTATUS result;
1006         } out;
1007
1008 };
1009
1010
1011 struct lsa_LookupPrivName {
1012         struct {
1013                 struct policy_handle *handle;/* [ref] */
1014                 struct lsa_LUID *luid;/* [ref] */
1015         } in;
1016
1017         struct {
1018                 struct lsa_StringLarge *name;/* [unique] */
1019                 NTSTATUS result;
1020         } out;
1021
1022 };
1023
1024
1025 struct lsa_LookupPrivDisplayName {
1026         struct {
1027                 struct policy_handle *handle;/* [ref] */
1028                 struct lsa_String *name;/* [ref] */
1029                 uint16_t unknown;
1030                 uint16_t *language_id;/* [ref] */
1031         } in;
1032
1033         struct {
1034                 struct lsa_StringLarge *disp_name;/* [unique] */
1035                 uint16_t *language_id;/* [ref] */
1036                 NTSTATUS result;
1037         } out;
1038
1039 };
1040
1041
1042 struct lsa_DeleteObject {
1043         struct {
1044                 struct policy_handle **handle;/* [ref] */
1045         } in;
1046
1047         struct {
1048                 struct policy_handle **handle;/* [ref] */
1049                 NTSTATUS result;
1050         } out;
1051
1052 };
1053
1054
1055 struct lsa_EnumAccountsWithUserRight {
1056         struct {
1057                 struct policy_handle *handle;/* [ref] */
1058                 struct lsa_String *name;/* [unique] */
1059         } in;
1060
1061         struct {
1062                 struct lsa_SidArray *sids;/* [ref] */
1063                 NTSTATUS result;
1064         } out;
1065
1066 };
1067
1068
1069 struct lsa_EnumAccountRights {
1070         struct {
1071                 struct policy_handle *handle;/* [ref] */
1072                 struct dom_sid2 *sid;/* [ref] */
1073         } in;
1074
1075         struct {
1076                 struct lsa_RightSet *rights;/* [ref] */
1077                 NTSTATUS result;
1078         } out;
1079
1080 };
1081
1082
1083 struct lsa_AddAccountRights {
1084         struct {
1085                 struct policy_handle *handle;/* [ref] */
1086                 struct dom_sid2 *sid;/* [ref] */
1087                 struct lsa_RightSet *rights;/* [ref] */
1088         } in;
1089
1090         struct {
1091                 NTSTATUS result;
1092         } out;
1093
1094 };
1095
1096
1097 struct lsa_RemoveAccountRights {
1098         struct {
1099                 struct policy_handle *handle;/* [ref] */
1100                 struct dom_sid2 *sid;/* [ref] */
1101                 uint32_t unknown;
1102                 struct lsa_RightSet *rights;/* [ref] */
1103         } in;
1104
1105         struct {
1106                 NTSTATUS result;
1107         } out;
1108
1109 };
1110
1111
1112 struct lsa_QueryTrustedDomainInfoBySid {
1113         struct {
1114                 struct policy_handle *handle;/* [ref] */
1115                 struct dom_sid2 *dom_sid;/* [ref] */
1116                 enum lsa_TrustDomInfoEnum level;
1117         } in;
1118
1119         struct {
1120                 union lsa_TrustedDomainInfo *info;/* [unique,switch_is(level)] */
1121                 NTSTATUS result;
1122         } out;
1123
1124 };
1125
1126
1127 struct lsa_SetTrustedDomainInfo {
1128         struct {
1129                 NTSTATUS result;
1130         } out;
1131
1132 };
1133
1134
1135 struct lsa_DeleteTrustedDomain {
1136         struct {
1137                 struct policy_handle *handle;/* [ref] */
1138                 struct dom_sid2 *dom_sid;/* [ref] */
1139         } in;
1140
1141         struct {
1142                 NTSTATUS result;
1143         } out;
1144
1145 };
1146
1147
1148 struct lsa_StorePrivateData {
1149         struct {
1150                 NTSTATUS result;
1151         } out;
1152
1153 };
1154
1155
1156 struct lsa_RetrievePrivateData {
1157         struct {
1158                 NTSTATUS result;
1159         } out;
1160
1161 };
1162
1163
1164 struct lsa_OpenPolicy2 {
1165         struct {
1166                 const char *system_name;/* [unique,charset(UTF16)] */
1167                 struct lsa_ObjectAttribute *attr;/* [ref] */
1168                 uint32_t access_mask;
1169         } in;
1170
1171         struct {
1172                 struct policy_handle *handle;/* [ref] */
1173                 NTSTATUS result;
1174         } out;
1175
1176 };
1177
1178
1179 struct lsa_GetUserName {
1180         struct {
1181                 const char *system_name;/* [unique,charset(UTF16)] */
1182                 struct lsa_String *account_name;/* [unique] */
1183                 struct lsa_StringPointer *authority_name;/* [unique] */
1184         } in;
1185
1186         struct {
1187                 struct lsa_String *account_name;/* [unique] */
1188                 struct lsa_StringPointer *authority_name;/* [unique] */
1189                 NTSTATUS result;
1190         } out;
1191
1192 };
1193
1194
1195 struct lsa_QueryInfoPolicy2 {
1196         struct {
1197                 struct policy_handle *handle;/* [ref] */
1198                 enum lsa_PolicyInfo level;
1199         } in;
1200
1201         struct {
1202                 union lsa_PolicyInformation *info;/* [unique,switch_is(level)] */
1203                 NTSTATUS result;
1204         } out;
1205
1206 };
1207
1208
1209 struct lsa_SetInfoPolicy2 {
1210         struct {
1211                 struct policy_handle *handle;/* [ref] */
1212                 enum lsa_PolicyInfo level;
1213                 union lsa_PolicyInformation *info;/* [ref,switch_is(level)] */
1214         } in;
1215
1216         struct {
1217                 NTSTATUS result;
1218         } out;
1219
1220 };
1221
1222
1223 struct lsa_QueryTrustedDomainInfoByName {
1224         struct {
1225                 struct policy_handle *handle;/* [ref] */
1226                 struct lsa_String trusted_domain;
1227                 enum lsa_TrustDomInfoEnum level;
1228         } in;
1229
1230         struct {
1231                 union lsa_TrustedDomainInfo *info;/* [unique,switch_is(level)] */
1232                 NTSTATUS result;
1233         } out;
1234
1235 };
1236
1237
1238 struct lsa_SetTrustedDomainInfoByName {
1239         struct {
1240                 struct policy_handle *handle;/* [ref] */
1241                 struct lsa_String trusted_domain;
1242                 enum lsa_TrustDomInfoEnum level;
1243                 union lsa_TrustedDomainInfo *info;/* [unique,switch_is(level)] */
1244         } in;
1245
1246         struct {
1247                 NTSTATUS result;
1248         } out;
1249
1250 };
1251
1252
1253 struct lsa_EnumTrustedDomainsEx {
1254         struct {
1255                 struct policy_handle *handle;/* [ref] */
1256                 uint32_t max_size;
1257                 uint32_t *resume_handle;/* [ref] */
1258         } in;
1259
1260         struct {
1261                 struct lsa_DomainListEx *domains;/* [ref] */
1262                 uint32_t *resume_handle;/* [ref] */
1263                 NTSTATUS result;
1264         } out;
1265
1266 };
1267
1268
1269 struct lsa_CreateTrustedDomainEx {
1270         struct {
1271                 NTSTATUS result;
1272         } out;
1273
1274 };
1275
1276
1277 struct lsa_CloseTrustedDomainEx {
1278         struct {
1279                 struct policy_handle *handle;/* [ref] */
1280         } in;
1281
1282         struct {
1283                 struct policy_handle *handle;/* [ref] */
1284                 NTSTATUS result;
1285         } out;
1286
1287 };
1288
1289
1290 struct lsa_QueryDomainInformationPolicy {
1291         struct {
1292                 struct policy_handle *handle;/* [ref] */
1293                 uint16_t level;
1294         } in;
1295
1296         struct {
1297                 union lsa_DomainInformationPolicy *info;/* [unique,switch_is(level)] */
1298                 NTSTATUS result;
1299         } out;
1300
1301 };
1302
1303
1304 struct lsa_SetDomainInformationPolicy {
1305         struct {
1306                 struct policy_handle *handle;/* [ref] */
1307                 uint16_t level;
1308                 union lsa_DomainInformationPolicy *info;/* [unique,switch_is(level)] */
1309         } in;
1310
1311         struct {
1312                 NTSTATUS result;
1313         } out;
1314
1315 };
1316
1317
1318 struct lsa_OpenTrustedDomainByName {
1319         struct {
1320                 struct policy_handle *handle;/* [ref] */
1321                 struct lsa_String name;
1322                 uint32_t access_mask;
1323         } in;
1324
1325         struct {
1326                 struct policy_handle *trustdom_handle;/* [ref] */
1327                 NTSTATUS result;
1328         } out;
1329
1330 };
1331
1332
1333 struct lsa_TestCall {
1334         struct {
1335                 NTSTATUS result;
1336         } out;
1337
1338 };
1339
1340
1341 struct lsa_LookupSids2 {
1342         struct {
1343                 struct policy_handle *handle;/* [ref] */
1344                 struct lsa_SidArray *sids;/* [ref] */
1345                 uint16_t level;
1346                 uint32_t unknown1;
1347                 uint32_t unknown2;
1348                 struct lsa_TransNameArray2 *names;/* [ref] */
1349                 uint32_t *count;/* [ref] */
1350         } in;
1351
1352         struct {
1353                 struct lsa_RefDomainList *domains;/* [unique] */
1354                 struct lsa_TransNameArray2 *names;/* [ref] */
1355                 uint32_t *count;/* [ref] */
1356                 NTSTATUS result;
1357         } out;
1358
1359 };
1360
1361
1362 struct lsa_LookupNames2 {
1363         struct {
1364                 struct policy_handle *handle;/* [ref] */
1365                 uint32_t num_names;/* [range(0,1000)] */
1366                 struct lsa_String *names;/* [size_is(num_names)] */
1367                 enum lsa_LookupNamesLevel level;
1368                 uint32_t unknown1;
1369                 uint32_t unknown2;
1370                 struct lsa_TransSidArray2 *sids;/* [ref] */
1371                 uint32_t *count;/* [ref] */
1372         } in;
1373
1374         struct {
1375                 struct lsa_RefDomainList *domains;/* [unique] */
1376                 struct lsa_TransSidArray2 *sids;/* [ref] */
1377                 uint32_t *count;/* [ref] */
1378                 NTSTATUS result;
1379         } out;
1380
1381 };
1382
1383
1384 struct lsa_CreateTrustedDomainEx2 {
1385         struct {
1386                 NTSTATUS result;
1387         } out;
1388
1389 };
1390
1391
1392 struct lsa_CREDRWRITE {
1393         struct {
1394                 NTSTATUS result;
1395         } out;
1396
1397 };
1398
1399
1400 struct lsa_CREDRREAD {
1401         struct {
1402                 NTSTATUS result;
1403         } out;
1404
1405 };
1406
1407
1408 struct lsa_CREDRENUMERATE {
1409         struct {
1410                 NTSTATUS result;
1411         } out;
1412
1413 };
1414
1415
1416 struct lsa_CREDRWRITEDOMAINCREDENTIALS {
1417         struct {
1418                 NTSTATUS result;
1419         } out;
1420
1421 };
1422
1423
1424 struct lsa_CREDRREADDOMAINCREDENTIALS {
1425         struct {
1426                 NTSTATUS result;
1427         } out;
1428
1429 };
1430
1431
1432 struct lsa_CREDRDELETE {
1433         struct {
1434                 NTSTATUS result;
1435         } out;
1436
1437 };
1438
1439
1440 struct lsa_CREDRGETTARGETINFO {
1441         struct {
1442                 NTSTATUS result;
1443         } out;
1444
1445 };
1446
1447
1448 struct lsa_CREDRPROFILELOADED {
1449         struct {
1450                 NTSTATUS result;
1451         } out;
1452
1453 };
1454
1455
1456 struct lsa_LookupNames3 {
1457         struct {
1458                 struct policy_handle *handle;/* [ref] */
1459                 uint32_t num_names;/* [range(0,1000)] */
1460                 struct lsa_String *names;/* [size_is(num_names)] */
1461                 enum lsa_LookupNamesLevel level;
1462                 uint32_t unknown1;
1463                 uint32_t unknown2;
1464                 struct lsa_TransSidArray3 *sids;/* [ref] */
1465                 uint32_t *count;/* [ref] */
1466         } in;
1467
1468         struct {
1469                 struct lsa_RefDomainList *domains;/* [unique] */
1470                 struct lsa_TransSidArray3 *sids;/* [ref] */
1471                 uint32_t *count;/* [ref] */
1472                 NTSTATUS result;
1473         } out;
1474
1475 };
1476
1477
1478 struct lsa_CREDRGETSESSIONTYPES {
1479         struct {
1480                 NTSTATUS result;
1481         } out;
1482
1483 };
1484
1485
1486 struct lsa_LSARREGISTERAUDITEVENT {
1487         struct {
1488                 NTSTATUS result;
1489         } out;
1490
1491 };
1492
1493
1494 struct lsa_LSARGENAUDITEVENT {
1495         struct {
1496                 NTSTATUS result;
1497         } out;
1498
1499 };
1500
1501
1502 struct lsa_LSARUNREGISTERAUDITEVENT {
1503         struct {
1504                 NTSTATUS result;
1505         } out;
1506
1507 };
1508
1509
1510 struct lsa_lsaRQueryForestTrustInformation {
1511         struct {
1512                 struct policy_handle *handle;/* [ref] */
1513                 struct lsa_String *trusted_domain_name;/* [ref] */
1514                 uint16_t unknown;
1515         } in;
1516
1517         struct {
1518                 struct lsa_ForestTrustInformation **forest_trust_info;/* [ref] */
1519                 NTSTATUS result;
1520         } out;
1521
1522 };
1523
1524
1525 struct lsa_LSARSETFORESTTRUSTINFORMATION {
1526         struct {
1527                 NTSTATUS result;
1528         } out;
1529
1530 };
1531
1532
1533 struct lsa_CREDRRENAME {
1534         struct {
1535                 NTSTATUS result;
1536         } out;
1537
1538 };
1539
1540
1541 struct lsa_LookupSids3 {
1542         struct {
1543                 struct lsa_SidArray *sids;/* [ref] */
1544                 uint16_t level;
1545                 uint32_t unknown1;
1546                 uint32_t unknown2;
1547                 struct lsa_TransNameArray2 *names;/* [ref] */
1548                 uint32_t *count;/* [ref] */
1549         } in;
1550
1551         struct {
1552                 struct lsa_RefDomainList *domains;/* [unique] */
1553                 struct lsa_TransNameArray2 *names;/* [ref] */
1554                 uint32_t *count;/* [ref] */
1555                 NTSTATUS result;
1556         } out;
1557
1558 };
1559
1560
1561 struct lsa_LookupNames4 {
1562         struct {
1563                 uint32_t num_names;/* [range(0,1000)] */
1564                 struct lsa_String *names;/* [size_is(num_names)] */
1565                 enum lsa_LookupNamesLevel level;
1566                 uint32_t unknown1;
1567                 uint32_t unknown2;
1568                 struct lsa_TransSidArray3 *sids;/* [ref] */
1569                 uint32_t *count;/* [ref] */
1570         } in;
1571
1572         struct {
1573                 struct lsa_RefDomainList *domains;/* [unique] */
1574                 struct lsa_TransSidArray3 *sids;/* [ref] */
1575                 uint32_t *count;/* [ref] */
1576                 NTSTATUS result;
1577         } out;
1578
1579 };
1580
1581
1582 struct lsa_LSAROPENPOLICYSCE {
1583         struct {
1584                 NTSTATUS result;
1585         } out;
1586
1587 };
1588
1589
1590 struct lsa_LSARADTREGISTERSECURITYEVENTSOURCE {
1591         struct {
1592                 NTSTATUS result;
1593         } out;
1594
1595 };
1596
1597
1598 struct lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE {
1599         struct {
1600                 NTSTATUS result;
1601         } out;
1602
1603 };
1604
1605
1606 struct lsa_LSARADTREPORTSECURITYEVENT {
1607         struct {
1608                 NTSTATUS result;
1609         } out;
1610
1611 };
1612
1613 #endif /* _HEADER_lsarpc */