[NTOS:OB] Rename object types to their official names to satisfy WinDbg

- Rename ObDirectoryType to ObpDirectoryObjectType and remove it from NDK (this is not exported!)
- Rename ObSymbolicLinkType to ObpSymbolicLinkObjectType
- Remove duplicated ObpTypeObjectType from ob.h
This commit is contained in:
Timo Kreuzer 2018-02-13 21:33:04 +01:00
parent 65f9783808
commit 2c909db295
11 changed files with 29 additions and 30 deletions

View file

@ -3095,7 +3095,7 @@ ObInsertObject(IN PVOID Object,
{
/* Check if this was a symbolic link */
if (OBJECT_TO_OBJECT_HEADER(InsertObject)->Type ==
ObSymbolicLinkType)
ObpSymbolicLinkObjectType)
{
/* Dereference it */
ObDereferenceObject(InsertObject);
@ -3129,7 +3129,7 @@ ObInsertObject(IN PVOID Object,
else
{
/* Check if this is a symbolic link */
if (ObjectType == ObSymbolicLinkType)
if (ObjectType == ObpSymbolicLinkObjectType)
{
/* Create the internal name */
ObpCreateSymbolicLinkName(Object);