source: trunk/include/win/ntsecapi.h@ 7986

Last change on this file since 7986 was 7986, checked in by sandervl, 24 years ago

header updates

File size: 1.5 KB
Line 
1#ifndef __WINE_NTSECAPI_H
2#define __WINE_NTSECAPI_H
3
4#include "winnt.h"
5
6#ifdef __cplusplus
7extern "C" {
8#endif /* defined(__cplusplus) */
9
10typedef UNICODE_STRING LSA_UNICODE_STRING, *PLSA_UNICODE_STRING;
11typedef STRING LSA_STRING, *PLSA_STRING;
12typedef OBJECT_ATTRIBUTES LSA_OBJECT_ATTRIBUTES, *PLSA_OBJECT_ATTRIBUTES;
13
14typedef PVOID LSA_HANDLE, *PLSA_HANDLE;
15
16NTSTATUS WINAPI LsaOpenPolicy(PLSA_UNICODE_STRING,PLSA_OBJECT_ATTRIBUTES,ACCESS_MASK,PLSA_HANDLE);
17
18typedef enum
19{
20 PolicyAuditLogInformation = 1,
21 PolicyAuditEventsInformation,
22 PolicyPrimaryDomainInformation,
23 PolicyPdAccountInformation,
24 PolicyAccountDomainInformation,
25 PolicyLsaServerRoleInformation,
26 PolicyReplicaSourceInformation,
27 PolicyDefaultQuotaInformation,
28 PolicyModificationInformation,
29 PolicyAuditFullSetInformation,
30 PolicyAuditFullQueryInformation,
31 PolicyDnsDomainInformation
32} POLICY_INFORMATION_CLASS, *PPOLICY_INFORMATION_CLASS;
33
34typedef ULONG POLICY_AUDIT_EVENT_OPTIONS, *PPOLICY_AUDIT_EVENT_OPTIONS;
35
36typedef struct
37{
38 BOOLEAN AuditingMode;
39 PPOLICY_AUDIT_EVENT_OPTIONS EventAuditingOptions;
40 ULONG MaximumAuditEventCount;
41} POLICY_AUDIT_EVENTS_INFO, *PPOLICY_AUDIT_EVENTS_INFO;
42
43typedef struct
44{
45 LSA_UNICODE_STRING Name;
46 PSID Sid;
47} POLICY_PRIMARY_DOMAIN_INFO, *PPOLICY_PRIMARY_DOMAIN_INFO;
48
49
50NTSTATUS WINAPI LsaQueryInformationPolicy(LSA_HANDLE,POLICY_INFORMATION_CLASS,PVOID*);
51
52NTSTATUS WINAPI LsaFreeMemory(PVOID);
53NTSTATUS WINAPI LsaClose(IN LSA_HANDLE ObjectHandle);
54
55#ifdef __cplusplus
56} /* extern "C" */
57#endif /* defined(__cplusplus) */
58
59#endif /* !defined(__WINE_NTSECAPI_H) */
Note: See TracBrowser for help on using the repository browser.