how to get file list in kernel mode?

  • Follow


i want to show file list of some directory in my native application
(registered at bootexecute).

just simple to use ::findfirstfile(...) and ::findnextfile(...) in
win32 api.
but i don't have no idea with in kernel mode.

help me.
thank you.
0
Reply greenfish 7/29/2009 4:33:44 AM

    ZwCreateFile with a special flag, then ZwQueryDirectoryFile.

    Reverse-engineer FindFirst/NextFile for details.

--=20
Maxim S. Shatskih
Windows DDK MVP
maxim@storagecraft.com
http://www.storagecraft.com

"greenfish" <greenfish77@gmail.com> wrote in message =
news:fd50b5e1-5f92-4a91-921e-b72dbba63bc2@13g2000prl.googlegroups.com...
>i want to show file list of some directory in my native application
> (registered at bootexecute).
>=20
> just simple to use ::findfirstfile(...) and ::findnextfile(...) in
> win32 api.
> but i don't have no idea with in kernel mode.
>=20
> help me.
> thank you.
0
Reply Maxim 7/29/2009 7:09:16 AM


1 Replies
190 Views

(page loaded in 0.051 seconds)

Similiar Articles:













7/22/2012 5:51:17 PM


Reply: