Removed obsolete console driver.
[wine/hacks.git] / include / ntsecapi.h
blobb7765e2bac61d3f5e4e59039d8bfee5953b014b4
1 /*
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
22 #include "winnt.h"
24 #ifdef __cplusplus
25 extern "C" {
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);
36 typedef enum
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;
54 typedef struct
56 BOOLEAN AuditingMode;
57 PPOLICY_AUDIT_EVENT_OPTIONS EventAuditingOptions;
58 ULONG MaximumAuditEventCount;
59 } POLICY_AUDIT_EVENTS_INFO, *PPOLICY_AUDIT_EVENTS_INFO;
61 typedef struct
63 LSA_UNICODE_STRING Name;
64 PSID Sid;
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);
73 #ifdef __cplusplus
74 } /* extern "C" */
75 #endif /* defined(__cplusplus) */
77 #endif /* !defined(__WINE_NTSECAPI_H) */