diff --git a/reactos/include/ddk/obtypes.h b/reactos/include/ddk/obtypes.h index 39e2d0dee8d..74c3f454144 100644 --- a/reactos/include/ddk/obtypes.h +++ b/reactos/include/ddk/obtypes.h @@ -1,6 +1,6 @@ #ifndef _INCLUDE_DDK_OBTYPES_H #define _INCLUDE_DDK_OBTYPES_H -/* $Id: obtypes.h,v 1.14 2001/12/05 01:40:23 dwelch Exp $ */ +/* $Id: obtypes.h,v 1.15 2002/06/20 21:28:55 ekohl Exp $ */ struct _DIRECTORY_OBJECT; struct _OBJECT_ATTRIBUTES; @@ -93,7 +93,6 @@ typedef struct _OBJECT_TYPE PVOID *NextObject, PUNICODE_STRING FullPath, PWSTR *Path, - struct _OBJECT_TYPE* ObjectType, ULONG Attributes); /* diff --git a/reactos/ntoskrnl/cm/cm.h b/reactos/ntoskrnl/cm/cm.h index 0c208e61335..2299fb8c7a1 100644 --- a/reactos/ntoskrnl/cm/cm.h +++ b/reactos/ntoskrnl/cm/cm.h @@ -349,7 +349,6 @@ CmiObjectParse(IN PVOID ParsedObject, OUT PVOID *NextObject, IN PUNICODE_STRING FullPath, IN OUT PWSTR *Path, - IN POBJECT_TYPE ObjectType, IN ULONG Attribute); NTSTATUS STDCALL diff --git a/reactos/ntoskrnl/cm/regobj.c b/reactos/ntoskrnl/cm/regobj.c index e7b9c30ba2e..41cfcbd3ca2 100644 --- a/reactos/ntoskrnl/cm/regobj.c +++ b/reactos/ntoskrnl/cm/regobj.c @@ -33,7 +33,6 @@ CmiObjectParse(PVOID ParsedObject, PVOID *NextObject, PUNICODE_STRING FullPath, PWSTR *Path, - POBJECT_TYPE ObjectType, ULONG Attributes) { BLOCK_OFFSET BlockOffset; diff --git a/reactos/ntoskrnl/ex/win32k.c b/reactos/ntoskrnl/ex/win32k.c index 432266024fc..7ecda320bf3 100644 --- a/reactos/ntoskrnl/ex/win32k.c +++ b/reactos/ntoskrnl/ex/win32k.c @@ -163,7 +163,6 @@ ExpWinStaObjectParse(PVOID Object, PVOID *NextObject, PUNICODE_STRING FullPath, PWSTR *Path, - POBJECT_TYPE ObjectType, ULONG Attributes) { PVOID FoundObject; diff --git a/reactos/ntoskrnl/io/arcname.c b/reactos/ntoskrnl/io/arcname.c index 361f31dfc48..832ef9590b6 100644 --- a/reactos/ntoskrnl/io/arcname.c +++ b/reactos/ntoskrnl/io/arcname.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: arcname.c,v 1.3 2002/05/05 14:57:43 chorns Exp $ +/* $Id: arcname.c,v 1.4 2002/06/20 21:30:33 ekohl Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -232,7 +232,7 @@ IoCreateSystemRootLink(PCHAR ParameterLine) InitializeObjectAttributes(&ObjectAttributes, &ArcName, - 0, + OBJ_OPENLINK, NULL, NULL); diff --git a/reactos/ntoskrnl/io/symlink.c b/reactos/ntoskrnl/io/symlink.c index de678b34b6f..4521d240b19 100644 --- a/reactos/ntoskrnl/io/symlink.c +++ b/reactos/ntoskrnl/io/symlink.c @@ -1,4 +1,4 @@ -/* $Id: symlink.c,v 1.26 2002/04/15 12:38:01 ekohl Exp $ +/* $Id: symlink.c,v 1.27 2002/06/20 21:30:33 ekohl Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -82,7 +82,6 @@ IopParseSymbolicLink(PVOID Object, PVOID * NextObject, PUNICODE_STRING FullPath, PWSTR * RemainingPath, - POBJECT_TYPE ObjectType, ULONG Attributes) { PSYMLNK_OBJECT SymlinkObject = (PSYMLNK_OBJECT) Object; @@ -94,7 +93,7 @@ IopParseSymbolicLink(PVOID Object, * the desired object is a symbolic link object. */ if (((*RemainingPath == NULL) || (**RemainingPath == 0)) && - (ObjectType == IoSymbolicLinkType)) + (Attributes & OBJ_OPENLINK)) { DPRINT("Parsing stopped!\n"); *NextObject = NULL; diff --git a/reactos/ntoskrnl/ke/main.c b/reactos/ntoskrnl/ke/main.c index 66855e1d8c7..0b9f6134a90 100644 --- a/reactos/ntoskrnl/ke/main.c +++ b/reactos/ntoskrnl/ke/main.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: main.c,v 1.126 2002/06/17 22:16:33 joeg Exp $ +/* $Id: main.c,v 1.127 2002/06/20 21:31:01 ekohl Exp $ * * PROJECT: ReactOS kernel * FILE: ntoskrnl/ke/main.c @@ -182,7 +182,7 @@ InitSystemSharedUserPage (PCSZ ParameterLine) InitializeObjectAttributes (&ObjectAttributes, &ArcName, - 0, + OBJ_OPENLINK, NULL, NULL); @@ -229,7 +229,7 @@ InitSystemSharedUserPage (PCSZ ParameterLine) InitializeObjectAttributes (&ObjectAttributes, &DriveName, - 0, + OBJ_OPENLINK, NULL, NULL); diff --git a/reactos/ntoskrnl/ob/namespc.c b/reactos/ntoskrnl/ob/namespc.c index 1abe482bc01..65b3299a39d 100644 --- a/reactos/ntoskrnl/ob/namespc.c +++ b/reactos/ntoskrnl/ob/namespc.c @@ -1,4 +1,4 @@ -/* $Id: namespc.c,v 1.30 2002/03/06 12:40:47 ekohl Exp $ +/* $Id: namespc.c,v 1.31 2002/06/20 21:31:39 ekohl Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -248,7 +248,6 @@ ObpParseDirectory(PVOID Object, PVOID * NextObject, PUNICODE_STRING FullPath, PWSTR * Path, - POBJECT_TYPE ObjectType, ULONG Attributes) { PWSTR end; diff --git a/reactos/ntoskrnl/ob/object.c b/reactos/ntoskrnl/ob/object.c index 832f2166861..de46ed3a19c 100644 --- a/reactos/ntoskrnl/ob/object.c +++ b/reactos/ntoskrnl/ob/object.c @@ -1,4 +1,4 @@ -/* $Id: object.c,v 1.50 2002/06/05 19:37:12 hbirr Exp $ +/* $Id: object.c,v 1.51 2002/06/20 21:31:39 ekohl Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -185,7 +185,6 @@ NTSTATUS ObFindObject(POBJECT_ATTRIBUTES ObjectAttributes, &NextObject, &PathString, ¤t, - ObjectType, ObjectAttributes->Attributes); if (Status == STATUS_REPARSE) {