Re: IoRegisterFsRegistration-Change

It was just my mistake. I used IoCreateDevice()
with Exclusive boolean TRUE to create the device used
for GUI communications.

Regards,

Takashi

I found the following question in the past NTFSD archives and
I have the same problem now.
Is this because calling IoRegisterFsRegistrationChange() causes
the reference count on our device object to be increased?

Any help is greately appreciated.
Thanks in advance.

Takashi.

>I have written a driver which is loaded at boot start. I create a symbolic
>link to the device so I can communicate with it using a Win32 application. The
>application uses CreateFile() with GENERIC_READ and GENERIC_WRITE flags
>specified and gets a handle to the loaded device with no problems. However, I
>have now added a call to IoRegisterFsRegistrationChange() to be able to layer
>on top of the file system and now when the Win32 application is run I get
>Access Denied at the call to CreateFile(). I have removed the IoRegister…
>call and everything is once again OK. Can anyone help me with this. Is it
>because the driver is now layered on the file system that I can no longer
>access it using the symbolic link?