typedef struct _DEVICE_MAP { OBJECT_DIRECTORY *DosDevicesDirectory; OBJECT_DIRECTORY *GlobalDosDevicesDirectory; void *DosDevicesDirectoryHandle; unsigned long ReferenceCount; unsigned long DriveMap; unsigned char DriveType[32]; } DEVICE_MAP, *PDEVICE_MAP;