Fixed TOOLBAR_DrawString() to offset button text if infoPtr->himlDef
[wine/gsoc_dplay.git] / include / ntsecapi.h
blob473da89bf95d5fb77ca8db1a45e318cd55315fff
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 typedef ULONG POLICY_AUDIT_EVENT_OPTIONS, *PPOLICY_AUDIT_EVENT_OPTIONS;
37 typedef struct
39 BOOLEAN AuditingMode;
40 PPOLICY_AUDIT_EVENT_OPTIONS EventAuditingOptions;
41 ULONG MaximumAuditEventCount;
42 } POLICY_AUDIT_EVENTS_INFO, *PPOLICY_AUDIT_EVENTS_INFO;
44 typedef struct
46 LSA_UNICODE_STRING Name;
47 PSID Sid;
48 } POLICY_PRIMARY_DOMAIN_INFO, *PPOLICY_PRIMARY_DOMAIN_INFO;
51 NTSTATUS WINAPI LsaQueryInformationPolicy(LSA_HANDLE,POLICY_INFORMATION_CLASS,PVOID*);
53 NTSTATUS WINAPI LsaFreeMemory(PVOID);
54 NTSTATUS WINAPI LsaClose(IN LSA_HANDLE ObjectHandle);
56 #ifdef __cplusplus
57 } /* extern "C" */
58 #endif /* defined(__cplusplus) */
60 #endif /* !defined(__WINE_NTSECAPI_H) */