ReactOS  0.4.14-dev-599-g2d4d3f5
sam.idl
Go to the documentation of this file.
1 /*
2  * Security Account Manager interface definition
3  */
4 
5 #include <ms-dtyp.idl>
6 
7 cpp_quote("#ifndef _NTDEF_")
8 typedef long NTSTATUS;
9 cpp_quote("#endif")
10 
11 typedef struct _RPC_STRING
12 {
13  unsigned short Length;
14  unsigned short MaximumLength;
15  [size_is(MaximumLength), length_is(Length)] char *Buffer;
17 
18 typedef struct _OLD_LARGE_INTEGER
19 {
20  unsigned long LowPart;
21  long HighPart;
23 
24 typedef [handle] wchar_t *PSAMPR_SERVER_NAME;
25 
26 typedef [context_handle] void *SAMPR_HANDLE;
27 
28 typedef struct _ENCRYPTED_LM_OWF_PASSWORD
29 {
30  char data[16];
35 
36 typedef struct _SAMPR_ULONG_ARRAY
37 {
38  unsigned long Count;
39  [size_is(Count)] unsigned long *Element;
41 
42 typedef struct _SAMPR_SID_INFORMATION
43 {
46 
47 typedef struct _SAMPR_PSID_ARRAY
48 {
49  [range(0, 1024)] unsigned long Count;
52 
53 typedef struct _SAMPR_PSID_ARRAY_OUT
54 {
55  unsigned long Count;
58 
59 typedef struct _SAMPR_RETURNED_USTRING_ARRAY
60 {
61  unsigned long Count;
64 
65 cpp_quote("#ifndef _WINNT_")
67 {
77 cpp_quote("#endif")
78 
79 typedef struct RPC_SHORT_BLOB
80 {
81  unsigned short Length;
82  unsigned short MaximumLength;
83  [size_is(MaximumLength/2), length_is(Length/2)]
84  unsigned short* Buffer;
86 
87 typedef struct _SAMPR_RID_ENUMERATION
88 {
89  unsigned long RelativeId;
92 
94 {
95  unsigned long EntriesRead;
98 
99 typedef struct _SAMPR_SR_SECURITY_DESCRIPTOR
100 {
101  [range(0, 256 * 1024)] unsigned long Length;
102  [size_is(Length)] unsigned char* SecurityDescriptor;
104 
105 cpp_quote("#ifndef _NTSAM_")
107 {
108  unsigned long RelativeId;
109  unsigned long Attributes;
111 cpp_quote("#endif")
112 
114 {
115  unsigned long MembershipCount;
116  [size_is(MembershipCount)] PGROUP_MEMBERSHIP Groups;
118 
120 {
121  unsigned long MemberCount;
122  [size_is(MemberCount)] unsigned long* Members;
123  [size_is(MemberCount)] unsigned long* Attributes;
125 
127 {
128  unsigned long Revision;
129  unsigned long SupportedFeatures;
131 
132 typedef [switch_type(unsigned long)] union
133 {
136 
138 {
139  unsigned short MinPasswordLength;
140  unsigned long PasswordProperties;
142 
143 cpp_quote("#ifndef _NTSAM_")
145 {
149 
150 typedef struct _DOMAIN_STATE_INFORMATION
151 {
154 cpp_quote("#endif")
155 
156 cpp_quote("#ifndef _NTSAM_")
158 {
162 cpp_quote("#endif")
163 
164 cpp_quote("#if !defined(_NTSECAPI_H) && !defined(_NTSAM_)")
165 typedef struct _DOMAIN_PASSWORD_INFORMATION
166 {
173 cpp_quote("#endif")
174 
175 cpp_quote("#ifndef _NTSAM_")
176 typedef struct _DOMAIN_LOGOFF_INFORMATION
177 {
180 
181 typedef struct _DOMAIN_SERVER_ROLE_INFORMATION
182 {
185 
186 typedef struct _DOMAIN_MODIFIED_INFORMATION
187 {
191 
192 typedef struct _DOMAIN_MODIFIED_INFORMATION2
193 {
198 cpp_quote("#endif")
199 
200 cpp_quote("#include <pshpack4.h>")
202 {
208  unsigned long DomainServerState;
209  unsigned long DomainServerRole;
211  unsigned long UserCount;
212  unsigned long GroupCount;
213  unsigned long AliasCount;
215 
217 {
221  unsigned short LockoutThreshold;
223 cpp_quote("#include <poppack.h>")
224 
226 {
229 
231 {
234 
236 {
239 
241 {
244  unsigned short LockoutThreshold;
246 
247 cpp_quote("#ifndef _NTSAM_")
249 {
263 cpp_quote("#endif")
264 
266 {
280 
281 cpp_quote("#ifndef _NTSAM_")
283 {
291 cpp_quote("#endif")
292 
294 {
295  unsigned long Index;
296  unsigned long Rid;
297  unsigned long AccountControl;
302 
304 {
305  unsigned long Index;
306  unsigned long Rid;
307  unsigned long AccountControl;
311 
313 {
314  unsigned long Index;
315  unsigned long Rid;
316  unsigned long Attributes;
320 
322 {
323  unsigned long Index;
326 
328 {
329  unsigned long Index;
332 
334 {
335  unsigned long EntriesRead;
338 
340 {
341  unsigned long EntriesRead;
344 
346 {
347  unsigned long EntriesRead;
350 
352 {
353  unsigned long EntriesRead;
356 
358 {
359  unsigned long EntriesRead;
362 
364 {
371 
373 {
374  unsigned long Attributes;
376 
378 {
380  unsigned long Attributes;
381  unsigned long MemberCount;
384 
386 {
389 
391 {
394 
395 cpp_quote("#ifndef _NTSAM_")
397 {
404 cpp_quote("#endif")
405 
407 {
414 
416 {
421 
423 {
426 
428 {
431 
432 cpp_quote("#ifndef _NTSAM_")
434 {
439 cpp_quote("#endif")
440 
442 {
447 
449 {
450  unsigned char Buffer[(256 * 2) + 4];
452 
454 {
455  unsigned char Buffer[(256 * 2) + 4 + 16];
457 
458 cpp_quote("#ifndef _NTSAM_")
460 {
461  unsigned long PrimaryGroupId;
463 
464 typedef struct _USER_CONTROL_INFORMATION
465 {
466  unsigned long UserAccountControl;
468 
469 typedef struct _USER_EXPIRES_INFORMATION
470 {
473 cpp_quote("#endif")
474 
476 {
477  unsigned short UnitsPerWeek;
478  [size_is(1260), length_is((UnitsPerWeek + 7) / 8)] unsigned char *LogonHours; // FIXME
480 
481 typedef struct _SAMPR_USER_ALL_INFORMATION
482 {
503  unsigned long UserId;
504  unsigned long PrimaryGroupId;
505  unsigned long UserAccountControl;
506  unsigned long WhichFields;
508  unsigned short BadPasswordCount;
509  unsigned short LogonCount;
510  unsigned short CountryCode;
511  unsigned short CodePage;
512  unsigned char LmPasswordPresent;
513  unsigned char NtPasswordPresent;
514  unsigned char PasswordExpired;
515  unsigned char PrivateDataSensitive;
517 
519 {
522  unsigned long PrimaryGroupId;
526 
528 {
531  unsigned short CountryCode;
532  unsigned short CodePage;
534 
536 {
539 
541 {
544  unsigned long UserId;
545  unsigned long PrimaryGroupId;
557  unsigned short BadPasswordCount;
558  unsigned short LogonCount;
559  unsigned long UserAccountControl;
561 
563 {
566  unsigned long UserId;
567  unsigned long PrimaryGroupId;
577  unsigned short BadPasswordCount;
578  unsigned short LogonCount;
581  unsigned long UserAccountControl;
583 
585 {
588 
590 {
593 
595 {
599 
601 {
605 
607 {
610 
612 {
615 
617 {
620 
622 {
625 
627 {
628 // SAMPR_ENCRYPTED_USER_PASSWORD Password;
632 
634 {
637 
639 {
646 
647 /* SAMPR_USER_INTERNAL2_INFORMATION.Flags values */
648 cpp_quote("#define USER_LOGON_BAD_PASSWORD 0x08000000")
649 cpp_quote("#define USER_LOGON_SUCCESS 0x10000000")
650 
652 {
653  unsigned long Flags;
656  unsigned short BadPasswordCount;
657  unsigned short LogonCount;
659 
661 {
665 
667 {
671 
673 {
677 
679 {
683 
684 cpp_quote("#ifndef _NTSAM_")
686 {
701  UserSetPasswordInformation = 15, /* This is missing from the SAM RPC documentation */
705  UserInternal2Information = 19, /* This is missing from the SAM RPC documentation */
708  UserInternal3Information = 22, /* This is missing from the SAM RPC documentation */
713  UserInternal6Information, /* This is missing from the SAM RPC documentation */
714  UserExtendedInformation, /* This is missing from the SAM RPC documentation */
715  UserLogonUIInformation, /* This is missing from the SAM RPC documentation */
717 cpp_quote("#endif")
718 
719 typedef [switch_type(USER_INFORMATION_CLASS)] union _SAMPR_USER_INFO_BUFFER
720 {
747 
749 {
754 
756 {
757  unsigned long Length;
758  [unique,size_is(Length)] unsigned char* Hash;
760 
762 {
763  unsigned long PresentFields;
767  unsigned long BadPasswordCount;
768  unsigned long PasswordHistoryLength;
771 
773 {
786 
788 {
792 
794 {
796  unsigned char PasswordMatched;
798 
800 {
805  unsigned char PasswordMatch;
807 
809 {
815  unsigned char ClearLockout;
817 
819 {
824 
826 {
831 
832 [
833  uuid(12345778-1234-ABCD-EF00-0123456789AC),
834  version(1.0),
836  endpoint("ncacn_np:[\\pipe\\samr]")
837 #ifndef __midl
838  ,explicit_handle
839 #endif
840 ]
841 interface samr
842 {
843  /* Function 0 */
844  NTSTATUS
845  __stdcall
846  SamrConnect(
847  [in, unique] PSAMPR_SERVER_NAME ServerName,
848  [out] SAMPR_HANDLE *ServerHandle,
850 
851  /* Function 1 */
852  NTSTATUS
853  __stdcall
855  [in, out] SAMPR_HANDLE *SamHandle);
856 
857  /* Function 2 */
858  NTSTATUS
859  __stdcall
861  [in] SAMPR_HANDLE ObjectHandle,
864 
865  /* Function 3 */
866  NTSTATUS
867  __stdcall
869  [in] SAMPR_HANDLE ObjectHandle,
872 
873  /* Function 4 */
874  NTSTATUS
875  __stdcall
877  [in] SAMPR_HANDLE ServerHandle);
878 
879  /* Function 5 */
880  NTSTATUS
881  __stdcall
883  [in] SAMPR_HANDLE ServerHandle,
885  [out] PRPC_SID *DomainId);
886 
887  /* Function 6 */
888  NTSTATUS
889  __stdcall
891  [in] SAMPR_HANDLE ServerHandle,
892  [in, out] unsigned long *EnumerationContext,
894  [in] unsigned long PreferedMaximumLength,
895  [out] unsigned long *CountReturned);
896 
897  /* Function 7 */
898  NTSTATUS
899  __stdcall
901  [in] SAMPR_HANDLE ServerHandle,
903  [in] PRPC_SID DomainId,
904  [out] SAMPR_HANDLE *DomainHandle);
905 
906  /* Function 8 */
907  NTSTATUS
908  __stdcall
910  [in] SAMPR_HANDLE DomainHandle,
911  [in] DOMAIN_INFORMATION_CLASS DomainInformationClass,
912  [out, switch_is(DomainInformationClass)] PSAMPR_DOMAIN_INFO_BUFFER *Buffer);
913 
914  /* Function 9 */
915  NTSTATUS
916  __stdcall
918  [in] SAMPR_HANDLE DomainHandle,
919  [in] DOMAIN_INFORMATION_CLASS DomainInformationClass,
920  [in, switch_is(DomainInformationClass)] PSAMPR_DOMAIN_INFO_BUFFER DomainInformation);
921 
922  /* Function 10 */
923  NTSTATUS
924  __stdcall
926  [in] SAMPR_HANDLE DomainHandle,
929  [out] SAMPR_HANDLE *GroupHandle,
930  [out] unsigned long *RelativeId);
931 
932  /* Function 11 */
933  NTSTATUS
934  __stdcall
936  [in] SAMPR_HANDLE DomainHandle,
937  [in, out] unsigned long *EnumerationContext,
939  [in] unsigned long PreferedMaximumLength,
940  [out] unsigned long *CountReturned);
941 
942  /* Function 12 */
943  NTSTATUS
944  __stdcall
946  [in] SAMPR_HANDLE DomainHandle,
949  [out] SAMPR_HANDLE *UserHandle,
950  [out] unsigned long *RelativeId);
951 
952  /* Function 13 */
953  NTSTATUS
954  __stdcall
956  [in] SAMPR_HANDLE DomainHandle,
957  [in, out] unsigned long *EnumerationContext,
958  [in] unsigned long UserAccountControl,
960  [in] unsigned long PreferedMaximumLength,
961  [out] unsigned long *CountReturned);
962 
963  /* Function 14 */
964  NTSTATUS
965  __stdcall
967  [in] SAMPR_HANDLE DomainHandle,
968  [in] PRPC_UNICODE_STRING AccountName,
970  [out] SAMPR_HANDLE *AliasHandle,
971  [out] unsigned long *RelativeId);
972 
973  /* Function 15 */
974  NTSTATUS
975  __stdcall
977  [in] SAMPR_HANDLE DomainHandle,
978  [in, out] unsigned long *EnumerationContext,
980  [in] unsigned long PreferedMaximumLength,
981  [out] unsigned long *CountReturned);
982 
983  /* Function 16 */
984  NTSTATUS
985  __stdcall
987  [in] SAMPR_HANDLE DomainHandle,
988  [in] PSAMPR_PSID_ARRAY SidArray,
989  [out] PSAMPR_ULONG_ARRAY Membership);
990 
991  /* Function 17 */
992  NTSTATUS
993  __stdcall
995  [in] SAMPR_HANDLE DomainHandle,
996  [in, range(0, 1000)] unsigned long Count,
997  [in, size_is(1000), length_is(Count)] RPC_UNICODE_STRING Names[*],
998  [out] PSAMPR_ULONG_ARRAY RelativeIds,
999  [out] PSAMPR_ULONG_ARRAY Use);
1000 
1001  /* Function 18 */
1002  NTSTATUS
1003  __stdcall
1005  [in] SAMPR_HANDLE DomainHandle,
1006  [in, range(0, 1000)] unsigned long Count,
1007  [in, size_is(1000), length_is(Count)] unsigned long *RelativeIds,
1009  [out] PSAMPR_ULONG_ARRAY Use);
1010 
1011  /* Function 19 */
1012  NTSTATUS
1013  __stdcall
1014  SamrOpenGroup(
1015  [in] SAMPR_HANDLE DomainHandle,
1017  [in] unsigned long GroupId,
1018  [out] SAMPR_HANDLE *GroupHandle);
1019 
1020  /* Function 20 */
1021  NTSTATUS
1022  __stdcall
1024  [in] SAMPR_HANDLE GroupHandle,
1025  [in] GROUP_INFORMATION_CLASS GroupInformationClass,
1026  [out, switch_is(GroupInformationClass)] PSAMPR_GROUP_INFO_BUFFER *Buffer);
1027 
1028  /* Function 21 */
1029  NTSTATUS
1030  __stdcall
1032  [in] SAMPR_HANDLE GroupHandle,
1033  [in] GROUP_INFORMATION_CLASS GroupInformationClass,
1034  [in, switch_is(GroupInformationClass)] PSAMPR_GROUP_INFO_BUFFER Buffer);
1035 
1036  /* Function 22 */
1037  NTSTATUS
1038  __stdcall
1040  [in] SAMPR_HANDLE GroupHandle,
1041  [in] unsigned long MemberId,
1042  [in] unsigned long Attributes);
1043 
1044  /* Function 21 */
1045  NTSTATUS
1046  __stdcall
1048  [in, out] SAMPR_HANDLE *GroupHandle);
1049 
1050  /* Function 24 */
1051  NTSTATUS
1052  __stdcall
1054  [in] SAMPR_HANDLE GroupHandle,
1055  [in] unsigned long MemberId);
1056 
1057  /* Function 25 */
1058  NTSTATUS
1059  __stdcall
1061  [in] SAMPR_HANDLE GroupHandle,
1062  [out] PSAMPR_GET_MEMBERS_BUFFER *Members);
1063 
1064  /* Function 26 */
1065  NTSTATUS
1066  __stdcall
1068  [in] SAMPR_HANDLE GroupHandle,
1069  [in] unsigned long MemberId,
1070  [in] unsigned long Attributes);
1071 
1072  /* Function 27 */
1073  NTSTATUS
1074  __stdcall
1075  SamrOpenAlias(
1076  [in] SAMPR_HANDLE DomainHandle,
1078  [in] ULONG AliasId,
1079  [out] SAMPR_HANDLE *AliasHandle);
1080 
1081  /* Function 28 */
1082  NTSTATUS
1083  __stdcall
1085  [in] SAMPR_HANDLE AliasHandle,
1086  [in] ALIAS_INFORMATION_CLASS AliasInformationClass,
1087  [out, switch_is(AliasInformationClass)] PSAMPR_ALIAS_INFO_BUFFER *Buffer);
1088 
1089  /* Function 29 */
1090  NTSTATUS
1091  __stdcall
1093  [in] SAMPR_HANDLE AliasHandle,
1094  [in] ALIAS_INFORMATION_CLASS AliasInformationClass,
1095  [in, switch_is(AliasInformationClass)] PSAMPR_ALIAS_INFO_BUFFER Buffer);
1096 
1097  /* Function 30 */
1098  NTSTATUS
1099  __stdcall
1101  [in, out] SAMPR_HANDLE *AliasHandle);
1102 
1103  /* Function 31 */
1104  NTSTATUS
1105  __stdcall
1107  [in] SAMPR_HANDLE AliasHandle,
1108  [in] PRPC_SID MemberId);
1109 
1110  /* Function 32 */
1111  NTSTATUS
1112  __stdcall
1114  [in] SAMPR_HANDLE AliasHandle,
1115  [in] PRPC_SID MemberId);
1116 
1117  /* Function 33 */
1118  NTSTATUS
1119  __stdcall
1121  [in] SAMPR_HANDLE AliasHandle,
1122  [out] PSAMPR_PSID_ARRAY_OUT Members);
1123 
1124  /* Function 34 */
1125  NTSTATUS
1126  __stdcall
1127  SamrOpenUser(
1128  [in] SAMPR_HANDLE DomainHandle,
1130  [in] ULONG UserId,
1131  [out] SAMPR_HANDLE *UserHandle);
1132 
1133  /* Function 35 */
1134  NTSTATUS
1135  __stdcall
1137  [in,out] SAMPR_HANDLE *UserHandle);
1138 
1139  /* Function 36 */
1140  NTSTATUS
1141  __stdcall
1143  [in] SAMPR_HANDLE UserHandle,
1144  [in] USER_INFORMATION_CLASS UserInformationClass,
1145  [out, switch_is(UserInformationClass)] PSAMPR_USER_INFO_BUFFER *Buffer);
1146 
1147  /* Function 37 */
1148  NTSTATUS
1149  __stdcall
1151  [in] SAMPR_HANDLE UserHandle,
1152  [in] USER_INFORMATION_CLASS UserInformationClass,
1153  [in, switch_is(UserInformationClass)] PSAMPR_USER_INFO_BUFFER Buffer);
1154 
1155  /* Function 38 */
1156  NTSTATUS
1157  __stdcall
1159  [in] SAMPR_HANDLE UserHandle,
1160  [in] unsigned char LmPresent,
1161  [in, unique] PENCRYPTED_LM_OWF_PASSWORD OldLmEncryptedWithNewLm,
1162  [in, unique] PENCRYPTED_LM_OWF_PASSWORD NewLmEncryptedWithOldLm,
1163  [in] unsigned char NtPresent,
1164  [in, unique] PENCRYPTED_NT_OWF_PASSWORD OldNtEncryptedWithNewNt,
1165  [in, unique] PENCRYPTED_NT_OWF_PASSWORD NewNtEncryptedWithOldNt,
1166  [in] unsigned char NtCrossEncryptionPresent,
1167  [in, unique] PENCRYPTED_NT_OWF_PASSWORD NewNtEncryptedWithNewLm,
1168  [in] unsigned char LmCrossEncryptionPresent,
1169  [in, unique] PENCRYPTED_LM_OWF_PASSWORD NewLmEncryptedWithNewNt);
1170 
1171  /* Function 39 */
1172  NTSTATUS
1173  __stdcall
1175  [in] SAMPR_HANDLE UserHandle,
1177 
1178  /* Function 40 */
1179  NTSTATUS
1180  __stdcall
1182  [in] SAMPR_HANDLE DomainHandle,
1183  [in] DOMAIN_DISPLAY_INFORMATION DisplayInformationClass,
1184  [in] unsigned long Index,
1185  [in] unsigned long EntryCount,
1186  [in] unsigned long PreferredMaximumLength,
1187  [out] unsigned long * TotalAvailable,
1188  [out] unsigned long * TotalReturned,
1189  [out, switch_is(DisplayInformationClass)] PSAMPR_DISPLAY_INFO_BUFFER Buffer);
1190 
1191  /* Function 41 */
1192  NTSTATUS
1193  __stdcall
1195  [in] SAMPR_HANDLE DomainHandle,
1196  [in] DOMAIN_DISPLAY_INFORMATION DisplayInformationClass,
1198  [out] unsigned long *Index);
1199 
1200  /* Function 42 */
1201  NTSTATUS
1202  __stdcall
1204  [in] SAMPR_HANDLE DomainHandle);
1205 
1206  /* Function 43 */
1207  NTSTATUS
1208  __stdcall
1210  [in] SAMPR_HANDLE UserHandle);
1211 
1212  /* Function 44 */
1213  NTSTATUS
1214  __stdcall
1216  [in] SAMPR_HANDLE UserHandle,
1217  [out] PUSER_DOMAIN_PASSWORD_INFORMATION PasswordInformation);
1218 
1219  /* Function 45 */
1220  NTSTATUS
1221  __stdcall
1223  [in] SAMPR_HANDLE DomainHandle,
1224  [in] PRPC_SID MemberSid);
1225 
1226  /* Function 46 */
1227  NTSTATUS
1228  __stdcall
1230  [in] SAMPR_HANDLE DomainHandle,
1231  [in] DOMAIN_INFORMATION_CLASS DomainInformationClass,
1232  [out, switch_is(DomainInformationClass)] PSAMPR_DOMAIN_INFO_BUFFER *Buffer);
1233 
1234  /* Function 47 */
1235  NTSTATUS
1236  __stdcall
1238  [in] SAMPR_HANDLE UserHandle,
1239  [in] USER_INFORMATION_CLASS UserInformationClass,
1240  [out, switch_is(UserInformationClass)] PSAMPR_USER_INFO_BUFFER *Buffer);
1241 
1242  /* Function 48 */
1243  NTSTATUS
1244  __stdcall
1246  [in] SAMPR_HANDLE DomainHandle,
1247  [in] DOMAIN_DISPLAY_INFORMATION DisplayInformationClass,
1248  [in] unsigned long Index,
1249  [in] unsigned long EntryCount,
1250  [in] unsigned long PreferredMaximumLength,
1251  [out] unsigned long *TotalAvailable,
1252  [out] unsigned long *TotalReturned,
1253  [out, switch_is(DisplayInformationClass)] PSAMPR_DISPLAY_INFO_BUFFER Buffer);
1254 
1255  /* Function 49 */
1256  NTSTATUS
1257  __stdcall
1259  [in] SAMPR_HANDLE DomainHandle,
1260  [in] DOMAIN_DISPLAY_INFORMATION DisplayInformationClass,
1262  [out] unsigned long *Index);
1263 
1264  /* Function 50 */
1265  NTSTATUS
1266  __stdcall
1268  [in] SAMPR_HANDLE DomainHandle,
1270  [in] unsigned long AccountType,
1272  [out] SAMPR_HANDLE *UserHandle,
1273  [out] unsigned long *GrantedAccess,
1274  [out] unsigned long *RelativeId);
1275 
1276  /* Function 51 */
1277  NTSTATUS
1278  __stdcall
1280  [in] SAMPR_HANDLE DomainHandle,
1281  [in] DOMAIN_DISPLAY_INFORMATION DisplayInformationClass,
1282  [in] unsigned long Index,
1283  [in] unsigned long EntryCount,
1284  [in] unsigned long PreferredMaximumLength,
1285  [out] unsigned long *TotalAvailable,
1286  [out] unsigned long *TotalReturned,
1287  [out, switch_is(DisplayInformationClass)] PSAMPR_DISPLAY_INFO_BUFFER Buffer);
1288 
1289  /* Function 52 */
1290  NTSTATUS
1291  __stdcall
1293  [in] SAMPR_HANDLE AliasHandle,
1294  [in] PSAMPR_PSID_ARRAY MembersBuffer);
1295 
1296  /* Function 53 */
1297  NTSTATUS
1298  __stdcall
1300  [in] SAMPR_HANDLE AliasHandle,
1301  [in] PSAMPR_PSID_ARRAY MembersBuffer);
1302 
1303  /* Function 54 */
1304  NTSTATUS
1305  __stdcall
1308  [in, unique] PRPC_STRING ServerName,
1309  [in] PRPC_STRING UserName,
1310  [in, unique] PSAMPR_ENCRYPTED_USER_PASSWORD NewPasswordEncryptedWithOldLm,
1311  [in, unique] PENCRYPTED_LM_OWF_PASSWORD OldLmOwfPasswordEncryptedWithNewLm);
1312 
1313  /* Function 55 */
1314  NTSTATUS
1315  __stdcall
1318  [in, unique] PRPC_UNICODE_STRING ServerName,
1319  [in] PRPC_UNICODE_STRING UserName,
1320  [in, unique] PSAMPR_ENCRYPTED_USER_PASSWORD NewPasswordEncryptedWithOldNt,
1321  [in, unique] PENCRYPTED_NT_OWF_PASSWORD OldNtOwfPasswordEncryptedWithNewNt,
1322  [in] unsigned char LmPresent,
1323  [in, unique] PSAMPR_ENCRYPTED_USER_PASSWORD NewPasswordEncryptedWithOldLm,
1324  [in, unique] PENCRYPTED_LM_OWF_PASSWORD OldLmOwfPasswordEncryptedWithNewNt);
1325 
1326  /* Function 56 */
1327  NTSTATUS
1328  __stdcall
1332  [out] PUSER_DOMAIN_PASSWORD_INFORMATION PasswordInformation);
1333 
1334  /* Function 57 */
1335  NTSTATUS
1336  __stdcall
1337  SamrConnect2(
1338  [in, unique, string] PSAMPR_SERVER_NAME ServerName,
1339  [out] SAMPR_HANDLE *ServerHandle,
1341 
1342  /* Function 58 */
1343  NTSTATUS
1344  __stdcall
1346  [in] SAMPR_HANDLE UserHandle,
1347  [in] USER_INFORMATION_CLASS UserInformationClass,
1348  [in, switch_is(UserInformationClass)] PSAMPR_USER_INFO_BUFFER Buffer);
1349 
1350  /* Function 59 */
1351  NTSTATUS
1352  __stdcall
1354  [in] handle_t BindingHandle); /* FIXME */
1355 
1356  /* Function 60 */
1357  NTSTATUS
1358  __stdcall
1360  [in] handle_t BindingHandle); /* FIXME */
1361 
1362  /* Function 61 */
1363  NTSTATUS
1364  __stdcall
1365  SamrConnect3(
1366  [in] handle_t BindingHandle); /* FIXME */
1367 
1368  /* Function 62 */
1369  NTSTATUS
1370  __stdcall
1371  SamrConnect4(
1372  [in, unique, string] PSAMPR_SERVER_NAME ServerName,
1373  [out] SAMPR_HANDLE *ServerHandle,
1374  [in] unsigned long ClientRevision,
1376 
1377  /* Function 63 */
1378  NTSTATUS
1379  __stdcall
1381  [in] handle_t BindingHandle); /* FIXME */
1382 
1383  /* Function 64 */
1384  NTSTATUS
1385  __stdcall
1386  SamrConnect5(
1387  [in, unique, string] PSAMPR_SERVER_NAME ServerName,
1389  [in] unsigned long InVersion,
1390  [in, switch_is(InVersion)] SAMPR_REVISION_INFO *InRevisionInfo,
1391  [out] unsigned long *OutVersion,
1392  [out, switch_is(*OutVersion)] SAMPR_REVISION_INFO *OutRevisionInfo,
1393  [out] SAMPR_HANDLE *ServerHandle);
1394 
1395  /* Function 65 */
1396  NTSTATUS
1397  __stdcall
1398  SamrRidToSid(
1399  [in] SAMPR_HANDLE ObjectHandle,
1400  [in] unsigned long Rid,
1401  [out] PRPC_SID *Sid);
1402 
1403  /* Function 66 */
1404  NTSTATUS
1405  __stdcall
1409  [in] unsigned long UserId,
1410  [in, unique] PENCRYPTED_NT_OWF_PASSWORD EncryptedNtOwfPassword);
1411 
1412  /* Function 67 */
1413  NTSTATUS
1414  __stdcall
1416  [in] handle_t Handle,
1417  [in] PASSWORD_POLICY_VALIDATION_TYPE ValidationType,
1418  [in, switch_is(ValidationType)] PSAM_VALIDATE_INPUT_ARG InputArg,
1419  [out, switch_is(ValidationType)] PSAM_VALIDATE_OUTPUT_ARG *OutputArg);
1420 }
struct _OLD_LARGE_INTEGER OLD_LARGE_INTEGER
RPC_SHORT_BLOB LmOwfPassword
Definition: msv1_0.h:127
struct _SAMPR_USER_ACCOUNT_INFORMATION SAMPR_USER_ACCOUNT_INFORMATION
struct _DOMAIN_LOGOFF_INFORMATION DOMAIN_LOGOFF_INFORMATION
struct _SAM_VALIDATE_PASSWORD_CHANGE_INPUT_ARG * PSAM_VALIDATE_PASSWORD_CHANGE_INPUT_ARG
RPC_UNICODE_STRING ScriptPath
Definition: sam.idl:570
unsigned long * Element
Definition: lsasrv.h:88
struct _SAMPR_USER_GENERAL_INFORMATION SAMPR_USER_GENERAL_INFORMATION
RPC_UNICODE_STRING UserName
Definition: msv1_0.h:117
union _SAMPR_ALIAS_INFO_BUFFER * PSAMPR_ALIAS_INFO_BUFFER
_Must_inspect_result_ typedef _In_ PVOID Unused
Definition: iotypes.h:1129
NTSTATUS __stdcall SamrGetMembersInGroup([in] SAMPR_HANDLE GroupHandle, [out] PSAMPR_GET_MEMBERS_BUFFER *Members)
SAMPR_USER_INTERNAL5_INFORMATION_NEW Internal5New
Definition: sam.idl:745
unsigned long RelativeId
Definition: sam.idl:89
PWSTR Names[NAMES_COUNT]
NTSTATUS __stdcall SamrGetBootKeyInformation([in] handle_t BindingHandle)
SAMPR_USER_INTERNAL5_INFORMATION Internal5
Definition: sam.idl:743
enum _DOMAIN_DISPLAY_INFORMATION DOMAIN_DISPLAY_INFORMATION
SAMPR_USER_A_NAME_INFORMATION AccountName
Definition: sam.idl:727
unsigned long EntriesRead
Definition: sam.idl:95
struct _SAM_VALIDATE_PASSWORD_CHANGE_INPUT_ARG SAM_VALIDATE_PASSWORD_CHANGE_INPUT_ARG
namespace GUID const ADDRINFOEXW ADDRINFOEXW struct timeval OVERLAPPED LPLOOKUPSERVICE_COMPLETION_ROUTINE HANDLE * handle
Definition: sock.c:82
struct _SAMPR_USER_INTERNAL4_INFORMATION * PSAMPR_USER_INTERNAL4_INFORMATION
_In_ __drv_aliasesMem PSTRING Prefix
Definition: rtlfuncs.h:1631
unsigned short LogonCount
Definition: sam.idl:578
struct SAMPR_DOMAIN_REPLICATION_INFORMATION SAMPR_DOMAIN_REPLICATION_INFORMATION
struct _SAMPR_ENCRYPTED_USER_PASSWORD_NEW * PSAMPR_ENCRYPTED_USER_PASSWORD_NEW
SAMPR_ENCRYPTED_USER_PASSWORD_NEW UserPassword
Definition: sam.idl:680
struct _SAM_VALIDATE_PERSISTED_FIELDS * PSAM_VALIDATE_PERSISTED_FIELDS
NTSTATUS __stdcall SamrSetInformationAlias([in] SAMPR_HANDLE AliasHandle, [in] ALIAS_INFORMATION_CLASS AliasInformationClass, [in, switch_is(AliasInformationClass)] PSAMPR_ALIAS_INFO_BUFFER Buffer)
enum _GROUP_INFORMATION_CLASS GROUP_INFORMATION_CLASS
struct _SAMPR_DOMAIN_GENERAL_INFORMATION2 SAMPR_DOMAIN_GENERAL_INFORMATION2
NTSTATUS __stdcall SamrLookupNamesInDomain([in] SAMPR_HANDLE DomainHandle, [in, range(0, 1000)] unsigned long Count, [in, size_is(1000), length_is(Count)] RPC_UNICODE_STRING Names[*], [out] PSAMPR_ULONG_ARRAY RelativeIds, [out] PSAMPR_ULONG_ARRAY Use)
struct _SAMPR_USER_PREFERENCES_INFORMATION * PSAMPR_USER_PREFERENCES_INFORMATION
enum _USER_INFORMATION_CLASS * PUSER_INFORMATION_CLASS
struct _SAMPR_USER_WORKSTATIONS_INFORMATION SAMPR_USER_WORKSTATIONS_INFORMATION
enum _DOMAIN_DISPLAY_INFORMATION DOMAIN_DISPLAY_INFORMATION
NTSTATUS __stdcall SamrQueryInformationUser2([in] SAMPR_HANDLE UserHandle, [in] USER_INFORMATION_CLASS UserInformationClass, [out, switch_is(UserInformationClass)] PSAMPR_USER_INFO_BUFFER *Buffer)
OLD_LARGE_INTEGER LastLogon
Definition: sam.idl:551
RPC_UNICODE_STRING Parameters
Definition: msv1_0.h:126
RPC_UNICODE_STRING AdminComment
Definition: sam.idl:309
struct _SAMPR_DOMAIN_LOCKOUT_INFORMATION * PSAMPR_DOMAIN_LOCKOUT_INFORMATION
struct _SAMPR_DOMAIN_DISPLAY_OEM_GROUP_BUFFER * PSAMPR_DOMAIN_DISPLAY_OEM_GROUP_BUFFER
NTSTATUS __stdcall SamrGetDisplayEnumerationIndex([in] SAMPR_HANDLE DomainHandle, [in] DOMAIN_DISPLAY_INFORMATION DisplayInformationClass, [in] PRPC_UNICODE_STRING Prefix, [out] unsigned long *Index)
OLD_LARGE_INTEGER ForceLogoff
Definition: sam.idl:203
struct _SAMPR_USER_ADMIN_COMMENT_INFORMATION * PSAMPR_USER_ADMIN_COMMENT_INFORMATION
struct _SAMPR_DOMAIN_DISPLAY_OEM_USER_BUFFER SAMPR_DOMAIN_DISPLAY_OEM_USER_BUFFER
struct _SAM_VALIDATE_PASSWORD_RESET_INPUT_ARG SAM_VALIDATE_PASSWORD_RESET_INPUT_ARG
RPC_UNICODE_STRING UserAccountName
Definition: sam.idl:803
struct _SAMPR_ENCRYPTED_USER_PASSWORD_NEW SAMPR_ENCRYPTED_USER_PASSWORD_NEW
OLD_LARGE_INTEGER AccountExpires
Definition: sam.idl:471
_SAM_VALIDATE_VALIDATION_STATUS
Definition: sam.idl:772
SAMPR_USER_ALL_INFORMATION I1
Definition: sam.idl:668
NTSTATUS __stdcall SamrQuerySecurityObject([in] SAMPR_HANDLE ObjectHandle, [in] SECURITY_INFORMATION SecurityInformation, [out] PSAMPR_SR_SECURITY_DESCRIPTOR *SecurityDescriptor)
RPC_UNICODE_STRING AdminComment
Definition: sam.idl:523
union _SAMPR_DOMAIN_INFO_BUFFER * PSAMPR_DOMAIN_INFO_BUFFER
unsigned long UserAccountControl
Definition: sam.idl:581
_In_ USHORT _In_ ULONG _In_ PSOCKADDR _In_ PSOCKADDR _Reserved_ ULONG _In_opt_ PVOID _In_opt_ const WSK_CLIENT_CONNECTION_DISPATCH _In_opt_ PEPROCESS _In_opt_ PETHREAD _In_opt_ PSECURITY_DESCRIPTOR SecurityDescriptor
Definition: wsk.h:182
USER_LOGON_SUCCESS struct _SAMPR_USER_INTERNAL2_INFORMATION * PSAMPR_USER_INTERNAL2_INFORMATION
struct _SAMPR_DOMAIN_DISPLAY_MACHINE_BUFFER SAMPR_DOMAIN_DISPLAY_MACHINE_BUFFER
SAMPR_DOMAIN_DISPLAY_MACHINE_BUFFER MachineInformation
Definition: sam.idl:366
unsigned short LockoutThreshold
Definition: sam.idl:221
struct _DOMAIN_MODIFIED_INFORMATION * PDOMAIN_MODIFIED_INFORMATION
RPC_UNICODE_STRING ProfilePath
Definition: msv1_0.h:122
unsigned char PasswordMustChangeAtNextLogon
Definition: sam.idl:814
OLD_LARGE_INTEGER LastLogoff
Definition: msv1_0.h:112
struct _SAMPR_SR_SECURITY_DESCRIPTOR SAMPR_SR_SECURITY_DESCRIPTOR
SAMPR_DOMAIN_REPLICATION_INFORMATION Replication
Definition: sam.idl:273
NTSTATUS __stdcall SamrOpenDomain([in] SAMPR_HANDLE ServerHandle, [in] ACCESS_MASK DesiredAccess, [in] PRPC_SID DomainId, [out] SAMPR_HANDLE *DomainHandle)
struct _SAMPR_USER_ALL_INFORMATION * PSAMPR_USER_ALL_INFORMATION
DOMAIN_SERVER_ROLE DomainServerRole
Definition: ntsam.h:391
NTSTATUS __stdcall SamrSetInformationGroup([in] SAMPR_HANDLE GroupHandle, [in] GROUP_INFORMATION_CLASS GroupInformationClass, [in, switch_is(GroupInformationClass)] PSAMPR_GROUP_INFO_BUFFER Buffer)
wchar_t * PSAMPR_SERVER_NAME
Definition: authpackage.c:112
PSAMPR_RID_ENUMERATION Buffer
Definition: sam.idl:96
unsigned long UserAccountControl
Definition: sam.idl:559
RPC_UNICODE_STRING FullName
Definition: sam.idl:543
SAM_VALIDATE_STANDARD_OUTPUT_ARG ValidateAuthenticationOutput
Definition: sam.idl:827
unsigned char PrivateDataSensitive
Definition: msv1_0.h:143
DOMAIN_SERVER_ENABLE_STATE DomainServerState
Definition: ntsam.h:402
unsigned long UserId
Definition: msv1_0.h:131
OLD_LARGE_INTEGER LastLogoff
Definition: sam.idl:575
struct _SAMPR_REVISION_INFO_V1 SAMPR_REVISION_INFO_V1
struct _USER_DOMAIN_PASSWORD_INFORMATION * PUSER_DOMAIN_PASSWORD_INFORMATION
LONG NTSTATUS
Definition: precomp.h:26
RPC_UNICODE_STRING ReplicaSourceNodeName
Definition: sam.idl:206
DOMAIN_STATE_INFORMATION State
Definition: sam.idl:275
OLD_LARGE_INTEGER CreationTime
Definition: sam.idl:195
SAMPR_USER_PROFILE_INFORMATION Profile
Definition: sam.idl:732
struct _SAMPR_DOMAIN_DISPLAY_OEM_GROUP_BUFFER SAMPR_DOMAIN_DISPLAY_OEM_GROUP_BUFFER
SAM_VALIDATE_PASSWORD_RESET_INPUT_ARG ValidatePasswordResetInput
Definition: sam.idl:822
union _SAMPR_USER_INFO_BUFFER SAMPR_USER_INFO_BUFFER
struct _SAMPR_USER_PARAMETERS_INFORMATION * PSAMPR_USER_PARAMETERS_INFORMATION
RPC_UNICODE_STRING UserName
Definition: sam.idl:542
struct _DOMAIN_MODIFIED_INFORMATION2 * PDOMAIN_MODIFIED_INFORMATION2
unsigned short BadPasswordCount
Definition: sam.idl:577
unsigned long Rid
Definition: sam.idl:315
OLD_LARGE_INTEGER PasswordCanChange
Definition: msv1_0.h:115
NTSTATUS __stdcall SamrConnect([in, unique] PSAMPR_SERVER_NAME ServerName, [out] SAMPR_HANDLE *ServerHandle, [in] ACCESS_MASK DesiredAccess)
struct _SAMPR_GROUP_ADM_COMMENT_INFORMATION SAMPR_GROUP_ADM_COMMENT_INFORMATION
RPC_UNICODE_STRING ScriptPath
Definition: msv1_0.h:121
LARGE_INTEGER LockoutObservationWindow
Definition: sam.idl:243
struct _SAM_VALIDATE_AUTHENTICATION_INPUT_ARG * PSAM_VALIDATE_AUTHENTICATION_INPUT_ARG
_DOMAIN_INFORMATION_CLASS
Definition: ntsam.h:311
unsigned char * Hash
Definition: sam.idl:758
enum _PASSWORD_POLICY_VALIDATION_TYPE PASSWORD_POLICY_VALIDATION_TYPE
RPC_UNICODE_STRING HomeDirectory
Definition: msv1_0.h:119
OLD_LARGE_INTEGER PasswordLastSet
Definition: msv1_0.h:113
_Inout_ __drv_aliasesMem PSLIST_ENTRY _Inout_ PSLIST_ENTRY _In_ ULONG Count
Definition: exfuncs.h:1015
SAM_VALIDATE_PASSWORD_HASH HashedPassword
Definition: sam.idl:813
NTSTATUS __stdcall SamrAddMemberToGroup([in] SAMPR_HANDLE GroupHandle, [in] unsigned long MemberId, [in] unsigned long Attributes)
_In_ ULONG _Out_ HANDLE * BindingHandle
Definition: tdikrnl.h:1146
unsigned short CodePage
Definition: msv1_0.h:139
RPC_UNICODE_STRING FullName
Definition: sam.idl:565
unsigned short BadPasswordCount
Definition: msv1_0.h:105
PSAMPR_DOMAIN_DISPLAY_OEM_USER Buffer
Definition: sam.idl:354
struct _SAMPR_SID_INFORMATION SAMPR_SID_INFORMATION
struct _SAMPR_USER_ADMIN_COMMENT_INFORMATION SAMPR_USER_ADMIN_COMMENT_INFORMATION
struct _ENCRYPTED_LM_OWF_PASSWORD ENCRYPTED_LM_OWF_PASSWORD
NTSTATUS __stdcall SamrRemoveMemberFromForeignDomain([in] SAMPR_HANDLE DomainHandle, [in] PRPC_SID MemberSid)
RPC_UNICODE_STRING OemInformation
Definition: sam.idl:204
SAMPR_DOMAIN_DISPLAY_GROUP_BUFFER GroupInformation
Definition: sam.idl:367
RPC_UNICODE_STRING Name
Definition: sam.idl:387
SAM_VALIDATE_STANDARD_OUTPUT_ARG ValidatePasswordResetOutput
Definition: sam.idl:829
RPC_UNICODE_STRING AdminComment
Definition: sam.idl:392
enum _DOMAIN_SERVER_ENABLE_STATE DOMAIN_SERVER_ENABLE_STATE
RPC_UNICODE_STRING HomeDirectory
Definition: sam.idl:568
enum _DOMAIN_INFORMATION_CLASS DOMAIN_INFORMATION_CLASS
unsigned long RelativeId
Definition: sam.idl:108
RPC_UNICODE_STRING FullName
Definition: sam.idl:597
unsigned long Rid
Definition: sam.idl:296
unsigned long Length
Definition: sam.idl:757
char * Buffer
Definition: sam.idl:15
NTSTATUS __stdcall SamrCreateGroupInDomain([in] SAMPR_HANDLE DomainHandle, [in] PRPC_UNICODE_STRING Name, [in] ACCESS_MASK DesiredAccess, [out] SAMPR_HANDLE *GroupHandle, [out] unsigned long *RelativeId)
struct _SAMPR_DOMAIN_DISPLAY_GROUP_BUFFER * PSAMPR_DOMAIN_DISPLAY_GROUP_BUFFER
TOpcodeData Groups[17][8]
struct _SAMPR_GET_MEMBERS_BUFFER * PSAMPR_GET_MEMBERS_BUFFER
unsigned long Index
Definition: sam.idl:295
unsigned long PrimaryGroupId
Definition: sam.idl:545
SAMPR_DOMAIN_LOCKOUT_INFORMATION Lockout
Definition: sam.idl:277
RPC_UNICODE_STRING DomainName
Definition: sam.idl:232
struct _SAMPR_DOMAIN_DISPLAY_OEM_USER * PSAMPR_DOMAIN_DISPLAY_OEM_USER
SAMPR_USER_NAME_INFORMATION Name
Definition: sam.idl:726
RPC_UNICODE_STRING HomeDirectoryDrive
Definition: sam.idl:603
struct _SAMPR_USER_F_NAME_INFORMATION SAMPR_USER_F_NAME_INFORMATION
struct _ENCRYPTED_LM_OWF_PASSWORD * PNT_OWF_PASSWORD
SAMPR_USER_WORKSTATIONS_INFORMATION WorkStations
Definition: sam.idl:734
OLD_LARGE_INTEGER PasswordLastSet
Definition: sam.idl:579
RPC_UNICODE_STRING PrivateData
Definition: msv1_0.h:129
unsigned long PasswordHistoryLength
Definition: sam.idl:768
struct _SAM_VALIDATE_STANDARD_OUTPUT_ARG * PSAM_VALIDATE_STANDARD_OUTPUT_ARG
NTSTATUS __stdcall SamrAddMultipleMembersToAlias([in] SAMPR_HANDLE AliasHandle, [in] PSAMPR_PSID_ARRAY MembersBuffer)
RPC_UNICODE_STRING UserName
Definition: sam.idl:586
NTSTATUS __stdcall SamrChangePasswordUser([in] SAMPR_HANDLE UserHandle, [in] unsigned char LmPresent, [in, unique] PENCRYPTED_LM_OWF_PASSWORD OldLmEncryptedWithNewLm, [in, unique] PENCRYPTED_LM_OWF_PASSWORD NewLmEncryptedWithOldLm, [in] unsigned char NtPresent, [in, unique] PENCRYPTED_NT_OWF_PASSWORD OldNtEncryptedWithNewNt, [in, unique] PENCRYPTED_NT_OWF_PASSWORD NewNtEncryptedWithOldNt, [in] unsigned char NtCrossEncryptionPresent, [in, unique] PENCRYPTED_NT_OWF_PASSWORD NewNtEncryptedWithNewLm, [in] unsigned char LmCrossEncryptionPresent, [in, unique] PENCRYPTED_LM_OWF_PASSWORD NewLmEncryptedWithNewNt)
NTSTATUS __stdcall SamrEnumerateGroupsInDomain([in] SAMPR_HANDLE DomainHandle, [in, out] unsigned long *EnumerationContext, [out] PSAMPR_ENUMERATION_BUFFER *Buffer, [in] unsigned long PreferedMaximumLength, [out] unsigned long *CountReturned)
coclass AMMultiMediaStream cpp_quote("DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") cpp_quote("DEFINE_GUID(CLSID_AMAudioStream
NTSTATUS __stdcall SamrGetGroupsForUser([in] SAMPR_HANDLE UserHandle, [out] PSAMPR_GET_GROUPS_BUFFER *Groups)
struct _SAMPR_USER_HOME_INFORMATION SAMPR_USER_HOME_INFORMATION
RPC_UNICODE_STRING FullName
Definition: msv1_0.h:118
struct _SAM_VALIDATE_PERSISTED_FIELDS SAM_VALIDATE_PERSISTED_FIELDS
NTSTATUS __stdcall SamrLookupIdsInDomain([in] SAMPR_HANDLE DomainHandle, [in, range(0, 1000)] unsigned long Count, [in, size_is(1000), length_is(Count)] unsigned long *RelativeIds, [out] PSAMPR_RETURNED_USTRING_ARRAY Names, [out] PSAMPR_ULONG_ARRAY Use)
struct _SAMPR_USER_A_NAME_INFORMATION * PSAMPR_USER_A_NAME_INFORMATION
struct _SAMPR_USER_INTERNAL5_INFORMATION_NEW SAMPR_USER_INTERNAL5_INFORMATION_NEW
SAM_VALIDATE_PERSISTED_FIELDS InputPersistedFields
Definition: sam.idl:810
union _SAM_VALIDATE_INPUT_ARG SAM_VALIDATE_INPUT_ARG
RPC_UNICODE_STRING DomainName
Definition: sam.idl:205
struct _SAMPR_RETURNED_USTRING_ARRAY SAMPR_RETURNED_USTRING_ARRAY
struct _SAMPR_USER_WORKSTATIONS_INFORMATION * PSAMPR_USER_WORKSTATIONS_INFORMATION
struct _USER_PRIMARY_GROUP_INFORMATION * PUSER_PRIMARY_GROUP_INFORMATION
struct _SAMPR_DOMAIN_DISPLAY_OEM_GROUP SAMPR_DOMAIN_DISPLAY_OEM_GROUP
NTSTATUS __stdcall SamrQueryDisplayInformation2([in] SAMPR_HANDLE DomainHandle, [in] DOMAIN_DISPLAY_INFORMATION DisplayInformationClass, [in] unsigned long Index, [in] unsigned long EntryCount, [in] unsigned long PreferredMaximumLength, [out] unsigned long *TotalAvailable, [out] unsigned long *TotalReturned, [out, switch_is(DisplayInformationClass)] PSAMPR_DISPLAY_INFO_BUFFER Buffer)
struct _SAMPR_DOMAIN_LOCKOUT_INFORMATION SAMPR_DOMAIN_LOCKOUT_INFORMATION
SAMPR_USER_SET_PASSWORD_INFORMATION SetPassword
Definition: sam.idl:735
struct _SAMPR_GROUP_NAME_INFORMATION SAMPR_GROUP_NAME_INFORMATION
OLD_LARGE_INTEGER MaxPasswordAge
Definition: sam.idl:170
unsigned long PasswordProperties
Definition: sam.idl:140
struct _SAMPR_DOMAIN_NAME_INFORMATION * PSAMPR_DOMAIN_NAME_INFORMATION
struct _USER_EXPIRES_INFORMATION * PUSER_EXPIRES_INFORMATION
enum _SID_NAME_USE * PSID_NAME_USE
SAMPR_ALIAS_NAME_INFORMATION Name
Definition: sam.idl:444
NTSTATUS __stdcall SamrOpenUser([in] SAMPR_HANDLE DomainHandle, [in] ACCESS_MASK DesiredAccess, [in] ULONG UserId, [out] SAMPR_HANDLE *UserHandle)
_USER_INFORMATION_CLASS
Definition: ntsam.h:484
unsigned long Length
Definition: msv1_0.h:76
RPC_UNICODE_STRING FullName
Definition: sam.idl:591
struct _SAMPR_USER_INTERNAL1_INFORMATION * PSAMPR_USER_INTERNAL1_INFORMATION
union _SAMPR_GROUP_INFO_BUFFER * PSAMPR_GROUP_INFO_BUFFER
enum _DOMAIN_SERVER_ROLE * PDOMAIN_SERVER_ROLE
struct SAMPR_DOMAIN_REPLICATION_INFORMATION * PSAMPR_DOMAIN_REPLICATION_INFORMATION
NTSTATUS __stdcall SamrRemoveMemberFromGroup([in] SAMPR_HANDLE GroupHandle, [in] unsigned long MemberId)
SAMPR_GROUP_NAME_INFORMATION Name
Definition: sam.idl:409
struct _SAMPR_USER_HOME_INFORMATION * PSAMPR_USER_HOME_INFORMATION
struct _DOMAIN_LOGOFF_INFORMATION * PDOMAIN_LOGOFF_INFORMATION
struct _SAMPR_ALIAS_NAME_INFORMATION * PSAMPR_ALIAS_NAME_INFORMATION
enum _ALIAS_INFORMATION_CLASS ALIAS_INFORMATION_CLASS
struct _SAMPR_DOMAIN_DISPLAY_MACHINE SAMPR_DOMAIN_DISPLAY_MACHINE
SAMPR_DOMAIN_DISPLAY_OEM_GROUP_BUFFER OemGroupInformation
Definition: sam.idl:369
struct _SAMPR_DOMAIN_NAME_INFORMATION SAMPR_DOMAIN_NAME_INFORMATION
RPC_UNICODE_STRING ClearPassword
Definition: sam.idl:802
RPC_UNICODE_STRING Name
Definition: sam.idl:379
struct _RPC_STRING RPC_STRING
enum _GROUP_INFORMATION_CLASS GROUP_INFORMATION_CLASS
NTSTATUS __stdcall SamrConnect5([in, unique, string] PSAMPR_SERVER_NAME ServerName, [in] ACCESS_MASK DesiredAccess, [in] unsigned long InVersion, [in, switch_is(InVersion)] SAMPR_REVISION_INFO *InRevisionInfo, [out] unsigned long *OutVersion, [out, switch_is(*OutVersion)] SAMPR_REVISION_INFO *OutRevisionInfo, [out] SAMPR_HANDLE *ServerHandle)
SAMPR_DOMAIN_GENERAL_INFORMATION I1
Definition: sam.idl:218
DWORD SECURITY_INFORMATION
Definition: ms-dtyp.idl:311
struct _SAMPR_ALIAS_NAME_INFORMATION SAMPR_ALIAS_NAME_INFORMATION
SAMPR_SR_SECURITY_DESCRIPTOR SecurityDescriptor
Definition: msv1_0.h:130
NTSTATUS __stdcall SamrSetDSRMPassword([in] handle_t BindingHandle, [in, unique] PRPC_UNICODE_STRING Unused, [in] unsigned long UserId, [in, unique] PENCRYPTED_NT_OWF_PASSWORD EncryptedNtOwfPassword)
union @3298 SAMPR_REVISION_INFO
struct _SAMPR_DOMAIN_DISPLAY_OEM_GROUP * PSAMPR_DOMAIN_DISPLAY_OEM_GROUP
struct _SAMPR_USER_F_NAME_INFORMATION * PSAMPR_USER_F_NAME_INFORMATION
struct _SAMPR_USER_NAME_INFORMATION SAMPR_USER_NAME_INFORMATION
struct _SAMPR_RID_ENUMERATION SAMPR_RID_ENUMERATION
USHORT MaximumLength
Definition: eventlogrpc.idl:18
struct _ENCRYPTED_LM_OWF_PASSWORD LM_OWF_PASSWORD
NTSTATUS __stdcall SamrEnumerateAliasesInDomain([in] SAMPR_HANDLE DomainHandle, [in, out] unsigned long *EnumerationContext, [out] PSAMPR_ENUMERATION_BUFFER *Buffer, [in] unsigned long PreferedMaximumLength, [out] unsigned long *CountReturned)
_SID_NAME_USE
Definition: lsa.idl:117
DOMAIN_MODIFIED_INFORMATION Modified
Definition: sam.idl:274
SAMPR_USER_GENERAL_INFORMATION General
Definition: sam.idl:721
struct _SAMPR_DOMAIN_DISPLAY_USER_BUFFER * PSAMPR_DOMAIN_DISPLAY_USER_BUFFER
unsigned long WhichFields
Definition: msv1_0.h:134
struct _SAMPR_ALIAS_ADM_COMMENT_INFORMATION SAMPR_ALIAS_ADM_COMMENT_INFORMATION
RPC_UNICODE_STRING ProfilePath
Definition: sam.idl:549
struct _SAMPR_DOMAIN_DISPLAY_OEM_USER SAMPR_DOMAIN_DISPLAY_OEM_USER
struct _SAMPR_LOGON_HOURS SAMPR_LOGON_HOURS
unsigned long UserId
Definition: sam.idl:544
PRPC_UNICODE_STRING Element
Definition: lookup.c:22
unsigned char BOOLEAN
OLD_LARGE_INTEGER LastLogoff
Definition: msv1_0.h:104
NTSTATUS __stdcall SamrRidToSid([in] SAMPR_HANDLE ObjectHandle, [in] unsigned long Rid, [out] PRPC_SID *Sid)
NTSTATUS __stdcall SamrAddMemberToAlias([in] SAMPR_HANDLE AliasHandle, [in] PRPC_SID MemberId)
unsigned char * SecurityDescriptor
Definition: msv1_0.h:77
struct _SAMPR_PSID_ARRAY SAMPR_PSID_ARRAY
static const WCHAR version[]
Definition: asmname.c:66
enum _DOMAIN_INFORMATION_CLASS DOMAIN_INFORMATION_CLASS
RPC_UNICODE_STRING AdminComment
Definition: sam.idl:618
LARGE_INTEGER PasswordLastSet
Definition: sam.idl:764
_DOMAIN_SERVER_ROLE
Definition: ntsam.h:334
struct _USER_CONTROL_INFORMATION * PUSER_CONTROL_INFORMATION
_In_ ULONG _In_ ACCESS_MASK _In_ PSID Sid
Definition: rtlfuncs.h:1104
RPC_UNICODE_STRING FullName
Definition: sam.idl:521
struct _SAMPR_USER_NAME_INFORMATION * PSAMPR_USER_NAME_INFORMATION
_Must_inspect_result_ _In_ PFILE_OBJECT _In_ SECURITY_INFORMATION SecurityInformation
Definition: fltkernel.h:1339
struct _SAMPR_DOMAIN_DISPLAY_GROUP * PSAMPR_DOMAIN_DISPLAY_GROUP
_ALIAS_INFORMATION_CLASS
Definition: ntsam.h:277
Definition: bufpool.h:45
SAMPR_ENCRYPTED_USER_PASSWORD_NEW UserPassword
Definition: sam.idl:669
OLD_LARGE_INTEGER AccountExpires
Definition: msv1_0.h:114
OLD_LARGE_INTEGER LastLogon
Definition: msv1_0.h:111
struct _SAMPR_USER_PROFILE_INFORMATION SAMPR_USER_PROFILE_INFORMATION
SAMPR_LOGON_HOURS LogonHours
Definition: sam.idl:556
SAMPR_REVISION_INFO_V1 V1
Definition: sam.idl:134
SAMPR_LOGON_HOURS LogonHours
Definition: sam.idl:576
OLD_LARGE_INTEGER PasswordLastSet
Definition: sam.idl:553
unsigned long PrimaryGroupId
Definition: sam.idl:461
unsigned long Count
Definition: lsasrv.h:87
struct _SAMPR_USER_INTERNAL4_INFORMATION_NEW SAMPR_USER_INTERNAL4_INFORMATION_NEW
DOMAIN_LOGOFF_INFORMATION Logoff
Definition: sam.idl:269
SAM_VALIDATE_STANDARD_OUTPUT_ARG ValidatePasswordChangeOutput
Definition: sam.idl:828
struct _SAMPR_ALIAS_GENERAL_INFORMATION SAMPR_ALIAS_GENERAL_INFORMATION
SAMPR_USER_LOGON_INFORMATION Logon
Definition: sam.idl:723
NTSTATUS __stdcall SamrUnicodeChangePasswordUser3([in] handle_t BindingHandle)
union _SAMPR_DOMAIN_INFO_BUFFER SAMPR_DOMAIN_INFO_BUFFER
OLD_LARGE_INTEGER MinPasswordAge
Definition: sam.idl:171
struct _SAMPR_PSID_ARRAY * PSAMPR_PSID_ARRAY
NTSTATUS __stdcall SamrConnect3([in] handle_t BindingHandle)
SAMPR_GROUP_ADM_COMMENT_INFORMATION AdminComment
Definition: sam.idl:411
NTSTATUS __stdcall SamrDeleteAlias([in, out] SAMPR_HANDLE *AliasHandle)
SAMPR_DOMAIN_GENERAL_INFORMATION General
Definition: sam.idl:268
RPC_UNICODE_STRING Name
Definition: sam.idl:417
RPC_UNICODE_STRING AccountName
Definition: sam.idl:317
struct _SAMPR_GET_GROUPS_BUFFER * PSAMPR_GET_GROUPS_BUFFER
union _SAMPR_ALIAS_INFO_BUFFER SAMPR_ALIAS_INFO_BUFFER
SAMPR_USER_ACCOUNT_INFORMATION Account
Definition: sam.idl:725
RPC_UNICODE_STRING UserComment
Definition: sam.idl:524
SAMPR_USER_LOGON_HOURS_INFORMATION LogonHours
Definition: sam.idl:724
struct _SAMPR_ALIAS_GENERAL_INFORMATION * PSAMPR_ALIAS_GENERAL_INFORMATION
struct _SAMPR_ENCRYPTED_USER_PASSWORD SAMPR_ENCRYPTED_USER_PASSWORD
LARGE_INTEGER BadPasswordTime
Definition: sam.idl:765
PSAMPR_DOMAIN_DISPLAY_OEM_GROUP Buffer
Definition: sam.idl:360
union _SAMPR_DISPLAY_INFO_BUFFER SAMPR_DISPLAY_INFO_BUFFER
struct _SAMPR_GROUP_ATTRIBUTE_INFORMATION * PSAMPR_GROUP_ATTRIBUTE_INFORMATION
_In_ HANDLE Handle
Definition: extypes.h:390
NTSTATUS __stdcall SamrConnect2([in, unique, string] PSAMPR_SERVER_NAME ServerName, [out] SAMPR_HANDLE *ServerHandle, [in] ACCESS_MASK DesiredAccess)
struct _SAMPR_SID_INFORMATION * PSAMPR_SID_INFORMATION
OLD_LARGE_INTEGER PasswordMustChange
Definition: msv1_0.h:116
LARGE_INTEGER LockoutObservationWindow
Definition: sam.idl:220
RPC_UNICODE_STRING Password
Definition: sam.idl:629
NTSTATUS __stdcall SamrOpenAlias([in] SAMPR_HANDLE DomainHandle, [in] ACCESS_MASK DesiredAccess, [in] ULONG AliasId, [out] SAMPR_HANDLE *AliasHandle)
NTSTATUS __stdcall SamrCreateUserInDomain([in] SAMPR_HANDLE DomainHandle, [in] PRPC_UNICODE_STRING Name, [in] ACCESS_MASK DesiredAccess, [out] SAMPR_HANDLE *UserHandle, [out] unsigned long *RelativeId)
SAMPR_USER_INTERNAL1_INFORMATION Internal1
Definition: sam.idl:738
unsigned long BadPasswordCount
Definition: sam.idl:767
struct _SAMPR_USER_SCRIPT_INFORMATION * PSAMPR_USER_SCRIPT_INFORMATION
SAMPR_USER_PARAMETERS_INFORMATION Parameters
Definition: sam.idl:740
SAMPR_USER_ALL_INFORMATION I1
Definition: sam.idl:662
struct _DOMAIN_STATE_INFORMATION * PDOMAIN_STATE_INFORMATION
NTSTATUS __stdcall SamrConnect4([in, unique, string] PSAMPR_SERVER_NAME ServerName, [out] SAMPR_HANDLE *ServerHandle, [in] unsigned long ClientRevision, [in] ACCESS_MASK DesiredAccess)
struct _SAMPR_DOMAIN_DISPLAY_OEM_USER_BUFFER * PSAMPR_DOMAIN_DISPLAY_OEM_USER_BUFFER
struct _USER_PRIMARY_GROUP_INFORMATION USER_PRIMARY_GROUP_INFORMATION
OLD_LARGE_INTEGER DomainModifiedCount
Definition: sam.idl:194
OLD_LARGE_INTEGER LastLogon
Definition: msv1_0.h:103
union _SAMPR_USER_INFO_BUFFER * PSAMPR_USER_INFO_BUFFER
NTSTATUS __stdcall SamrDeleteUser([in, out] SAMPR_HANDLE *UserHandle)
struct _SAMPR_USER_INTERNAL5_INFORMATION SAMPR_USER_INTERNAL5_INFORMATION
SAMPR_GROUP_GENERAL_INFORMATION General
Definition: sam.idl:408
unsigned long Count
Definition: sam.idl:55
NTSTATUS __stdcall SamrSetInformationUser2([in] SAMPR_HANDLE UserHandle, [in] USER_INFORMATION_CLASS UserInformationClass, [in, switch_is(UserInformationClass)] PSAMPR_USER_INFO_BUFFER Buffer)
struct _SAMPR_USER_PROFILE_INFORMATION * PSAMPR_USER_PROFILE_INFORMATION
struct _SAMPR_ENUMERATION_BUFFER SAMPR_ENUMERATION_BUFFER
unsigned short LockoutThreshold
Definition: sam.idl:244
ENCRYPTED_NT_OWF_PASSWORD EncryptedNtOwfPassword
Definition: sam.idl:640
_DOMAIN_DISPLAY_INFORMATION
Definition: ntsam.h:301
unsigned short LogonCount
Definition: msv1_0.h:137
union _SAMPR_DISPLAY_INFO_BUFFER * PSAMPR_DISPLAY_INFO_BUFFER
DOMAIN_PASSWORD_INFORMATION Password
Definition: sam.idl:267
SAMPR_USER_SCRIPT_INFORMATION Script
Definition: sam.idl:731
RPC_UNICODE_STRING Name
Definition: sam.idl:424
enum _DOMAIN_SERVER_ROLE DOMAIN_SERVER_ROLE
struct _SAMPR_GROUP_ATTRIBUTE_INFORMATION SAMPR_GROUP_ATTRIBUTE_INFORMATION
unsigned short MinPasswordLength
Definition: sam.idl:139
static const UCHAR Index[8]
Definition: usbohci.c:18
struct _SAMPR_USER_LOGON_INFORMATION * PSAMPR_USER_LOGON_INFORMATION
OLD_LARGE_INTEGER ForceLogoff
Definition: sam.idl:178
struct endpoint endpoint
Definition: nis.h:15
struct _SAMPR_PSID_ARRAY_OUT * PSAMPR_PSID_ARRAY_OUT
NTSTATUS __stdcall SamrEnumerateDomainsInSamServer([in] SAMPR_HANDLE ServerHandle, [in, out] unsigned long *EnumerationContext, [out] PSAMPR_ENUMERATION_BUFFER *Buffer, [in] unsigned long PreferedMaximumLength, [out] unsigned long *CountReturned)
static FILE * out
Definition: regtests2xml.c:44
enum _DOMAIN_SERVER_ROLE DOMAIN_SERVER_ROLE
struct _RPC_STRING * PRPC_STRING
PSAMPR_SID_INFORMATION Sids
Definition: authpackage.c:123
NTSTATUS __stdcall SamrSetSecurityObject([in] SAMPR_HANDLE ObjectHandle, [in] SECURITY_INFORMATION SecurityInformation, [in] PSAMPR_SR_SECURITY_DESCRIPTOR SecurityDescriptor)
RPC_UNICODE_STRING AdminComment
Definition: sam.idl:318
struct _SAMPR_ENUMERATION_BUFFER * PSAMPR_ENUMERATION_BUFFER
union _SAM_VALIDATE_OUTPUT_ARG * PSAM_VALIDATE_OUTPUT_ARG
struct RPC_SHORT_BLOB * PRPC_SHORT_BLOB
NTSTATUS __stdcall SamrQueryInformationDomain2([in] SAMPR_HANDLE DomainHandle, [in] DOMAIN_INFORMATION_CLASS DomainInformationClass, [out, switch_is(DomainInformationClass)] PSAMPR_DOMAIN_INFO_BUFFER *Buffer)
#define __stdcall
Definition: typedefs.h:25
SAM_VALIDATE_PERSISTED_FIELDS InputPersistedFields
Definition: sam.idl:795
SAMPR_DOMAIN_DISPLAY_OEM_USER_BUFFER OemUserInformation
Definition: sam.idl:368
OLD_LARGE_INTEGER DomainModifiedCount
Definition: sam.idl:188
NTSTATUS __stdcall SamrShutdownSamServer([in] SAMPR_HANDLE ServerHandle)
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
RPC_UNICODE_STRING ProfilePath
Definition: sam.idl:571
struct _SAMPR_USER_SCRIPT_INFORMATION SAMPR_USER_SCRIPT_INFORMATION
NTSTATUS __stdcall SamrGetUserDomainPasswordInformation([in] SAMPR_HANDLE UserHandle, [out] PUSER_DOMAIN_PASSWORD_INFORMATION PasswordInformation)
SAMPR_LOGON_HOURS LogonHours
Definition: msv1_0.h:135
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
enum _ALIAS_INFORMATION_CLASS ALIAS_INFORMATION_CLASS
RPC_UNICODE_STRING ScriptPath
Definition: sam.idl:548
SAM_VALIDATE_PASSWORD_CHANGE_INPUT_ARG ValidatePasswordChangeInput
Definition: sam.idl:821
NTSTATUS __stdcall SamrQueryInformationGroup([in] SAMPR_HANDLE GroupHandle, [in] GROUP_INFORMATION_CLASS GroupInformationClass, [out, switch_is(GroupInformationClass)] PSAMPR_GROUP_INFO_BUFFER *Buffer)
struct _GROUP_MEMBERSHIP * PGROUP_MEMBERSHIP
unsigned long PrimaryGroupId
Definition: msv1_0.h:132
NTSTATUS __stdcall SamrDeleteGroup([in, out] SAMPR_HANDLE *GroupHandle)
struct _ENCRYPTED_LM_OWF_PASSWORD NT_OWF_PASSWORD
NTSTATUS __stdcall SamrGetDomainPasswordInformation([in] handle_t BindingHandle, [in, unique] PRPC_UNICODE_STRING Unused, [out] PUSER_DOMAIN_PASSWORD_INFORMATION PasswordInformation)
struct _USER_EXPIRES_INFORMATION USER_EXPIRES_INFORMATION
wchar_t * PSAMPR_SERVER_NAME
Definition: sam.idl:24
USER_EXPIRES_INFORMATION Expires
Definition: sam.idl:737
SAMPR_USER_PREFERENCES_INFORMATION Preferences
Definition: sam.idl:722
OLD_LARGE_INTEGER PasswordCanChange
Definition: sam.idl:554
struct _SAMPR_PSID_ARRAY_OUT SAMPR_PSID_ARRAY_OUT
NTSTATUS __stdcall SamrQueryDisplayInformation3([in] SAMPR_HANDLE DomainHandle, [in] DOMAIN_DISPLAY_INFORMATION DisplayInformationClass, [in] unsigned long Index, [in] unsigned long EntryCount, [in] unsigned long PreferredMaximumLength, [out] unsigned long *TotalAvailable, [out] unsigned long *TotalReturned, [out, switch_is(DisplayInformationClass)] PSAMPR_DISPLAY_INFO_BUFFER Buffer)
enum _DOMAIN_DISPLAY_INFORMATION * PDOMAIN_DISPLAY_INFORMATION
RPC_UNICODE_STRING HomeDirectory
Definition: sam.idl:546
struct _SAMPR_GET_GROUPS_BUFFER SAMPR_GET_GROUPS_BUFFER
PSAMPR_SID_INFORMATION Sids
Definition: sam.idl:56
RPC_UNICODE_STRING ScriptPath
Definition: sam.idl:608
NTSTATUS __stdcall SamrRemoveMultipleMembersFromAlias([in] SAMPR_HANDLE AliasHandle, [in] PSAMPR_PSID_ARRAY MembersBuffer)
RPC_UNICODE_STRING ClearPassword
Definition: sam.idl:811
OLD_LARGE_INTEGER PasswordMustChange
Definition: sam.idl:555
USER_CONTROL_INFORMATION Control
Definition: sam.idl:736
struct _SAMPR_ALIAS_ADM_COMMENT_INFORMATION * PSAMPR_ALIAS_ADM_COMMENT_INFORMATION
struct _SAMPR_USER_LOGON_HOURS_INFORMATION SAMPR_USER_LOGON_HOURS_INFORMATION
NTSTATUS __stdcall SamrCreateUser2InDomain([in] SAMPR_HANDLE DomainHandle, [in] PRPC_UNICODE_STRING Name, [in] unsigned long AccountType, [in] ACCESS_MASK DesiredAccess, [out] SAMPR_HANDLE *UserHandle, [out] unsigned long *GrantedAccess, [out] unsigned long *RelativeId)
RPC_UNICODE_STRING HomeDirectoryDrive
Definition: sam.idl:569
NTSTATUS __stdcall SamrCloseHandle([in, out] SAMPR_HANDLE *SamHandle)
unsigned short MaximumLength
Definition: sam.idl:14
RPC_UNICODE_STRING AdminComment
Definition: sam.idl:382
struct _DOMAIN_SERVER_ROLE_INFORMATION * PDOMAIN_SERVER_ROLE_INFORMATION
NTSTATUS __stdcall SamrEnumerateUsersInDomain([in] SAMPR_HANDLE DomainHandle, [in, out] unsigned long *EnumerationContext, [in] unsigned long UserAccountControl, [out] PSAMPR_ENUMERATION_BUFFER *Buffer, [in] unsigned long PreferedMaximumLength, [out] unsigned long *CountReturned)
OLD_LARGE_INTEGER DomainModifiedCount
Definition: sam.idl:207
unsigned char LmPasswordPresent
Definition: msv1_0.h:140
unsigned long AccountControl
Definition: sam.idl:297
unsigned short BadPasswordCount
Definition: sam.idl:557
RPC_UNICODE_STRING UserComment
Definition: msv1_0.h:125
struct _SAMPR_USER_INTERNAL1_INFORMATION SAMPR_USER_INTERNAL1_INFORMATION
PSAMPR_DOMAIN_DISPLAY_GROUP Buffer
Definition: sam.idl:348
SAM_VALIDATE_VALIDATION_STATUS ValidationStatus
Definition: sam.idl:790
struct _ENCRYPTED_LM_OWF_PASSWORD * PENCRYPTED_NT_OWF_PASSWORD
SAMPR_DOMAIN_DISPLAY_USER_BUFFER UserInformation
Definition: sam.idl:365
USER_LOGON_SUCCESS struct _SAMPR_USER_INTERNAL2_INFORMATION SAMPR_USER_INTERNAL2_INFORMATION
OLD_LARGE_INTEGER ModifiedCountAtLastPromotion
Definition: sam.idl:196
RPC_UNICODE_STRING OemInformation
Definition: sam.idl:227
struct _SAMPR_REVISION_INFO_V1 * PSAMPR_REVISION_INFO_V1
struct _SAMPR_USER_INTERNAL4_INFORMATION_NEW * PSAMPR_USER_INTERNAL4_INFORMATION_NEW
_DOMAIN_SERVER_ENABLE_STATE
Definition: ntsam.h:328
RPC_UNICODE_STRING ReplicaSourceNodeName
Definition: sam.idl:237
SAMPR_USER_F_NAME_INFORMATION FullName
Definition: sam.idl:728
struct _SAMPR_SR_SECURITY_DESCRIPTOR * PSAMPR_SR_SECURITY_DESCRIPTOR
NTSTATUS __stdcall SamrLookupDomainInSamServer([in] SAMPR_HANDLE ServerHandle, [in] PRPC_UNICODE_STRING Name, [out] PRPC_SID *DomainId)
unsigned long Revision
Definition: sam.idl:128
struct _SAMPR_ENCRYPTED_USER_PASSWORD * PSAMPR_ENCRYPTED_USER_PASSWORD
unsigned char PasswordExpired
Definition: msv1_0.h:142
DOMAIN_MODIFIED_INFORMATION2 Modified2
Definition: sam.idl:278
GLenum GLint * range
Definition: glext.h:7539
RPC_UNICODE_STRING UserName
Definition: sam.idl:564
RPC_UNICODE_STRING AdminComment
Definition: sam.idl:429
RPC_UNICODE_STRING AdminComment
Definition: msv1_0.h:123
void * SAMPR_HANDLE
Definition: sam.idl:26
struct _SAMPR_GET_MEMBERS_BUFFER SAMPR_GET_MEMBERS_BUFFER
struct _SAMPR_USER_INTERNAL5_INFORMATION_NEW * PSAMPR_USER_INTERNAL5_INFORMATION_NEW
NTSTATUS __stdcall SamrSetBootKeyInformation([in] handle_t BindingHandle)
struct _SAMPR_USER_INTERNAL5_INFORMATION * PSAMPR_USER_INTERNAL5_INFORMATION
NTSTATUS __stdcall SamrSetInformationUser([in] SAMPR_HANDLE UserHandle, [in] USER_INFORMATION_CLASS UserInformationClass, [in, switch_is(UserInformationClass)] PSAMPR_USER_INFO_BUFFER Buffer)
UnicodeString MaximumLength
Definition: rtlfuncs.h:2982
unsigned long Attributes
Definition: sam.idl:316
RPC_UNICODE_STRING AdminComment
Definition: sam.idl:299
unsigned long Count
Definition: authpackage.c:122
struct _SAMPR_GROUP_GENERAL_INFORMATION * PSAMPR_GROUP_GENERAL_INFORMATION
PSAMPR_DOMAIN_DISPLAY_MACHINE Buffer
Definition: sam.idl:342
struct _SAMPR_USER_GENERAL_INFORMATION * PSAMPR_USER_GENERAL_INFORMATION
NTSTATUS __stdcall SamrTestPrivateFunctionsUser([in] SAMPR_HANDLE UserHandle)
_Must_inspect_result_ _In_ USHORT _In_ PHIDP_PREPARSED_DATA _Out_writes_to_ LengthAttributes PHIDP_EXTENDED_ATTRIBUTES Attributes
Definition: hidpi.h:348
enum _DOMAIN_SERVER_ENABLE_STATE * PDOMAIN_SERVER_ENABLE_STATE
union _SAM_VALIDATE_INPUT_ARG * PSAM_VALIDATE_INPUT_ARG
struct _SAMPR_USER_SET_PASSWORD_INFORMATION * PSAMPR_USER_SET_PASSWORD_INFORMATION
RPC_UNICODE_STRING UserAccountName
Definition: sam.idl:812
SAM_VALIDATE_AUTHENTICATION_INPUT_ARG ValidateAuthenticationInput
Definition: sam.idl:820
ENCRYPTED_LM_OWF_PASSWORD EncryptedLmOwfPassword
Definition: sam.idl:641
SAMPR_ALIAS_GENERAL_INFORMATION General
Definition: sam.idl:443
unsigned long Index
Definition: sam.idl:314
NTSTATUS __stdcall SamrCreateAliasInDomain([in] SAMPR_HANDLE DomainHandle, [in] PRPC_UNICODE_STRING AccountName, [in] ACCESS_MASK DesiredAccess, [out] SAMPR_HANDLE *AliasHandle, [out] unsigned long *RelativeId)
GLuint in
Definition: glext.h:9616
LARGE_INTEGER LockoutTime
Definition: sam.idl:766
static unsigned char pointer_default
Definition: parser.tab.c:114
RPC_UNICODE_STRING Name
Definition: sam.idl:90
SAM_VALIDATE_PERSISTED_FIELDS ChangedPersistedFields
Definition: sam.idl:789
NTSTATUS __stdcall SamrOpenGroup([in] SAMPR_HANDLE DomainHandle, [in] ACCESS_MASK DesiredAccess, [in] unsigned long GroupId, [out] SAMPR_HANDLE *GroupHandle)
PGROUP_MEMBERSHIP Groups
Definition: sam.idl:116
unsigned long AccountControl
Definition: sam.idl:307
RPC_UNICODE_STRING UserComment
Definition: sam.idl:529
unsigned short USHORT
Definition: pedump.c:61
struct _SAMPR_USER_LOGON_HOURS_INFORMATION * PSAMPR_USER_LOGON_HOURS_INFORMATION
PSAM_VALIDATE_PASSWORD_HASH PasswordHistory
Definition: sam.idl:769
OLD_LARGE_INTEGER LastLogon
Definition: sam.idl:574
struct _SAMPR_DOMAIN_DISPLAY_MACHINE_BUFFER * PSAMPR_DOMAIN_DISPLAY_MACHINE_BUFFER
struct _SAMPR_DOMAIN_GENERAL_INFORMATION2 * PSAMPR_DOMAIN_GENERAL_INFORMATION2
struct _SAM_VALIDATE_STANDARD_OUTPUT_ARG SAM_VALIDATE_STANDARD_OUTPUT_ARG
unsigned long PrimaryGroupId
Definition: sam.idl:567
RPC_UNICODE_STRING UserName
Definition: sam.idl:596
LARGE_INTEGER LockoutDuration
Definition: sam.idl:242
unsigned long UserAccountControl
Definition: msv1_0.h:133
unsigned long LowPart
Definition: msv1_0.h:63
SAM_VALIDATE_PASSWORD_HASH HashedPassword
Definition: sam.idl:804
struct _SAMPR_DOMAIN_OEM_INFORMATION SAMPR_DOMAIN_OEM_INFORMATION
_In_ PIO_STACK_LOCATION _Inout_ PFILE_OBJECT _Inout_ PVCB _Outptr_result_maybenull_ PDCB _In_ PDCB _In_ PDIRENT _In_ ULONG _In_ ULONG _In_ PUNICODE_STRING _In_ PACCESS_MASK DesiredAccess
Definition: create.c:4157
struct _SAMPR_DOMAIN_DISPLAY_GROUP_BUFFER SAMPR_DOMAIN_DISPLAY_GROUP_BUFFER
struct _SAMPR_RETURNED_USTRING_ARRAY * PSAMPR_RETURNED_USTRING_ARRAY
SAMPR_USER_ADMIN_COMMENT_INFORMATION AdminComment
Definition: sam.idl:733
NTSTATUS __stdcall SamrQueryInformationDomain([in] SAMPR_HANDLE DomainHandle, [in] DOMAIN_INFORMATION_CLASS DomainInformationClass, [out, switch_is(DomainInformationClass)] PSAMPR_DOMAIN_INFO_BUFFER *Buffer)
struct _OLD_LARGE_INTEGER * POLD_LARGE_INTEGER
struct _DOMAIN_MODIFIED_INFORMATION2 DOMAIN_MODIFIED_INFORMATION2
struct _SAMPR_ULONG_ARRAY SAMPR_ULONG_ARRAY
struct _SAMPR_DOMAIN_GENERAL_INFORMATION SAMPR_DOMAIN_GENERAL_INFORMATION
struct _DOMAIN_STATE_INFORMATION DOMAIN_STATE_INFORMATION
unsigned char UasCompatibilityRequired
Definition: sam.idl:210
NTSTATUS __stdcall SamrQueryInformationAlias([in] SAMPR_HANDLE AliasHandle, [in] ALIAS_INFORMATION_CLASS AliasInformationClass, [out, switch_is(AliasInformationClass)] PSAMPR_ALIAS_INFO_BUFFER *Buffer)
unsigned long PresentFields
Definition: sam.idl:763
unsigned long * Members
Definition: sam.idl:122
struct _SAMPR_LOGON_HOURS * PSAMPR_LOGON_HOURS
SAMPR_LOGON_HOURS LogonHours
Definition: sam.idl:635
SAMPR_ENCRYPTED_USER_PASSWORD UserPassword
Definition: sam.idl:663
unsigned long * Attributes
Definition: sam.idl:123
USER_PRIMARY_GROUP_INFORMATION PrimaryGroup
Definition: sam.idl:729
DOMAIN_SERVER_ROLE_INFORMATION Role
Definition: sam.idl:272
unsigned long Attributes
Definition: sam.idl:109
SAMPR_DOMAIN_GENERAL_INFORMATION2 General2
Definition: sam.idl:276
struct _SAMPR_GROUP_NAME_INFORMATION * PSAMPR_GROUP_NAME_INFORMATION
struct _SAMPR_DOMAIN_DISPLAY_USER_BUFFER SAMPR_DOMAIN_DISPLAY_USER_BUFFER
union @3298 * PSAMPR_REVISION_INFO
SAMPR_USER_INTERNAL4_INFORMATION Internal4
Definition: sam.idl:742
struct _USER_CONTROL_INFORMATION USER_CONTROL_INFORMATION
NTSTATUS __stdcall SamrGetAliasMembership([in] SAMPR_HANDLE DomainHandle, [in] PSAMPR_PSID_ARRAY SidArray, [out] PSAMPR_ULONG_ARRAY Membership)
RPC_SHORT_BLOB NtOwfPassword
Definition: msv1_0.h:128
union _SAM_VALIDATE_OUTPUT_ARG SAM_VALIDATE_OUTPUT_ARG
OLD_LARGE_INTEGER CreationTime
Definition: sam.idl:189
RPC_UNICODE_STRING ProfilePath
Definition: sam.idl:613
unsigned long DomainServerRole
Definition: sam.idl:209
struct _GROUP_MEMBERSHIP GROUP_MEMBERSHIP
unsigned long MemberCount
Definition: sam.idl:121
struct _SAMPR_DOMAIN_DISPLAY_GROUP SAMPR_DOMAIN_DISPLAY_GROUP
SAMPR_GROUP_GENERAL_INFORMATION DoNotUse
Definition: sam.idl:412
SAMPR_DOMAIN_OEM_INFORMATION Oem
Definition: sam.idl:270
struct _SAMPR_DOMAIN_DISPLAY_MACHINE * PSAMPR_DOMAIN_DISPLAY_MACHINE
unsigned long MembershipCount
Definition: sam.idl:115
struct _ENCRYPTED_LM_OWF_PASSWORD * PENCRYPTED_LM_OWF_PASSWORD
SAMPR_USER_HOME_INFORMATION Home
Definition: sam.idl:730
NTSTATUS __stdcall SamrTestPrivateFunctionsDomain([in] SAMPR_HANDLE DomainHandle)
RPC_UNICODE_STRING WorkStations
Definition: sam.idl:550
NTSTATUS __stdcall SamrQueryDisplayInformation([in] SAMPR_HANDLE DomainHandle, [in] DOMAIN_DISPLAY_INFORMATION DisplayInformationClass, [in] unsigned long Index, [in] unsigned long EntryCount, [in] unsigned long PreferredMaximumLength, [out] unsigned long *TotalAvailable, [out] unsigned long *TotalReturned, [out, switch_is(DisplayInformationClass)] PSAMPR_DISPLAY_INFO_BUFFER Buffer)
struct _SAMPR_USER_SET_PASSWORD_INFORMATION SAMPR_USER_SET_PASSWORD_INFORMATION
enum _SAM_VALIDATE_VALIDATION_STATUS * PSAM_VALIDATE_VALIDATION_STATUS
struct _SAMPR_USER_PARAMETERS_INFORMATION SAMPR_USER_PARAMETERS_INFORMATION
RPC_UNICODE_STRING UserName
Definition: sam.idl:520
struct _SAMPR_ULONG_ARRAY * PSAMPR_ULONG_ARRAY
_ForwardIter unique(_ForwardIter __first, _ForwardIter __last)
Definition: _algo.h:298
struct _ENCRYPTED_LM_OWF_PASSWORD ENCRYPTED_NT_OWF_PASSWORD
struct _SAMPR_DOMAIN_OEM_INFORMATION * PSAMPR_DOMAIN_OEM_INFORMATION
unsigned int ULONG
Definition: retypes.h:1
unsigned short BadPasswordCount
Definition: msv1_0.h:136
RPC_UNICODE_STRING HomeDirectory
Definition: sam.idl:602
unsigned long PrimaryGroupId
Definition: sam.idl:522
RPC_UNICODE_STRING Parameters
Definition: sam.idl:537
enum _DOMAIN_SERVER_ENABLE_STATE DOMAIN_SERVER_ENABLE_STATE
struct _SAM_VALIDATE_PASSWORD_RESET_INPUT_ARG * PSAM_VALIDATE_PASSWORD_RESET_INPUT_ARG
struct _SAMPR_DOMAIN_DISPLAY_USER SAMPR_DOMAIN_DISPLAY_USER
struct _ENCRYPTED_LM_OWF_PASSWORD * PLM_OWF_PASSWORD
struct _SAMPR_USER_A_NAME_INFORMATION SAMPR_USER_A_NAME_INFORMATION
enum _SID_NAME_USE SID_NAME_USE
struct _SAMPR_USER_PREFERENCES_INFORMATION SAMPR_USER_PREFERENCES_INFORMATION
NTSTATUS __stdcall SamrGetDisplayEnumerationIndex2([in] SAMPR_HANDLE DomainHandle, [in] DOMAIN_DISPLAY_INFORMATION DisplayInformationClass, [in] PRPC_UNICODE_STRING Prefix, [out] unsigned long *Index)
struct _USER_DOMAIN_PASSWORD_INFORMATION USER_DOMAIN_PASSWORD_INFORMATION
struct _SAMPR_USER_INTERNAL4_INFORMATION SAMPR_USER_INTERNAL4_INFORMATION
RPC_UNICODE_STRING Reserved1
Definition: sam.idl:530
struct _SAM_VALIDATE_AUTHENTICATION_INPUT_ARG SAM_VALIDATE_AUTHENTICATION_INPUT_ARG
struct _SAMPR_DOMAIN_GENERAL_INFORMATION * PSAMPR_DOMAIN_GENERAL_INFORMATION
unsigned long DomainServerState
Definition: sam.idl:208
union _SAMPR_GROUP_INFO_BUFFER SAMPR_GROUP_INFO_BUFFER
_GROUP_INFORMATION_CLASS
Definition: ntsam.h:434
RPC_UNICODE_STRING WorkStations
Definition: sam.idl:623
unsigned short LogonCount
Definition: sam.idl:558
struct _SAM_VALIDATE_PASSWORD_HASH * PSAM_VALIDATE_PASSWORD_HASH
NTSTATUS __stdcall SamrRemoveMemberFromAlias([in] SAMPR_HANDLE AliasHandle, [in] PRPC_SID MemberId)
struct _SAMPR_USER_LOGON_INFORMATION SAMPR_USER_LOGON_INFORMATION
struct _DOMAIN_PASSWORD_INFORMATION * PDOMAIN_PASSWORD_INFORMATION
struct _SAMPR_USER_ACCOUNT_INFORMATION * PSAMPR_USER_ACCOUNT_INFORMATION
NTSTATUS __stdcall SamrOemChangePasswordUser2([in] handle_t BindingHandle, [in, unique] PRPC_STRING ServerName, [in] PRPC_STRING UserName, [in, unique] PSAMPR_ENCRYPTED_USER_PASSWORD NewPasswordEncryptedWithOldLm, [in, unique] PENCRYPTED_LM_OWF_PASSWORD OldLmOwfPasswordEncryptedWithNewLm)
unsigned long UserAccountControl
Definition: sam.idl:466
struct _DOMAIN_PASSWORD_INFORMATION DOMAIN_PASSWORD_INFORMATION
struct _SAMPR_GROUP_ADM_COMMENT_INFORMATION * PSAMPR_GROUP_ADM_COMMENT_INFORMATION
struct _DOMAIN_SERVER_ROLE_INFORMATION DOMAIN_SERVER_ROLE_INFORMATION
NTSTATUS __stdcall SamrSetMemberAttributesOfGroup([in] SAMPR_HANDLE GroupHandle, [in] unsigned long MemberId, [in] unsigned long Attributes)
RPC_UNICODE_STRING WorkStations
Definition: sam.idl:573
_In_ PSECURITY_SUBJECT_CONTEXT _In_ BOOLEAN _In_ ACCESS_MASK _In_ ACCESS_MASK _Outptr_opt_ PPRIVILEGE_SET _In_ PGENERIC_MAPPING _In_ KPROCESSOR_MODE _Out_ PACCESS_MASK GrantedAccess
Definition: sefuncs.h:13
IN BOOLEAN OUT PSTR Buffer
Definition: progress.h:34
RPC_UNICODE_STRING AccountName
Definition: sam.idl:308
PSAMPR_DOMAIN_DISPLAY_USER Buffer
Definition: sam.idl:336
struct _SAMPR_USER_ALL_INFORMATION SAMPR_USER_ALL_INFORMATION
enum _USER_INFORMATION_CLASS USER_INFORMATION_CLASS
struct _SAM_VALIDATE_PASSWORD_HASH SAM_VALIDATE_PASSWORD_HASH
unsigned long SupportedFeatures
Definition: sam.idl:129
struct _DOMAIN_MODIFIED_INFORMATION DOMAIN_MODIFIED_INFORMATION
NTSTATUS __stdcall SamrSetInformationDomain([in] SAMPR_HANDLE DomainHandle, [in] DOMAIN_INFORMATION_CLASS DomainInformationClass, [in, switch_is(DomainInformationClass)] PSAMPR_DOMAIN_INFO_BUFFER DomainInformation)
RPC_UNICODE_STRING AdminComment
Definition: sam.idl:419
SAMPR_ALIAS_ADM_COMMENT_INFORMATION AdminComment
Definition: sam.idl:445
RPC_UNICODE_STRING HomeDirectoryDrive
Definition: msv1_0.h:120
SAMPR_USER_INTERNAL4_INFORMATION_NEW Internal4New
Definition: sam.idl:744
RPC_UNICODE_STRING FullName
Definition: sam.idl:300
SAM_VALIDATE_PERSISTED_FIELDS InputPersistedFields
Definition: sam.idl:801
struct _SAMPR_GROUP_GENERAL_INFORMATION SAMPR_GROUP_GENERAL_INFORMATION
_PASSWORD_POLICY_VALIDATION_TYPE
Definition: sam.idl:748
ULONG ACCESS_MASK
Definition: nt_native.h:40
NTSTATUS __stdcall SamrUnicodeChangePasswordUser2([in] handle_t BindingHandle, [in, unique] PRPC_UNICODE_STRING ServerName, [in] PRPC_UNICODE_STRING UserName, [in, unique] PSAMPR_ENCRYPTED_USER_PASSWORD NewPasswordEncryptedWithOldNt, [in, unique] PENCRYPTED_NT_OWF_PASSWORD OldNtOwfPasswordEncryptedWithNewNt, [in] unsigned char LmPresent, [in, unique] PSAMPR_ENCRYPTED_USER_PASSWORD NewPasswordEncryptedWithOldLm, [in, unique] PENCRYPTED_LM_OWF_PASSWORD OldLmOwfPasswordEncryptedWithNewNt)
SAMPR_ENCRYPTED_USER_PASSWORD UserPassword
Definition: sam.idl:674
RPC_UNICODE_STRING AdminComment
Definition: sam.idl:572
RPC_UNICODE_STRING HomeDirectoryDrive
Definition: sam.idl:547
SAMPR_DOMAIN_NAME_INFORMATION Name
Definition: sam.idl:271
OLD_LARGE_INTEGER LastLogoff
Definition: sam.idl:552
NTSTATUS __stdcall SamrValidatePassword([in] handle_t Handle, [in] PASSWORD_POLICY_VALIDATION_TYPE ValidationType, [in, switch_is(ValidationType)] PSAM_VALIDATE_INPUT_ARG InputArg, [out, switch_is(ValidationType)] PSAM_VALIDATE_OUTPUT_ARG *OutputArg)
RPC_UNICODE_STRING AccountName
Definition: sam.idl:298
Definition: sam.idl:841
struct RPC_SHORT_BLOB RPC_SHORT_BLOB
unsigned char NtPasswordPresent
Definition: msv1_0.h:141
RPC_UNICODE_STRING WorkStations
Definition: msv1_0.h:124
struct _SAMPR_RID_ENUMERATION * PSAMPR_RID_ENUMERATION
SAMPR_GROUP_ATTRIBUTE_INFORMATION Attribute
Definition: sam.idl:410
NTSTATUS __stdcall SamrGetMembersInAlias([in] SAMPR_HANDLE AliasHandle, [out] PSAMPR_PSID_ARRAY_OUT Members)
enum _SAM_VALIDATE_VALIDATION_STATUS SAM_VALIDATE_VALIDATION_STATUS
enum _USER_INFORMATION_CLASS USER_INFORMATION_CLASS
NTSTATUS __stdcall SamrQueryInformationUser([in] SAMPR_HANDLE UserHandle, [in] USER_INFORMATION_CLASS UserInformationClass, [out, switch_is(UserInformationClass)] PSAMPR_USER_INFO_BUFFER *Buffer)
unsigned short CountryCode
Definition: msv1_0.h:138
struct _SAMPR_DOMAIN_DISPLAY_USER * PSAMPR_DOMAIN_DISPLAY_USER
unsigned short Length
Definition: sam.idl:13
OLD_LARGE_INTEGER AccountExpires
Definition: sam.idl:580