ZwQueryDirectoryFile........ Buffer Length

I am new to FSD.
I want to get the contents of a directory when the driver loads…
Here I am calling ZwQueryDirectoryFile Explicitly.
First I am calling ZwCreateFile to open the directory… then I pass this
handle to ZwQueryDirectoryFile and fill the other parameters…

I have some problems with the User buffer and the the buffer length…
I am not clear what should be the value of this length.

I am also confused with long-alignment and quadword-alignment how to
specify this?

If any one can tell me where I can get the code segment for the actual
implementation of ZwQueryDirectoryFile.

Thankx in advance.

Sachin Date.


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com