Define environment variable TMP as an alias for TEMP.
[wine.git] / include / ntsecapi.h
blob814ffbc4695236e7ba63052b55f78edc610817d5
1 #ifndef __WINE_NTSECAPI_H
2 #define __WINE_NTSECAPI_H
4 #include "winnt.h"
6 #ifdef __cplusplus
7 extern "C" {
8 #endif /* defined(__cplusplus) */
10 typedef UNICODE_STRING LSA_UNICODE_STRING, *PLSA_UNICODE_STRING;
11 typedef STRING LSA_STRING, *PLSA_STRING;
12 typedef OBJECT_ATTRIBUTES LSA_OBJECT_ATTRIBUTES, *PLSA_OBJECT_ATTRIBUTES;
14 typedef PVOID LSA_HANDLE, *PLSA_HANDLE;
16 NTSTATUS WINAPI LsaOpenPolicy(PLSA_UNICODE_STRING,PLSA_OBJECT_ATTRIBUTES,ACCESS_MASK,PLSA_HANDLE);
18 typedef enum
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;
34 typedef ULONG POLICY_AUDIT_EVENT_OPTIONS, *PPOLICY_AUDIT_EVENT_OPTIONS;
36 typedef struct
38 BOOLEAN AuditingMode;
39 PPOLICY_AUDIT_EVENT_OPTIONS EventAuditingOptions;
40 ULONG MaximumAuditEventCount;
41 } POLICY_AUDIT_EVENTS_INFO, *PPOLICY_AUDIT_EVENTS_INFO;
43 typedef struct
45 LSA_UNICODE_STRING Name;
46 PSID Sid;
47 } POLICY_PRIMARY_DOMAIN_INFO, *PPOLICY_PRIMARY_DOMAIN_INFO;
50 NTSTATUS WINAPI LsaQueryInformationPolicy(LSA_HANDLE,POLICY_INFORMATION_CLASS,PVOID*);
52 NTSTATUS WINAPI LsaFreeMemory(PVOID);
53 NTSTATUS WINAPI LsaClose(IN LSA_HANDLE ObjectHandle);
55 #ifdef __cplusplus
56 } /* extern "C" */
57 #endif /* defined(__cplusplus) */
59 #endif /* !defined(__WINE_NTSECAPI_H) */