Fixed bad register constraint in InterlockedCompareExchange.
[wine/hacks.git] / include / ntsecapi.h
blob44fa0b5c49ca03751f02d6dd18761b237db5e66e
1 #ifndef __WINE_NTSECAPI_H
2 #define __WINE_NTSECAPI_H
4 #include "ntdef.h"
5 #include "winnt.h"
7 #ifdef __cplusplus
8 extern "C" {
9 #endif /* defined(__cplusplus) */
11 typedef UNICODE_STRING LSA_UNICODE_STRING, *PLSA_UNICODE_STRING;
12 typedef STRING LSA_STRING, *PLSA_STRING;
13 typedef OBJECT_ATTRIBUTES LSA_OBJECT_ATTRIBUTES, *PLSA_OBJECT_ATTRIBUTES;
15 typedef PVOID LSA_HANDLE, *PLSA_HANDLE;
17 NTSTATUS WINAPI LsaOpenPolicy(PLSA_UNICODE_STRING,PLSA_OBJECT_ATTRIBUTES,ACCESS_MASK,PLSA_HANDLE);
19 typedef enum
21 PolicyAuditLogInformation = 1,
22 PolicyAuditEventsInformation,
23 PolicyPrimaryDomainInformation,
24 PolicyPdAccountInformation,
25 PolicyAccountDomainInformation,
26 PolicyLsaServerRoleInformation,
27 PolicyReplicaSourceInformation,
28 PolicyDefaultQuotaInformation,
29 PolicyModificationInformation,
30 PolicyAuditFullSetInformation,
31 PolicyAuditFullQueryInformation,
32 PolicyDnsDomainInformation
33 } POLICY_INFORMATION_CLASS, *PPOLICY_INFORMATION_CLASS;
35 NTSTATUS WINAPI LsaQueryInformationPolicy(LSA_HANDLE,POLICY_INFORMATION_CLASS,PVOID*);
37 NTSTATUS WINAPI LsaFreeMemory(PVOID);
38 NTSTATUS WINAPI LsaClose(IN LSA_HANDLE ObjectHandle);
40 #ifdef __cplusplus
41 } /* extern "C" */
42 #endif /* defined(__cplusplus) */
44 #endif /* !defined(__WINE_NTSECAPI_H) */