1 | /*
|
---|
2 | * Copyright (C) 1999 Juergen Schmied
|
---|
3 | *
|
---|
4 | * This library is free software; you can redistribute it and/or
|
---|
5 | * modify it under the terms of the GNU Lesser General Public
|
---|
6 | * License as published by the Free Software Foundation; either
|
---|
7 | * version 2.1 of the License, or (at your option) any later version.
|
---|
8 | *
|
---|
9 | * This library is distributed in the hope that it will be useful,
|
---|
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
12 | * Lesser General Public License for more details.
|
---|
13 | *
|
---|
14 | * You should have received a copy of the GNU Lesser General Public
|
---|
15 | * License along with this library; if not, write to the Free Software
|
---|
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef __WINE_NTSECAPI_H
|
---|
29 | #define __WINE_NTSECAPI_H
|
---|
30 |
|
---|
31 | #ifdef __cplusplus
|
---|
32 | extern "C" {
|
---|
33 | #endif /* defined(__cplusplus) */
|
---|
34 |
|
---|
35 | /* Policy access rights */
|
---|
36 | #define POLICY_VIEW_LOCAL_INFORMATION 0x00000001L
|
---|
37 | #define POLICY_VIEW_AUDIT_INFORMATION 0x00000002L
|
---|
38 | #define POLICY_GET_PRIVATE_INFORMATION 0x00000004L
|
---|
39 | #define POLICY_TRUST_ADMIN 0x00000008L
|
---|
40 | #define POLICY_CREATE_ACCOUNT 0x00000010L
|
---|
41 | #define POLICY_CREATE_SECRET 0x00000020L
|
---|
42 | #define POLICY_CREATE_PRIVILEGE 0x00000040L
|
---|
43 | #define POLICY_SET_DEFAULT_QUOTA_LIMITS 0x00000080L
|
---|
44 | #define POLICY_SET_AUDIT_REQUIREMENTS 0x00000100L
|
---|
45 | #define POLICY_AUDIT_LOG_ADMIN 0x00000200L
|
---|
46 | #define POLICY_SERVER_ADMIN 0x00000400L
|
---|
47 | #define POLICY_LOOKUP_NAMES 0x00000800L
|
---|
48 | #define POLICY_NOTIFICATION 0x00001000L
|
---|
49 |
|
---|
50 | #define POLICY_ALL_ACCESS ( \
|
---|
51 | STANDARD_RIGHTS_REQUIRED | \
|
---|
52 | POLICY_VIEW_LOCAL_INFORMATION | \
|
---|
53 | POLICY_VIEW_AUDIT_INFORMATION | \
|
---|
54 | POLICY_GET_PRIVATE_INFORMATION | \
|
---|
55 | POLICY_TRUST_ADMIN | \
|
---|
56 | POLICY_CREATE_ACCOUNT | \
|
---|
57 | POLICY_CREATE_SECRET | \
|
---|
58 | POLICY_CREATE_PRIVILEGE | \
|
---|
59 | POLICY_SET_DEFAULT_QUOTA_LIMITS | \
|
---|
60 | POLICY_SET_AUDIT_REQUIREMENTS | \
|
---|
61 | POLICY_AUDIT_LOG_ADMIN | \
|
---|
62 | POLICY_SERVER_ADMIN | \
|
---|
63 | POLICY_LOOKUP_NAMES)
|
---|
64 |
|
---|
65 |
|
---|
66 | #define POLICY_READ ( \
|
---|
67 | STANDARD_RIGHTS_READ | \
|
---|
68 | POLICY_VIEW_AUDIT_INFORMATION | \
|
---|
69 | POLICY_GET_PRIVATE_INFORMATION)
|
---|
70 |
|
---|
71 | #define POLICY_WRITE ( \
|
---|
72 | STANDARD_RIGHTS_WRITE | \
|
---|
73 | POLICY_TRUST_ADMIN | \
|
---|
74 | POLICY_CREATE_ACCOUNT | \
|
---|
75 | POLICY_CREATE_SECRET | \
|
---|
76 | POLICY_CREATE_PRIVILEGE | \
|
---|
77 | POLICY_SET_DEFAULT_QUOTA_LIMITS | \
|
---|
78 | POLICY_SET_AUDIT_REQUIREMENTS | \
|
---|
79 | POLICY_AUDIT_LOG_ADMIN | \
|
---|
80 | POLICY_SERVER_ADMIN)
|
---|
81 |
|
---|
82 | #define POLICY_EXECUTE ( \
|
---|
83 | STANDARD_RIGHTS_EXECUTE | \
|
---|
84 | POLICY_VIEW_LOCAL_INFORMATION | \
|
---|
85 | POLICY_LOOKUP_NAMES)
|
---|
86 |
|
---|
87 | #define POLICY_AUDIT_EVENT_UNCHANGED 0x00000000L
|
---|
88 | #define POLICY_AUDIT_EVENT_SUCCESS 0x00000001L
|
---|
89 | #define POLICY_AUDIT_EVENT_FAILURE 0x00000002L
|
---|
90 | #define POLICY_AUDIT_EVENT_NONE 0x00000004L
|
---|
91 |
|
---|
92 | #define POLICY_AUDIT_EVENT_MASK (POLICY_AUDIT_EVENT_SUCCESS | \
|
---|
93 | POLICY_AUDIT_EVENT_FAILURE | \
|
---|
94 | POLICY_AUDIT_EVENT_NONE)
|
---|
95 |
|
---|
96 | /* logon rights names */
|
---|
97 | #define SE_BATCH_LOGON_NAME \
|
---|
98 | TEXT("SeBatchLogonRight")
|
---|
99 | #define SE_INTERACTIVE_LOGON_NAME \
|
---|
100 | TEXT("SeInteractiveLogonRight")
|
---|
101 | #define SE_NETWORK_LOGON_NAME \
|
---|
102 | TEXT("SeNetworkLogonRight")
|
---|
103 | #define SE_REMOTE_INTERACTIVE_LOGON_NAME \
|
---|
104 | TEXT("SeRemoteInteractiveLogonRight")
|
---|
105 | #define SE_SERVICE_LOGON_NAME \
|
---|
106 | TEXT("SeServiceLogonRight")
|
---|
107 | #define SE_DENY_BATCH_LOGON_NAME \
|
---|
108 | TEXT("SeDenyBatchLogonRight")
|
---|
109 | #define SE_DENY_INTERACTIVE_LOGON_NAME \
|
---|
110 | TEXT("SeDenyInteractiveLogonRight")
|
---|
111 | #define SE_DENY_NETWORK_LOGON_NAME \
|
---|
112 | TEXT("SeDenyNetworkLogonRight")
|
---|
113 | #define SE_DENY_REMOTE_INTERACTIVE_LOGON_NAME \
|
---|
114 | TEXT("SeDenyRemoteInteractiveLogonRight")
|
---|
115 | #define SE_DENY_SERVICE_LOGON_NAME \
|
---|
116 | TEXT("SeDenyServiceLogonRight")
|
---|
117 |
|
---|
118 | #ifndef WINE_NTSTATUS_DECLARED
|
---|
119 | #define WINE_NTSTATUS_DECLARED
|
---|
120 | typedef LONG NTSTATUS;
|
---|
121 | #endif
|
---|
122 | #ifndef WINE_PNTSTATUS_DECLARED
|
---|
123 | #define WINE_PNTSTATUS_DECLARED
|
---|
124 | typedef NTSTATUS *PNTSTATUS;
|
---|
125 | #endif
|
---|
126 |
|
---|
127 | typedef enum _SECURITY_LOGON_TYPE
|
---|
128 | {
|
---|
129 | Interactive = 2,
|
---|
130 | Network,
|
---|
131 | Batch,
|
---|
132 | Service,
|
---|
133 | Proxy
|
---|
134 | } SECURITY_LOGON_TYPE, *PSECURITY_LOGON_TYPE;
|
---|
135 |
|
---|
136 | typedef enum _POLICY_AUDIT_EVENT_TYPE
|
---|
137 | {
|
---|
138 | AuditCategorySystem,
|
---|
139 | AuditCategoryLogon,
|
---|
140 | AuditCategoryObjectAccess,
|
---|
141 | AuditCategoryPrivilegeUse,
|
---|
142 | AuditCategoryDetailedTracking,
|
---|
143 | AuditCategoryPolicyChange,
|
---|
144 | AuditCategoryAccountManagement
|
---|
145 | } POLICY_AUDIT_EVENT_TYPE, *PPOLICY_AUDIT_EVENT_TYPE;
|
---|
146 |
|
---|
147 | #ifndef __STRING_DEFINED__
|
---|
148 | #define __STRING_DEFINED__
|
---|
149 | typedef struct _STRING {
|
---|
150 | USHORT Length;
|
---|
151 | USHORT MaximumLength;
|
---|
152 | PCHAR Buffer;
|
---|
153 | } STRING, *PSTRING;
|
---|
154 | #endif
|
---|
155 |
|
---|
156 | #ifndef __UNICODE_STRING_DEFINED__
|
---|
157 | #define __UNICODE_STRING_DEFINED__
|
---|
158 | typedef struct _UNICODE_STRING {
|
---|
159 | USHORT Length; /* bytes */
|
---|
160 | USHORT MaximumLength; /* bytes */
|
---|
161 | PWSTR Buffer;
|
---|
162 | } UNICODE_STRING, *PUNICODE_STRING;
|
---|
163 | #endif
|
---|
164 |
|
---|
165 | #ifndef __OBJECT_ATTRIBUTES_DEFINED__
|
---|
166 | #define __OBJECT_ATTRIBUTES_DEFINED__
|
---|
167 | typedef struct _OBJECT_ATTRIBUTES {
|
---|
168 | ULONG Length;
|
---|
169 | HANDLE RootDirectory;
|
---|
170 | PUNICODE_STRING ObjectName;
|
---|
171 | ULONG Attributes;
|
---|
172 | PVOID SecurityDescriptor; /* type SECURITY_DESCRIPTOR */
|
---|
173 | PVOID SecurityQualityOfService; /* type SECURITY_QUALITY_OF_SERVICE */
|
---|
174 | } OBJECT_ATTRIBUTES, *POBJECT_ATTRIBUTES;
|
---|
175 | #endif
|
---|
176 |
|
---|
177 | typedef UNICODE_STRING LSA_UNICODE_STRING, *PLSA_UNICODE_STRING;
|
---|
178 | typedef STRING LSA_STRING, *PLSA_STRING;
|
---|
179 | typedef OBJECT_ATTRIBUTES LSA_OBJECT_ATTRIBUTES, *PLSA_OBJECT_ATTRIBUTES;
|
---|
180 |
|
---|
181 | typedef PVOID LSA_HANDLE, *PLSA_HANDLE;
|
---|
182 | typedef ULONG LSA_ENUMERATION_HANDLE, *PLSA_ENUMERATION_HANDLE;
|
---|
183 | typedef ULONG LSA_OPERATIONAL_MODE, *PLSA_OPERATIONAL_MODE;
|
---|
184 |
|
---|
185 | typedef enum
|
---|
186 | {
|
---|
187 | PolicyAuditLogInformation = 1,
|
---|
188 | PolicyAuditEventsInformation,
|
---|
189 | PolicyPrimaryDomainInformation,
|
---|
190 | PolicyPdAccountInformation,
|
---|
191 | PolicyAccountDomainInformation,
|
---|
192 | PolicyLsaServerRoleInformation,
|
---|
193 | PolicyReplicaSourceInformation,
|
---|
194 | PolicyDefaultQuotaInformation,
|
---|
195 | PolicyModificationInformation,
|
---|
196 | PolicyAuditFullSetInformation,
|
---|
197 | PolicyAuditFullQueryInformation,
|
---|
198 | PolicyDnsDomainInformation
|
---|
199 | } POLICY_INFORMATION_CLASS, *PPOLICY_INFORMATION_CLASS;
|
---|
200 |
|
---|
201 | typedef ULONG POLICY_AUDIT_EVENT_OPTIONS, *PPOLICY_AUDIT_EVENT_OPTIONS;
|
---|
202 |
|
---|
203 | typedef struct _POLICY_AUDIT_EVENTS_INFO
|
---|
204 | {
|
---|
205 | BOOLEAN AuditingMode;
|
---|
206 | PPOLICY_AUDIT_EVENT_OPTIONS EventAuditingOptions;
|
---|
207 | ULONG MaximumAuditEventCount;
|
---|
208 | } POLICY_AUDIT_EVENTS_INFO, *PPOLICY_AUDIT_EVENTS_INFO;
|
---|
209 |
|
---|
210 | typedef struct _POLICY_PRIMARY_DOMAIN_INFO
|
---|
211 | {
|
---|
212 | LSA_UNICODE_STRING Name;
|
---|
213 | PSID Sid;
|
---|
214 | } POLICY_PRIMARY_DOMAIN_INFO, *PPOLICY_PRIMARY_DOMAIN_INFO;
|
---|
215 |
|
---|
216 | typedef struct _POLICY_ACCOUNT_DOMAIN_INFO
|
---|
217 | {
|
---|
218 | LSA_UNICODE_STRING DomainName;
|
---|
219 | PSID DomainSid;
|
---|
220 | } POLICY_ACCOUNT_DOMAIN_INFO, *PPOLICY_ACCOUNT_DOMAIN_INFO;
|
---|
221 |
|
---|
222 | typedef struct _POLICY_DNS_DOMAIN_INFO
|
---|
223 | {
|
---|
224 | LSA_UNICODE_STRING Name;
|
---|
225 | LSA_UNICODE_STRING DnsDomainName;
|
---|
226 | LSA_UNICODE_STRING DnsForestName;
|
---|
227 | GUID DomainGuid;
|
---|
228 | PSID Sid;
|
---|
229 | } POLICY_DNS_DOMAIN_INFO, *PPOLICY_DNS_DOMAIN_INFO;
|
---|
230 |
|
---|
231 | typedef enum _POLICY_LSA_SERVER_ROLE
|
---|
232 | {
|
---|
233 | PolicyServerRoleBackup = 2,
|
---|
234 | PolicyServerRolePrimary
|
---|
235 | } POLICY_LSA_SERVER_ROLE, *PPOLICY_LSA_SERVER_ROLE;
|
---|
236 |
|
---|
237 | typedef struct _POLICY_LSA_SERVER_ROLE_INFO
|
---|
238 | {
|
---|
239 | POLICY_LSA_SERVER_ROLE LsaServerRole;
|
---|
240 | } POLICY_LSA_SERVER_ROLE_INFO, *PPOLICY_LSA_SERVER_ROLE_INFO;
|
---|
241 |
|
---|
242 | typedef struct _POLICY_MODIFICATION_INFO
|
---|
243 | {
|
---|
244 | LARGE_INTEGER ModifiedId;
|
---|
245 | LARGE_INTEGER DatabaseCreationTime;
|
---|
246 | } POLICY_MODIFICATION_INFO, *PPOLICY_MODIFICATION_INFO;
|
---|
247 |
|
---|
248 | typedef struct _SECURITY_LOGON_SESSION_DATA {
|
---|
249 | ULONG Size;
|
---|
250 | LUID LogonId;
|
---|
251 | LSA_UNICODE_STRING UserName;
|
---|
252 | LSA_UNICODE_STRING LogonDomain;
|
---|
253 | LSA_UNICODE_STRING AuthenticationPackage;
|
---|
254 | ULONG LogonType;
|
---|
255 | ULONG Session;
|
---|
256 | PSID Sid;
|
---|
257 | LARGE_INTEGER LogonTime;
|
---|
258 | LSA_UNICODE_STRING LogonServer;
|
---|
259 | LSA_UNICODE_STRING DnsDomainName;
|
---|
260 | LSA_UNICODE_STRING Upn;
|
---|
261 | } SECURITY_LOGON_SESSION_DATA, *PSECURITY_LOGON_SESSION_DATA;
|
---|
262 |
|
---|
263 | typedef struct
|
---|
264 | {
|
---|
265 | SID_NAME_USE Use;
|
---|
266 | LSA_UNICODE_STRING Name;
|
---|
267 | LONG DomainIndex;
|
---|
268 | } LSA_TRANSLATED_NAME, *PLSA_TRANSLATED_NAME;
|
---|
269 |
|
---|
270 | typedef struct
|
---|
271 | {
|
---|
272 | LSA_UNICODE_STRING Name;
|
---|
273 | PSID Sid;
|
---|
274 | } LSA_TRUST_INFORMATION, *PLSA_TRUST_INFORMATION;
|
---|
275 |
|
---|
276 | typedef struct
|
---|
277 | {
|
---|
278 | ULONG Entries;
|
---|
279 | PLSA_TRUST_INFORMATION Domains;
|
---|
280 | } LSA_REFERENCED_DOMAIN_LIST, *PLSA_REFERENCED_DOMAIN_LIST;
|
---|
281 |
|
---|
282 | typedef struct _LSA_TRANSLATED_SID
|
---|
283 | {
|
---|
284 | SID_NAME_USE Use;
|
---|
285 | ULONG RelativeId;
|
---|
286 | LONG DomainIndex;
|
---|
287 | } LSA_TRANSLATED_SID, *PLSA_TRANSLATED_SID;
|
---|
288 |
|
---|
289 | typedef struct _TRUSTED_DOMAIN_INFORMATION_EX
|
---|
290 | {
|
---|
291 | LSA_UNICODE_STRING Name;
|
---|
292 | LSA_UNICODE_STRING FlatName;
|
---|
293 | PSID Sid;
|
---|
294 | ULONG TrustDirection;
|
---|
295 | ULONG TrustType;
|
---|
296 | ULONG TrustAttributes;
|
---|
297 | } TRUSTED_DOMAIN_INFORMATION_EX, *PTRUSTED_DOMAIN_INFORMATION_EX;
|
---|
298 |
|
---|
299 | typedef struct _LSA_AUTH_INFORMATION
|
---|
300 | {
|
---|
301 | LARGE_INTEGER LastUpdateTime;
|
---|
302 | ULONG AuthType;
|
---|
303 | ULONG AuthInfoLength;
|
---|
304 | PUCHAR AuthInfo;
|
---|
305 | } LSA_AUTH_INFORMATION, *PLSA_AUTH_INFORMATION;
|
---|
306 |
|
---|
307 | typedef struct _TRUSTED_DOMAIN_AUTH_INFORMATION
|
---|
308 | {
|
---|
309 | ULONG IncomingAuthInfos;
|
---|
310 | PLSA_AUTH_INFORMATION IncomingAuthenticationInformation;
|
---|
311 | PLSA_AUTH_INFORMATION IncomingPreviousAuthenticationInformation;
|
---|
312 | ULONG OutgoingAuthInfos;
|
---|
313 | PLSA_AUTH_INFORMATION OutgoingAuthenticationInformation;
|
---|
314 | PLSA_AUTH_INFORMATION OutgoingPreviousAuthenticationInformation;
|
---|
315 | } TRUSTED_DOMAIN_AUTH_INFORMATION, *PTRUSTED_DOMAIN_AUTH_INFORMATION;
|
---|
316 |
|
---|
317 | typedef struct _LSA_TRANSLATED_SID2
|
---|
318 | {
|
---|
319 | SID_NAME_USE Use;
|
---|
320 | PSID Sid;
|
---|
321 | LONG DomainIndex;
|
---|
322 | ULONG Flags;
|
---|
323 | } LSA_TRANSLATED_SID2, *PLSA_TRANSLATED_SID2;
|
---|
324 |
|
---|
325 | typedef enum _TRUSTED_INFORMATION_CLASS
|
---|
326 | {
|
---|
327 | TrustedDomainNameInformation = 1,
|
---|
328 | TrustedControllersInformation,
|
---|
329 | TrustedPosixOffsetInformation,
|
---|
330 | TrustedPasswordInformation,
|
---|
331 | TrustedDomainInformationBasic,
|
---|
332 | TrustedDomainInformationEx,
|
---|
333 | TrustedDomainAuthInformation,
|
---|
334 | TrustedDomainFullInformation
|
---|
335 | } TRUSTED_INFORMATION_CLASS, *PTRUSTED_INFORMATION_CLASS;
|
---|
336 |
|
---|
337 | typedef enum _POLICY_NOTIFICATION_INFORMATION_CLASS
|
---|
338 | {
|
---|
339 | PolicyNotifyAuditEventsInformation = 1,
|
---|
340 | PolicyNotifyAccountDomainInformation,
|
---|
341 | PolicyNotifyServerRoleInformation,
|
---|
342 | PolicyNotifyDnsDomainInformation,
|
---|
343 | PolicyNotifyDomainEfsInformation,
|
---|
344 | PolicyNotifyDomainKerberosTicketInformation,
|
---|
345 | PolicyNotifyMachineAccountPasswordInformation
|
---|
346 | } POLICY_NOTIFICATION_INFORMATION_CLASS, *PPOLICY_NOTIFICATION_INFORMATION_CLASS;
|
---|
347 |
|
---|
348 | #define RtlGenRandom SystemFunction036
|
---|
349 | #define RtlEncryptMemory SystemFunction040
|
---|
350 | #define RtlDecryptMemory SystemFunction041
|
---|
351 |
|
---|
352 | BOOLEAN WINAPI RtlGenRandom(PVOID,ULONG);
|
---|
353 | NTSTATUS WINAPI RtlEncryptMemory(PVOID,ULONG,ULONG);
|
---|
354 | NTSTATUS WINAPI RtlDecryptMemory(PVOID,ULONG,ULONG);
|
---|
355 |
|
---|
356 | NTSTATUS WINAPI LsaAddAccountRights(LSA_HANDLE,PSID,PLSA_UNICODE_STRING,ULONG);
|
---|
357 | NTSTATUS WINAPI LsaCallAuthenticationPackage(HANDLE,ULONG,PVOID,ULONG,PVOID*,PULONG,PNTSTATUS);
|
---|
358 | NTSTATUS WINAPI LsaClose(LSA_HANDLE);
|
---|
359 | NTSTATUS WINAPI LsaConnectUntrusted(PHANDLE);
|
---|
360 | NTSTATUS WINAPI LsaCreateTrustedDomainEx(LSA_HANDLE,PTRUSTED_DOMAIN_INFORMATION_EX,
|
---|
361 | PTRUSTED_DOMAIN_AUTH_INFORMATION,ACCESS_MASK,PLSA_HANDLE);
|
---|
362 | NTSTATUS WINAPI LsaDeleteTrustedDomain(LSA_HANDLE,PSID);
|
---|
363 | NTSTATUS WINAPI LsaDeregisterLogonProcess(HANDLE);
|
---|
364 | NTSTATUS WINAPI LsaEnumerateAccountRights(LSA_HANDLE,PSID,PLSA_UNICODE_STRING*,PULONG);
|
---|
365 | NTSTATUS WINAPI LsaEnumerateAccountsWithUserRight(LSA_HANDLE,PLSA_UNICODE_STRING,PVOID*,PULONG);
|
---|
366 | NTSTATUS WINAPI LsaEnumerateLogonSessions(PULONG,PLUID*);
|
---|
367 | NTSTATUS WINAPI LsaEnumerateTrustedDomains(LSA_HANDLE,PLSA_ENUMERATION_HANDLE,PVOID*,ULONG,PULONG);
|
---|
368 | NTSTATUS WINAPI LsaEnumerateTrustedDomainsEx(LSA_HANDLE,PLSA_ENUMERATION_HANDLE,PVOID*,ULONG,PULONG);
|
---|
369 | NTSTATUS WINAPI LsaFreeMemory(PVOID);
|
---|
370 | NTSTATUS WINAPI LsaFreeReturnBuffer(PVOID);
|
---|
371 | NTSTATUS WINAPI LsaGetLogonSessionData(PLUID,PSECURITY_LOGON_SESSION_DATA*);
|
---|
372 | NTSTATUS WINAPI LsaLogonUser(HANDLE,PLSA_STRING,SECURITY_LOGON_TYPE,ULONG,PVOID,ULONG,PTOKEN_GROUPS,PTOKEN_SOURCE,PVOID*,PULONG,PLUID,PHANDLE,PQUOTA_LIMITS,PNTSTATUS);
|
---|
373 | NTSTATUS WINAPI LsaLookupAuthenticationPackage(HANDLE,PLSA_STRING,PULONG);
|
---|
374 | NTSTATUS WINAPI LsaLookupNames(LSA_HANDLE,ULONG,PLSA_UNICODE_STRING,PLSA_REFERENCED_DOMAIN_LIST*,
|
---|
375 | PLSA_TRANSLATED_SID*);
|
---|
376 | NTSTATUS WINAPI LsaLookupNames2(LSA_HANDLE,ULONG,ULONG,PLSA_UNICODE_STRING,PLSA_REFERENCED_DOMAIN_LIST*,
|
---|
377 | PLSA_TRANSLATED_SID2*);
|
---|
378 | NTSTATUS WINAPI LsaLookupSids(LSA_HANDLE,ULONG,PSID *,PLSA_REFERENCED_DOMAIN_LIST *,PLSA_TRANSLATED_NAME *);
|
---|
379 | ULONG WINAPI LsaNtStatusToWinError(NTSTATUS);
|
---|
380 | NTSTATUS WINAPI LsaOpenPolicy(PLSA_UNICODE_STRING,PLSA_OBJECT_ATTRIBUTES,ACCESS_MASK,PLSA_HANDLE);
|
---|
381 | NTSTATUS WINAPI LsaOpenTrustedDomainByName(LSA_HANDLE,PLSA_UNICODE_STRING,ACCESS_MASK,PLSA_HANDLE);
|
---|
382 | NTSTATUS WINAPI LsaQueryInformationPolicy(LSA_HANDLE,POLICY_INFORMATION_CLASS,PVOID*);
|
---|
383 | NTSTATUS WINAPI LsaQueryTrustedDomainInfo(LSA_HANDLE,PSID,TRUSTED_INFORMATION_CLASS,PVOID*);
|
---|
384 | NTSTATUS WINAPI LsaQueryTrustedDomainInfoByName(LSA_HANDLE,PLSA_UNICODE_STRING,TRUSTED_INFORMATION_CLASS,PVOID*);
|
---|
385 | NTSTATUS WINAPI LsaRegisterLogonProcess(PLSA_STRING,PHANDLE,PLSA_OPERATIONAL_MODE);
|
---|
386 | NTSTATUS WINAPI LsaRegisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS,HANDLE);
|
---|
387 | NTSTATUS WINAPI LsaRemoveAccountRights(LSA_HANDLE,PSID,BOOLEAN,PLSA_UNICODE_STRING,ULONG);
|
---|
388 | NTSTATUS WINAPI LsaRetrievePrivateData(LSA_HANDLE,PLSA_UNICODE_STRING,PLSA_UNICODE_STRING*);
|
---|
389 | NTSTATUS WINAPI LsaSetInformationPolicy(LSA_HANDLE,POLICY_INFORMATION_CLASS,PVOID);
|
---|
390 | NTSTATUS WINAPI LsaSetTrustedDomainInfoByName(LSA_HANDLE,PLSA_UNICODE_STRING,TRUSTED_INFORMATION_CLASS,PVOID);
|
---|
391 | NTSTATUS WINAPI LsaSetTrustedDomainInformation(LSA_HANDLE,PSID,TRUSTED_INFORMATION_CLASS,PVOID);
|
---|
392 | NTSTATUS WINAPI LsaStorePrivateData(LSA_HANDLE,PLSA_UNICODE_STRING,PLSA_UNICODE_STRING);
|
---|
393 | NTSTATUS WINAPI LsaUnregisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS,HANDLE);
|
---|
394 |
|
---|
395 | #ifdef __cplusplus
|
---|
396 | } /* extern "C" */
|
---|
397 | #endif /* defined(__cplusplus) */
|
---|
398 |
|
---|
399 | #endif /* !defined(__WINE_NTSECAPI_H) */
|
---|