#define NDEBUG
#include <debug.h>
-BOOLEAN ObpLUIDDeviceMapsEnabled;
-POBJECT_TYPE ObDirectoryType = NULL;
+POBJECT_TYPE ObpDirectoryObjectType = NULL;
/* PRIVATE FUNCTIONS ******************************************************/
PAGED_CODE();
/* Check if we should search the shadow directory */
- if (!ObpLUIDDeviceMapsEnabled) SearchShadow = FALSE;
+ if (ObpLUIDDeviceMapsEnabled == 0) SearchShadow = FALSE;
/* Fail if we don't have a directory or name */
if (!(Directory) || !(Name)) goto Quickie;
/* Open the directory object */
Status = ObOpenObjectByName(ObjectAttributes,
- ObDirectoryType,
+ ObpDirectoryObjectType,
PreviousMode,
NULL,
DesiredAccess,
/* Get a reference to directory */
Status = ObReferenceObjectByHandle(DirectoryHandle,
DIRECTORY_QUERY,
- ObDirectoryType,
+ ObpDirectoryObjectType,
PreviousMode,
(PVOID*)&Directory,
NULL);
/* Create the object */
Status = ObCreateObject(PreviousMode,
- ObDirectoryType,
+ ObpDirectoryObjectType,
ObjectAttributes,
PreviousMode,
NULL,