Is possible to verify in kernel mode if some file on disk exist without calling
InitializeObjectAttributes() and ZwCreateFile() and controlling result
status ?
Does exist some method for enumeration files in directory without using
ZwCreateFile() ?

Peter

Re: Does exist this file on disk ? by Mark

Mark
Thu May 26 06:31:30 CDT 2005

Peter wrote:
> Is possible to verify in kernel mode if some file on disk exist without calling
> InitializeObjectAttributes() and ZwCreateFile() and controlling result
> status ?
> Does exist some method for enumeration files in directory without using
> ZwCreateFile() ?
>
> Peter
ZwQueryDirectoryFile - you need the ifs kit for the headers etc.

--

=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com

Re: Does exist this file on disk ? by Maxim

Maxim
Thu May 26 07:17:32 CDT 2005

There was something like ZwQueryAttributesFile.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"Peter" <Peter@discussions.microsoft.com> wrote in message
news:CD1B899A-AE84-47D7-861A-091AA177AAEE@microsoft.com...
> Is possible to verify in kernel mode if some file on disk exist without
calling
> InitializeObjectAttributes() and ZwCreateFile() and controlling result
> status ?
> Does exist some method for enumeration files in directory without using
> ZwCreateFile() ?
>
> Peter