C Board  

Go Back   C Board > General Programming Boards > Networking/Device Communication

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 11-25-2008, 11:59 PM   #1
Registered User
 
Join Date: Nov 2008
Posts: 3
Help with ZwQueryDirectoryFile for my Driver.

Hello,

I am new to driver development and currently developing a my simple driver that will simply ask a directory (or folder) as input from user-mode (e.g "z:\") and display all the files/folders exists in it. By the way, the directory input is passed-on to the kernel and then the kernel will processed the request; then the kernel sends a message containing the list of files/folders that will be parsed by the user-mode for display..

i've read the msdn about ZwQueryDirectoryFile that returns various kind of information about files in the directory and i don't know how to used it. ^_^

Can you help me how can i get all the files/folders exists in a directory?

If im in the right track of using ZwQueryDirectoryFile, can you help me how to use this routine on getting files/folders?..

And If you have other ways aside from using ZwQueryDirectoryFile routine, can you give me an idea HOW and if you have sample snippets can you show it to me?..

Any help will be greatly appriciated.

Thanks in advance to you guys.. ^_^

-taDo-
taDo is offline  
Old 11-26-2008, 12:13 AM   #2
C++ Witch
 
laserlight's Avatar
 
Join Date: Oct 2003
Location: Singapore
Posts: 11,319
This is a duplicate of Help with ZwQueryDirectoryFile for my Driver.
__________________
C + C++ Compiler: MinGW port of GCC
Build + Version Control System: SCons + Bazaar

Look up a C/C++ Reference and learn How To Ask Questions The Smart Way
laserlight is offline  
Closed Thread

Tags
driver;hide files

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with ZwQueryDirectoryFile for my Driver. taDo Windows Programming 9 11-27-2008 08:54 AM
Help with ZwQueryDirectoryFile for my Driver. taDo C++ Programming 1 11-26-2008 12:13 AM
Help:how can I insert the driver files into a program using C++? chenayang C++ Programming 0 07-28-2008 03:10 AM
Linux (2.6.10+) device driver: multiple classes? filker0 Linux Programming 3 09-26-2005 08:46 PM
egavga.bgi PING Game Programming 6 11-16-2004 01:46 AM


All times are GMT -6. The time now is 06:29 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22