RE: Why cann't I use ZwOpenSymbolicLinkObject and ZwQuerySymbolicLinkObject?

They’re in my ntifs.h, I don’t know what version of the DDK or IFSKIT
you have. Nevertheless, the prototypes are:

NTSYSAPI
NTSTATUS
NTAPI
ZwOpenSymbolicLinkObject(
OUT PHANDLE LinkHandle,
IN ACCESS_MASK DesiredAccess,
IN POBJECT_ATTRIBUTES ObjectAttributes
);

NTSYSAPI
NTSTATUS
NTAPI
ZwQuerySymbolicLinkObject(
IN HANDLE LinkHandle,
IN OUT PUNICODE_STRING LinkTarget,
OUT PULONG ReturnedLength OPTIONAL
);

  • Nick Ryan

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jim Zhong
Sent: Tuesday, April 29, 2003 10:58 PM
To: File Systems Developers
Subject: [ntfsd] Why cann’t I use ZwOpenSymbolicLinkObject
and ZwQuerySymbolicLinkObject?

Hi;
The errors are “error C4013: ‘ZwOpenSymbolicLinkObject’
undefined; assuming extern returning int” and “error C4013:
‘ZwQuerySymbolicLinkObject’ undefined; assuming extern returning int”.
Thanks!

Jim


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