Create Request

I am trying to obtain a FILE_OBJECT pointer to a certain file, to make a read or write request in a FS filter.
I am wondering if there is a way of making a create request(building the IRP and send it down the stack) to the file system, and where can I find some tips or documentation. I don’t want to use IoCreateFileSpecifyDeviceObjectHint because it doesn’t always send the request to the specified device it sends it to the top of the stack sometimes, and also returns a handle to the file, which I am not interested in.

This issue has been discussed before. One of the interesting discussions
about “rolling your own create IRP” can be found here:

http://www.osronline.com/showThread.cfm?link=57995

wrote news:xxxxx@ntfsd…
>I am trying to obtain a FILE_OBJECT pointer to a certain file, to make a
>read or write request in a FS filter.
> I am wondering if there is a way of making a create request(building the
> IRP and send it down the stack) to the file system, and where can I find
> some tips or documentation. I don’t want to use
> IoCreateFileSpecifyDeviceObjectHint because it doesn’t always send the
> request to the specified device it sends it to the top of the stack
> sometimes, and also returns a handle to the file, which I am not
> interested in.
>