#include <internal/ps.h>
#include <internal/id.h>
#include <internal/ke.h>
+#include <internal/io.h>
#define NDEBUG
#include <internal/debug.h>
PWSTR Path;
PWSTR current;
UNICODE_STRING PathString;
+ ULONG Attributes;
DPRINT("ObFindObject(ObjectAttributes %x, ReturnedObject %x, "
"RemainingPath %x)\n",ObjectAttributes,ReturnedObject,RemainingPath);
}
RootObject = CurrentObject;
+ Attributes = ObjectAttributes->Attributes;
+ if (ObjectType == IoSymbolicLinkType)
+ Attributes |= OBJ_OPENLINK;
while (TRUE)
{
&NextObject,
&PathString,
¤t,
- ObjectAttributes->Attributes);
+ Attributes);
if (Status == STATUS_REPARSE)
{
/* reparse the object path */