Module: wine Branch: master Commit: d173bc6a534c03fac60920b67d136d11cdee96e8 URL: https://gitlab.winehq.org/wine/wine/-/commit/d173bc6a534c03fac60920b67d136d1...
Author: Vitaly Lipatov lav@etersoft.ru Date: Sun Jul 16 17:23:13 2023 +0300
include: Add standalone LSA_OBJECT_ATTRIBUTES prototype if ntdef.h is not included.
---
include/ntsecapi.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
diff --git a/include/ntsecapi.h b/include/ntsecapi.h index 849e72ef33e..d01c04c6867 100644 --- a/include/ntsecapi.h +++ b/include/ntsecapi.h @@ -188,7 +188,21 @@ typedef struct _SecHandle
typedef UNICODE_STRING LSA_UNICODE_STRING, *PLSA_UNICODE_STRING; typedef STRING LSA_STRING, *PLSA_STRING; + +#ifdef _NTDEF_ typedef OBJECT_ATTRIBUTES LSA_OBJECT_ATTRIBUTES, *PLSA_OBJECT_ATTRIBUTES; +#else +typedef struct _LSA_OBJECT_ATTRIBUTES +{ + ULONG Length; + HANDLE RootDirectory; + PLSA_UNICODE_STRING ObjectName; + ULONG Attributes; + PVOID SecurityDescriptor; + PVOID SecurityQualityOfService; +} LSA_OBJECT_ATTRIBUTES, *PLSA_OBJECT_ATTRIBUTES; +#endif +
typedef PVOID LSA_HANDLE, *PLSA_HANDLE; typedef ULONG LSA_ENUMERATION_HANDLE, *PLSA_ENUMERATION_HANDLE;