I have been looking for information on the methods of accessing remote files
over the network in the kernel code. While tracking IoCreateFile calls I
noticed that the parameter passed to the IoCreateFile call gets the mount
path name of the remote share and is able to open the file normally. Example
\\servername\sharename is mounted on z:\ and I am trying to open
z:\foldername\filename.extension and is opened through IoCreateFile call.
However, when I tried to do the same it fails. After careful scrutiny I found
that the difference between the two is the SecurityQualityOfService variable
of object_attributes parameter.

I tried to look up the information that would allow me to open
â??z:\foldername\filename.extensionâ?? correctly in kernel but have not succeeded
yet.

If you have pointers/documentation that will help me program the same please
let me know