Top level windows with 0 width or height are created with a size of 1x1 in
[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 typedef ULONG POLICY_AUDIT_EVENT_OPTIONS, *PPOLICY_AUDIT_EVENT_OPTIONS;
36
37 typedef struct
38 {
39         BOOLEAN AuditingMode;
40         PPOLICY_AUDIT_EVENT_OPTIONS EventAuditingOptions;
41         ULONG MaximumAuditEventCount;
42 } POLICY_AUDIT_EVENTS_INFO, *PPOLICY_AUDIT_EVENTS_INFO;
43
44 typedef struct
45 {
46     LSA_UNICODE_STRING Name;
47     PSID Sid;
48 } POLICY_PRIMARY_DOMAIN_INFO, *PPOLICY_PRIMARY_DOMAIN_INFO;
49
50
51 NTSTATUS WINAPI LsaQueryInformationPolicy(LSA_HANDLE,POLICY_INFORMATION_CLASS,PVOID*);
52
53 NTSTATUS WINAPI LsaFreeMemory(PVOID);
54 NTSTATUS WINAPI LsaClose(IN LSA_HANDLE ObjectHandle);
55
56 #ifdef __cplusplus
57 } /* extern "C" */
58 #endif /* defined(__cplusplus) */
59
60 #endif /* !defined(__WINE_NTSECAPI_H) */