Lines Matching refs:define

28 #define _MLSVC_SAM_NDL_
37 #define SAMR_OPNUM_Connect 0x00 /* SamrConnect */
38 #define SAMR_OPNUM_CloseHandle 0x01
39 #define SAMR_OPNUM_SetSecObject 0x02
40 #define SAMR_OPNUM_QuerySecObject 0x03
41 #define SAMR_OPNUM_ShutdownSamServer 0x04 /* NotUsedOnWire */
42 #define SAMR_OPNUM_LookupDomain 0x05
43 #define SAMR_OPNUM_EnumLocalDomains 0x06
44 #define SAMR_OPNUM_OpenDomain 0x07
45 #define SAMR_OPNUM_QueryDomainInfo 0x08
46 #define SAMR_OPNUM_SetDomainInfo 0x09
47 #define SAMR_OPNUM_CreateDomainGroup 0x0a
48 #define SAMR_OPNUM_QueryDomainGroups 0x0b
49 #define SAMR_OPNUM_CreateDomainUser 0x0c
50 #define SAMR_OPNUM_EnumDomainUsers 0x0d
51 #define SAMR_OPNUM_CreateDomainAlias 0x0e
52 #define SAMR_OPNUM_EnumDomainAliases 0x0f
53 #define SAMR_OPNUM_LookupIds 0x10 /* GetAliasMembership */
54 #define SAMR_OPNUM_LookupNames 0x11
55 #define SAMR_OPNUM_LookupDomainIds 0x12
56 #define SAMR_OPNUM_OpenGroup 0x13
57 #define SAMR_OPNUM_QueryGroupInfo 0x14
58 #define SAMR_OPNUM_StoreGroupInfo 0x15
59 #define SAMR_OPNUM_AddGroupMember 0x16
60 #define SAMR_OPNUM_DeleteDomainGroup 0x17
61 #define SAMR_OPNUM_DeleteGroupMember 0x18
62 #define SAMR_OPNUM_ListGroupMembers 0x19
63 #define SAMR_OPNUM_SetGroupMemberAttributes 0x1a
64 #define SAMR_OPNUM_OpenAlias 0x1b
65 #define SAMR_OPNUM_QueryAliasInfo 0x1c
66 #define SAMR_OPNUM_SetAliasInfo 0x1d
67 #define SAMR_OPNUM_DeleteDomainAlias 0x1e
68 #define SAMR_OPNUM_AddAliasMember 0x1f
69 #define SAMR_OPNUM_DeleteAliasMember 0x20
70 #define SAMR_OPNUM_ListAliasMembers 0x21
71 #define SAMR_OPNUM_OpenUser 0x22
72 #define SAMR_OPNUM_DeleteUser 0x23
73 #define SAMR_OPNUM_QueryUserInfo 0x24
74 #define SAMR_OPNUM_SetUserInfo0 0x25 /* SetUserInfo */
75 #define SAMR_OPNUM_ChangeUserPassword0 0x26 /* ChangeUserPassword */
76 #define SAMR_OPNUM_QueryUserGroups 0x27
77 #define SAMR_OPNUM_QueryDispInfo 0x28 /* QueryDispInfo1 */
78 #define SAMR_OPNUM_GetDisplayEnumIndex 0x29
79 #define SAMR_OPNUM_TestPrivateDomainFunctions 0x2a /* NotUsedOnWire */
80 #define SAMR_OPNUM_TestPrivateUserFunctions 0x2b /* NotUsedOnWire */
81 #define SAMR_OPNUM_GetUserPwInfo 0x2c
84 #define SAMR_OPNUM_RemoveMemberFromForeignDomain 0x2d
85 #define SAMR_OPNUM_QueryInfoDomain2 0x2e
86 #define SAMR_OPNUM_QueryInfoUser2 0x2f
87 #define SAMR_OPNUM_EnumDomainGroups 0x30 /* QueryDispInfo2 */
88 #define SAMR_OPNUM_GetDisplayEnumIndex2 0x31
89 #define SAMR_OPNUM_CreateUser 0x32
90 #define SAMR_OPNUM_QueryDispInfo4 0x33
91 #define SAMR_OPNUM_AddMultipleAliasMembers 0x34
92 #define SAMR_OPNUM_RemoveMultipleAliasMembers 0x35
93 #define SAMR_OPNUM_ChangeUserOemPassword 0x36
94 #define SAMR_OPNUM_ChangePasswordUser2 0x37 /* UnicodePasswd */
95 #define SAMR_OPNUM_GetDomainPwInfo 0x38
96 #define SAMR_OPNUM_Connect2 0x39 /* SamrConnect2 */
97 #define SAMR_OPNUM_SetUserInfo 0x3a /* SetInfoUser2 */
98 #define SAMR_OPNUM_SetBootKeyInformation 0x3b
99 #define SAMR_OPNUM_GetBootKeyInformation 0x3c
100 #define SAMR_OPNUM_Connect3 0x3d /* NotUsedOnWire */
101 #define SAMR_OPNUM_Connect4 0x3e /* SamrConnect4 */
102 #define SAMR_OPNUM_ChangeUserUnicodePassword3 0x3f
105 #define SAMR_OPNUM_Connect5 0x40 /* SamrConnect5 */
106 #define SAMR_OPNUM_RidToSid 0x41
107 #define SAMR_OPNUM_SetDSRMPassword 0x42
108 #define SAMR_OPNUM_ValidatePassword 0x43
111 #define SAMR_OPNUM_QueryLocalizableAccountsInDomain 0x44
112 #define SAMR_OPNUM_PerformGenericOperation 0x45
120 #define SAMR_AF_ACCOUNTDISABLE 0x0001
121 #define SAMR_AF_HOMEDIR_REQUIRED 0x0002
122 #define SAMR_AF_PASSWD_NOTREQD 0x0004
123 #define SAMR_AF_TEMP_DUPLICATE_ACCOUNT 0x0008
124 #define SAMR_AF_NORMAL_ACCOUNT 0x0010
125 #define SAMR_AF_MNS_LOGON_ACCOUNT 0x0020
126 #define SAMR_AF_INTERDOMAIN_TRUST_ACCOUNT 0x0040
127 #define SAMR_AF_WORKSTATION_TRUST_ACCOUNT 0x0080
128 #define SAMR_AF_SERVER_TRUST_ACCOUNT 0x0100
129 #define SAMR_AF_DONT_EXPIRE_PASSWD 0x0200
130 #define SAMR_AF_ACCOUNT_AUTOLOCK 0x0400
133 #define SAMR_AF_MACHINE_ACCOUNT_MASK ( \
138 #define SAMR_AF_ACCOUNT_TYPE_MASK ( \
148 #define SAMR_USER_ALL_USERNAME 0x00000001
149 #define SAMR_USER_ALL_FULLNAME 0x00000002
150 #define SAMR_USER_ALL_USERID 0x00000004
151 #define SAMR_USER_ALL_PRIMARYGROUPID 0x00000008
152 #define SAMR_USER_ALL_ADMINCOMMENT 0x00000010
153 #define SAMR_USER_ALL_USERCOMMENT 0x00000020
154 #define SAMR_USER_ALL_HOMEDIRECTORY 0x00000040
155 #define SAMR_USER_ALL_HOMEDIRECTORYDRIVE 0x00000080
156 #define SAMR_USER_ALL_SCRIPTPATH 0x00000100
157 #define SAMR_USER_ALL_PROFILEPATH 0x00000200
158 #define SAMR_USER_ALL_WORKSTATIONS 0x00000400
159 #define SAMR_USER_ALL_LASTLOGON 0x00000800
160 #define SAMR_USER_ALL_LASTLOGOFF 0x00001000
161 #define SAMR_USER_ALL_LOGONHOURS 0x00002000
162 #define SAMR_USER_ALL_BADPASSWORDCOUNT 0x00004000
163 #define SAMR_USER_ALL_LOGONCOUNT 0x00008000
164 #define SAMR_USER_ALL_PASSWORDCANCHANGE 0x00010000
165 #define SAMR_USER_ALL_PASSWORDMUSTCHANGE 0x00020000
166 #define SAMR_USER_ALL_PASSWORDLASTSET 0x00040000
167 #define SAMR_USER_ALL_ACCOUNTEXPIRES 0x00080000
168 #define SAMR_USER_ALL_USERACCOUNTCONTROL 0x00100000
169 #define SAMR_USER_ALL_PARAMETERS 0x00200000
170 #define SAMR_USER_ALL_COUNTRYCODE 0x00400000
171 #define SAMR_USER_ALL_CODEPAGE 0x00800000
172 #define SAMR_USER_ALL_NTPASSWORDPRESENT 0x01000000
173 #define SAMR_USER_ALL_LMPASSWORDPRESENT 0x02000000
174 #define SAMR_USER_ALL_PRIVATEDATA 0x04000000
175 #define SAMR_USER_ALL_PASSWORDEXPIRED 0x08000000
176 #define SAMR_USER_ALL_SECURITYDESCRIPTOR 0x10000000
177 #define SAMR_USER_ALL_OWF_PASSWORD 0x20000000
178 #define SAMR_USER_ALL_UNDEFINED_MASK 0xC0000000
184 #define SAMR_ALIAS_ACCESS_EXECUTE 0x00020008
185 #define SAMR_ALIAS_ACCESS_WRITE 0x00020013
186 #define SAMR_ALIAS_ACCESS_READ 0x00020004
187 #define SAMR_ALIAS_ACCESS_ALL_ACCESS 0x000F001F
188 #define SAMR_ALIAS_ACCESS_WRITE_ACCOUNT 0x00000010
189 #define SAMR_ALIAS_ACCESS_READ_INFO 0x00000008
190 #define SAMR_ALIAS_ACCESS_LIST_MEMBERS 0x00000004
191 #define SAMR_ALIAS_ACCESS_REMOVE_MEMBER 0x00000002
192 #define SAMR_ALIAS_ACCESS_ADD_MEMBER 0x00000001
194 #define SAMR_REVISION_1 1 /* Pre Windows 2000 */
195 #define SAMR_REVISION_2 2 /* Windows 2000 */
196 #define SAMR_REVISION_3 3 /* Post Windows 2000 */
292 #define DOMAIN_PASSWORD_COMPLEX 0x00000001
293 #define DOMAIN_PASSWORD_NO_ANON_CHANGE 0x00000002
294 #define DOMAIN_PASSWORD_NO_CLEAR_CHANGE 0x00000004
295 #define DOMAIN_LOCKOUT_ADMINS 0x00000008
296 #define DOMAIN_PASSWORD_STORE_CLEARTEXT 0x00000010
297 #define DOMAIN_REFUSE_PASSWORD_CHANGE 0x00000020
329 #define SAMR_MINS_PER_WEEK 10080
330 #define SAMR_HOURS_PER_WEEK 168
332 #define SAMR_HOURS_MAX_SIZE (SAMR_MINS_PER_WEEK / 8)
333 #define SAMR_HOURS_SET_LEN(LEN) ((LEN) / 8)
334 #define SAMR_SET_USER_HOURS_SZ 21
364 #define SAMR_USER_PWLEN 256
372 #define SAMR_ENCR_PWLEN 516 /* sizeof samr_user_password */
378 #define SAMR_PWHASH_LEN 16
570 #define SAMR_QUERY_DOMAIN_INFO_2 2
571 #define SAMR_QUERY_DOMAIN_INFO_6 6
572 #define SAMR_QUERY_DOMAIN_INFO_7 7
638 #define SAMR_QUERY_ALIAS_INFO_GENERAL 1
639 #define SAMR_QUERY_ALIAS_INFO_NAME 2
640 #define SAMR_QUERY_ALIAS_INFO_COMMENT 3
891 #define SAMR_QUERY_USER_INFO_1 1
892 #define SAMR_QUERY_USER_UNAME_AND_FNAME 6
893 #define SAMR_QUERY_USER_USERNAME 7
894 #define SAMR_QUERY_USER_FULLNAME 8
895 #define SAMR_QUERY_USER_GROUPRID 9
896 #define SAMR_QUERY_USER_CONTROL_INFO 16
897 #define SAMR_QUERY_USER_ALL_INFO 21
1292 #define SAMR_SET_USER_INFO_21 21
1344 #define SAMR_SET_USER_INFO_23 23
1354 #define SAMR_SET_USER_INFO_24 24