From: Tim Twaits [tjt@sophos.com]
Sent: Monday, October 04, 1999 6:19 AM
To: ntfsd@atria.com; ntdev@atria.com
Subject: [ntdev] IoGetDeviceObjectPointer & Windows 2000 RC2


Can anyone confirm whether or not the operation of IoGetDeviceObjectPointer
has changed between the  RC1 (2072) build  and RC2 (build 2128) releases of
Windows 2000?

I have a driver which uses IoGetDeviceObjectPointer to obtain the device object
for " \DosDevices\C:" (as shown below).

RtlInitUnicodeString( &DevName, L"\\DosDevices\\C:" );
Code = IoGetDeviceObjectPointer( &DevName, FILE_READ_ATTRIBUTES, &FileObj,
&DevObj );

In all versions of NT (from 3.51 up to and including Windows  2000 RC1) this has
returned a file system device (e.g. FastFat or Ntfs) . On Windows 2000 RC2 the
returned device object belongs to \Driver\FtDisk and DevObj->Vpb->DeviceObject
gives the address of the file system device.  This is causing me some grief.

Does Microsoft consider this a bug? Will it be fixed in the next release?
I would very much like to know.

Many thanks

Tim.







 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[ To unsubscribe, send email to ntdev-request@atria.com with body
UNSUBSCRIBE (the subject is ignored). ]