2 * Copyright (C) 1999 Juergen Schmied
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.
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.
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef __WINE_NTSECAPI_H
20 #define __WINE_NTSECAPI_H
26 #endif /* defined(__cplusplus) */
28 typedef UNICODE_STRING LSA_UNICODE_STRING
, *PLSA_UNICODE_STRING
;
29 typedef STRING LSA_STRING
, *PLSA_STRING
;
30 typedef OBJECT_ATTRIBUTES LSA_OBJECT_ATTRIBUTES
, *PLSA_OBJECT_ATTRIBUTES
;
32 typedef PVOID LSA_HANDLE
, *PLSA_HANDLE
;
34 NTSTATUS WINAPI
LsaOpenPolicy(PLSA_UNICODE_STRING
,PLSA_OBJECT_ATTRIBUTES
,ACCESS_MASK
,PLSA_HANDLE
);
38 PolicyAuditLogInformation
= 1,
39 PolicyAuditEventsInformation
,
40 PolicyPrimaryDomainInformation
,
41 PolicyPdAccountInformation
,
42 PolicyAccountDomainInformation
,
43 PolicyLsaServerRoleInformation
,
44 PolicyReplicaSourceInformation
,
45 PolicyDefaultQuotaInformation
,
46 PolicyModificationInformation
,
47 PolicyAuditFullSetInformation
,
48 PolicyAuditFullQueryInformation
,
49 PolicyDnsDomainInformation
50 } POLICY_INFORMATION_CLASS
, *PPOLICY_INFORMATION_CLASS
;
52 typedef ULONG POLICY_AUDIT_EVENT_OPTIONS
, *PPOLICY_AUDIT_EVENT_OPTIONS
;
57 PPOLICY_AUDIT_EVENT_OPTIONS EventAuditingOptions
;
58 ULONG MaximumAuditEventCount
;
59 } POLICY_AUDIT_EVENTS_INFO
, *PPOLICY_AUDIT_EVENTS_INFO
;
63 LSA_UNICODE_STRING Name
;
65 } POLICY_PRIMARY_DOMAIN_INFO
, *PPOLICY_PRIMARY_DOMAIN_INFO
;
68 NTSTATUS WINAPI
LsaQueryInformationPolicy(LSA_HANDLE
,POLICY_INFORMATION_CLASS
,PVOID
*);
70 NTSTATUS WINAPI
LsaFreeMemory(PVOID
);
71 NTSTATUS WINAPI
LsaClose(IN LSA_HANDLE ObjectHandle
);
75 #endif /* defined(__cplusplus) */
77 #endif /* !defined(__WINE_NTSECAPI_H) */