Re: Don't receive IRP_MJ_CREATE on a CreateFile



Thierry Murail schrieb:
What kind of driver are you working on?

FILE_DEVICE_DISK (based on Ramdisk sample)

You are saying that you are calling CreateFile on your device (e.g.
\\.\Global\MyDriver), and you don't see the corresponding MJ_CREATE
request. Is createfile succeeding?

Yes, and Ioctl requests too.
I CreateFile on the symlink created by the driver, (the drive letter \\
\H:). Another user program ("consumer") just read/write on the device and
there's also no IRP_MJ_CREATE/CLEANUP/CLOSE.

Does the program open files on the device, or does it open the device in
raw mode?

--
Thomas
http://www.netmeister.org/news/learn2quote.html
.


Loading