1999-07-04 13:01:21 +02:00
|
|
|
#ifndef __WINE_NTSECAPI_H
|
|
|
|
#define __WINE_NTSECAPI_H
|
|
|
|
|
|
|
|
#include "ntdef.h"
|
1999-10-24 23:48:50 +02:00
|
|
|
#include "winnt.h"
|
1999-07-04 13:01:21 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* defined(__cplusplus) */
|
|
|
|
|
|
|
|
typedef UNICODE_STRING LSA_UNICODE_STRING, *PLSA_UNICODE_STRING;
|
|
|
|
typedef STRING LSA_STRING, *PLSA_STRING;
|
|
|
|
typedef OBJECT_ATTRIBUTES LSA_OBJECT_ATTRIBUTES, *PLSA_OBJECT_ATTRIBUTES;
|
|
|
|
|
|
|
|
typedef PVOID LSA_HANDLE, *PLSA_HANDLE;
|
|
|
|
|
|
|
|
NTSTATUS WINAPI LsaOpenPolicy(PLSA_UNICODE_STRING,PLSA_OBJECT_ATTRIBUTES,ACCESS_MASK,PLSA_HANDLE);
|
|
|
|
|
1999-12-12 00:19:54 +01:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
PolicyAuditLogInformation = 1,
|
|
|
|
PolicyAuditEventsInformation,
|
|
|
|
PolicyPrimaryDomainInformation,
|
|
|
|
PolicyPdAccountInformation,
|
|
|
|
PolicyAccountDomainInformation,
|
|
|
|
PolicyLsaServerRoleInformation,
|
|
|
|
PolicyReplicaSourceInformation,
|
|
|
|
PolicyDefaultQuotaInformation,
|
|
|
|
PolicyModificationInformation,
|
|
|
|
PolicyAuditFullSetInformation,
|
|
|
|
PolicyAuditFullQueryInformation,
|
|
|
|
PolicyDnsDomainInformation
|
|
|
|
} POLICY_INFORMATION_CLASS, *PPOLICY_INFORMATION_CLASS;
|
|
|
|
|
- implementation of RtlReg* (read access), RtlEvent*, RtlSemaphore*,
NtAllocateLocallyUniqueId
- implementation or stubs for NtAccessCheck, NtSetSecurityObject,
RtlClearBits, RtlEqualPrefixSid, RtlFindClearBits,
RtlFormatCurrentUserKeyPath, RtlGetControlSecurityDescriptor,
RtlIdentifierAuthoritySid, RtlImpersonateSelf, RtlInitializeBitMap,
RtlInitializeGenericTable, RtlMakeSelfRelativeSD,
RtlPrefixUnicodeString, RtlSetBits, RtlUnicodeToMultiByteN,
RtlUpcaseUnicodeStringToOemString, RtlUpcaseUnicodeToOemN,
RtlValidSid, RtlxUnicodeStringToOemSize
- corrected most RtlString* functions, added documentation
- more fixes and partial implementations
2000-01-23 23:35:33 +01:00
|
|
|
typedef ULONG POLICY_AUDIT_EVENT_OPTIONS, *PPOLICY_AUDIT_EVENT_OPTIONS;
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
BOOLEAN AuditingMode;
|
|
|
|
PPOLICY_AUDIT_EVENT_OPTIONS EventAuditingOptions;
|
|
|
|
ULONG MaximumAuditEventCount;
|
|
|
|
} POLICY_AUDIT_EVENTS_INFO, *PPOLICY_AUDIT_EVENTS_INFO;
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
LSA_UNICODE_STRING Name;
|
|
|
|
PSID Sid;
|
|
|
|
} POLICY_PRIMARY_DOMAIN_INFO, *PPOLICY_PRIMARY_DOMAIN_INFO;
|
|
|
|
|
|
|
|
|
1999-12-12 00:19:54 +01:00
|
|
|
NTSTATUS WINAPI LsaQueryInformationPolicy(LSA_HANDLE,POLICY_INFORMATION_CLASS,PVOID*);
|
|
|
|
|
|
|
|
NTSTATUS WINAPI LsaFreeMemory(PVOID);
|
|
|
|
NTSTATUS WINAPI LsaClose(IN LSA_HANDLE ObjectHandle);
|
|
|
|
|
1999-07-04 13:01:21 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif /* defined(__cplusplus) */
|
|
|
|
|
|
|
|
#endif /* !defined(__WINE_NTSECAPI_H) */
|