RE: why my os not create "FatDiskRecognizer" device o n windows 2000 platform??

My Windows 2000 doesn’t create the \Filesystem\FatDiskRecognizer. It creates
device \Filesystem\FatRecognizer. STATUS_OBJECT_TYPE_MISMATCH was returned
because IoGetDeviceObjectPointer requires name of device object and
L"\FileSystem\Fs_Rec" is name of driver object.

Are you using WinObj from
http:?

Joze

-----Original Message-----
From: vcmfc [mailto:xxxxx@hotmail.com]
Sent: Thursday, April 10, 2003 3:09 PM
To: File Systems Developers
Subject: [ntfsd] RE: why my os not create “FatDiskRecognizer” device on
windows 2000 platform??

I use the following codes to obtain device object,but it is fail,status
code=0xC0000024L(STATUS_OBJECT_TYPE_MISMATCH);

NTSTATUS status;
UNICODE_STRING usDeviceName;
PFILE_OBJECT FileObject = NULL;
PDEVICE_OBJECT pFsdDevObj = NULL;

RtlInitUnicodeString(&usDeviceName, L"\FileSystem\Fs_Rec");

status=IoGetDeviceObjectPointer(&usDeviceName,
FILE_ALL_ACCESS,
&FileObject,
&pFsdDevObj);
if(!NT_SUCCESS(status))
{
KdPrint((" Cann’t get file system device object, status=0x%4x.\n",
status));
return STATUS_UNSUCCESSFUL;
}

How attaching fastfat it will be I?,How to know that it is fastfat driver
or other at present?

Thank you.


You are currently subscribed to ntfsd as: xxxxx@hermes.si
To unsubscribe send a blank email to xxxxx@lists.osr.com</http:>

your partition is NTFS,so is \Filesystem\FatRecognizer,my partition is
FAT32,so is \Filesystem\FatDiskRecognizer.