Implemented WaitForInputIdle.
[wine] / include / ntsecapi.h
1 #ifndef __WINE_NTSECAPI_H
2 #define __WINE_NTSECAPI_H
3
4 #include "ntdef.h"
5 #include "winnt.h"
6
7 #ifdef __cplusplus
8 extern "C" {
9 #endif /* defined(__cplusplus) */
10
11 typedef UNICODE_STRING LSA_UNICODE_STRING, *PLSA_UNICODE_STRING;
12 typedef STRING LSA_STRING, *PLSA_STRING;
13 typedef OBJECT_ATTRIBUTES LSA_OBJECT_ATTRIBUTES, *PLSA_OBJECT_ATTRIBUTES;
14
15 typedef PVOID LSA_HANDLE, *PLSA_HANDLE;
16
17 NTSTATUS WINAPI LsaOpenPolicy(PLSA_UNICODE_STRING,PLSA_OBJECT_ATTRIBUTES,ACCESS_MASK,PLSA_HANDLE);
18
19 typedef enum 
20 {
21         PolicyAuditLogInformation = 1,
22         PolicyAuditEventsInformation,
23         PolicyPrimaryDomainInformation,
24         PolicyPdAccountInformation,
25         PolicyAccountDomainInformation,
26         PolicyLsaServerRoleInformation,
27         PolicyReplicaSourceInformation,
28         PolicyDefaultQuotaInformation,
29         PolicyModificationInformation,
30         PolicyAuditFullSetInformation,
31         PolicyAuditFullQueryInformation,
32         PolicyDnsDomainInformation
33 } POLICY_INFORMATION_CLASS, *PPOLICY_INFORMATION_CLASS;
34
35 NTSTATUS WINAPI LsaQueryInformationPolicy(LSA_HANDLE,POLICY_INFORMATION_CLASS,PVOID*);
36
37 NTSTATUS WINAPI LsaFreeMemory(PVOID);
38 NTSTATUS WINAPI LsaClose(IN LSA_HANDLE ObjectHandle);
39
40 #ifdef __cplusplus
41 } /* extern "C" */
42 #endif /* defined(__cplusplus) */
43
44 #endif /* !defined(__WINE_NTSECAPI_H) */