ZwQueryDirectoryObject for Windows NT

Hill all,

I´m using native api to enumarate symbolic links from a directory opened
with ZwOpenDirectoryObject, but my drive must be compiled with NT DDK and I
get unresolved external to ZwQueryDirectoryObject. Is there an equivalent
API on Windows NT that I can use to do this?

Thanks at advance,
Fernando.

I did need link with ntdll.lib.

Thanks for all,
Fernando.

“Fernando Roberto da Silva” wrote in message
news:xxxxx@ntdev…
> Hill all,
>
> I´m using native api to enumarate symbolic links from a directory
opened
> with ZwOpenDirectoryObject, but my drive must be compiled with NT DDK and
I
> get unresolved external to ZwQueryDirectoryObject. Is there an equivalent
> API on Windows NT that I can use to do this?
>
> Thanks at advance,
> Fernando.
>
>
>

U really should not !. You will have a load time failure.
If you are using windbg then using the command

x nt!Zw*
will give you the Zw* that you can link with (in the krnlmode), all you need
is to define the
prototype and an extern to do the job. If you happen to have Nibetts book
you will find the answer, otherwise someone of us would have to spit out
those couple lines of codes ( I might do that on monday, since it is in my
office :).

-pro

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Fernando Roberto
da Silva
Sent: Friday, June 04, 2004 10:31 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] ZwQueryDirectoryObject for Windows NT

I did need link with ntdll.lib.

Thanks for all,
Fernando.

“Fernando Roberto da Silva” wrote in message
news:xxxxx@ntdev…
> Hill all,
>
> I?m using native api to enumarate symbolic links from a directory
opened
> with ZwOpenDirectoryObject, but my drive must be compiled with NT DDK and
I
> get unresolved external to ZwQueryDirectoryObject. Is there an equivalent
> API on Windows NT that I can use to do this?
>
> Thanks at advance,
> Fernando.
>
>
>


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@garlic.com
To unsubscribe send a blank email to xxxxx@lists.osr.com