Don't redefine ANSI_STRING, UNICODE_STRING and OBJECT_ATTRIBUTES if the
NDK already defines them.
Modified: trunk/reactos/w32api/include/ntsecapi.h
_____
Modified: trunk/reactos/w32api/include/ntsecapi.h
--- trunk/reactos/w32api/include/ntsecapi.h 2005-06-26 11:07:15 UTC
(rev 16282)
+++ trunk/reactos/w32api/include/ntsecapi.h 2005-06-26 11:14:48 UTC
(rev 16283)
@@ -122,7 +122,7 @@
#define TRUST_TYPE_UPLEVEL 2
#define TRUST_TYPE_MIT 3
#define TRUST_TYPE_DCE 4
-#if !defined(_NTDEF_H) && !defined(_SUBAUTH_H)
+#if !defined(_NTDEF_H) && !defined(_SUBAUTH_H) && !defined(_NTNDK_)
typedef LONG NTSTATUS, *PNTSTATUS;
typedef struct _UNICODE_STRING {
USHORT Length;
@@ -293,7 +293,7 @@
PSID Sid;
} LSA_ENUMERATION_INFORMATION, *PLSA_ENUMERATION_INFORMATION;
typedef ULONG LSA_OPERATIONAL_MODE, *PLSA_OPERATIONAL_MODE;
-#if !defined(_NTDEF_H)
+#if !defined(_NTDEF_H) && !defined(_NTNDK_)
typedef struct _LSA_OBJECT_ATTRIBUTES {
ULONG Length;
HANDLE RootDirectory;
Show replies by date