Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
XP
accessibility
basics
beta.general
beta.help-and-support
configuration_manage
customize
device_driver.dev
embedded
embedded.techpreview
games
general
hardware
help_and_support
messenger
moviemaker
music
network_web
newusers
perform_maintain
photos
print_fax
security_admin
setup_deployment
video
winlogo
wmi
work_remotely
  
 
date: Tue, 30 Oct 2007 11:17:55 -0500,    group: microsoft.public.windowsxp.device_driver.dev        back       


Enumerating files with ZwQueryDirectoryFile   
I need to enumerate all files in a directory with name *.frd from a
kernel mode driver. I know I need to use ZwCreateFile to get a hnadle to
the directory and then ZwQueryDirectoryFile in a loop to enumerate all
files in the directory which match the filter.

But that's as much as I do know. I've spent all day looking for example
code and I can find absolutely nothing.

Can anybody who has done this help me out please?. Thanks in advance.

Peter



--
phodges
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------
date: Tue, 30 Oct 2007 11:17:55 -0500   author:   phodges

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us