Help:about the ZwQueryDirectoryObject?

hello,
i want to call the ZwQueryDirectoryObject in my driver to enum the
driver object of my system,but everything is ok in w2k,but at xp,i can not
get the objects,only the “global”.
i use the code like this,
QUERYDIRECTORYOBJECT qdo=NULL;
qdo=(QUERYDIRECTORYOBJECT)SYSCALL(ZwQueryDirectoryObject);
SYSCALL is defined in the regmon.
and i call the ZwQueryDirectoryObject fun directly can not get right
result yet,what is the matter?who can tell me?
best regards
shark


Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/