Help with ZwQueryDirectoryFile for my Driver.

This is a discussion on Help with ZwQueryDirectoryFile for my Driver. within the C++ Programming forums, part of the General Programming Boards category; Hello, I am new to driver development and currently developing a my simple driver that will simply ask a directory ...

  1. #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-

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,310
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with ZwQueryDirectoryFile for my Driver.
    By taDo in forum Windows Programming
    Replies: 9
    Last Post: 11-27-2008, 07:54 AM
  2. Help with ZwQueryDirectoryFile for my Driver.
    By taDo in forum Networking/Device Communication
    Replies: 1
    Last Post: 11-25-2008, 11:13 PM
  3. Replies: 0
    Last Post: 07-28-2008, 03:10 AM
  4. Linux (2.6.10+) device driver: multiple classes?
    By filker0 in forum Linux Programming
    Replies: 3
    Last Post: 09-26-2005, 08:46 PM
  5. egavga.bgi
    By PING in forum Game Programming
    Replies: 6
    Last Post: 11-16-2004, 12:46 AM

Tags for this Thread


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