Tell the user if winedefault.reg is not loaded.
[wine] / include / ntsecapi.h
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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18
19 #ifndef __WINE_NTSECAPI_H
20 #define __WINE_NTSECAPI_H
21
22 #include "winnt.h"
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif /* defined(__cplusplus) */
27
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;
31
32 typedef PVOID LSA_HANDLE, *PLSA_HANDLE;
33
34 NTSTATUS WINAPI LsaOpenPolicy(PLSA_UNICODE_STRING,PLSA_OBJECT_ATTRIBUTES,ACCESS_MASK,PLSA_HANDLE);
35
36 typedef enum 
37 {
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;
51
52 typedef ULONG POLICY_AUDIT_EVENT_OPTIONS, *PPOLICY_AUDIT_EVENT_OPTIONS;
53
54 typedef struct
55 {
56         BOOLEAN AuditingMode;
57         PPOLICY_AUDIT_EVENT_OPTIONS EventAuditingOptions;
58         ULONG MaximumAuditEventCount;
59 } POLICY_AUDIT_EVENTS_INFO, *PPOLICY_AUDIT_EVENTS_INFO;
60
61 typedef struct
62 {
63     LSA_UNICODE_STRING Name;
64     PSID Sid;
65 } POLICY_PRIMARY_DOMAIN_INFO, *PPOLICY_PRIMARY_DOMAIN_INFO;
66
67
68 NTSTATUS WINAPI LsaQueryInformationPolicy(LSA_HANDLE,POLICY_INFORMATION_CLASS,PVOID*);
69
70 NTSTATUS WINAPI LsaFreeMemory(PVOID);
71 NTSTATUS WINAPI LsaClose(IN LSA_HANDLE ObjectHandle);
72
73 #ifdef __cplusplus
74 } /* extern "C" */
75 #endif /* defined(__cplusplus) */
76
77 #endif /* !defined(__WINE_NTSECAPI_H) */