Hi,
in a native (‘bootexecute’) application, I need a way to delete a
symbolic link in the \DosDevices (??) namespace. I have the Nebbett
book in front of me and I know there is NtOpenSymbolicLinkObject() and
friends, but I just cannot find the API that will delete a symbolic
link. IOW, how does DefineDosDevice with DDD_REMOVE_DEFINITION does it
internally?
Thanks!
Ralf.
Try ZwMakeTemporaryObject followed by ZwClose.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “Ralf Buschmann”
To: “Windows System Software Devs Interest List”
Sent: Friday, January 14, 2005 12:40 PM
Subject: [ntdev] Native API for deleting symbolic link
> Hi,
>
> in a native (‘bootexecute’) application, I need a way to delete a
> symbolic link in the \DosDevices (??) namespace. I have the Nebbett
> book in front of me and I know there is NtOpenSymbolicLinkObject() and
> friends, but I just cannot find the API that will delete a symbolic
> link. IOW, how does DefineDosDevice with DDD_REMOVE_DEFINITION does it
> internally?
>
> Thanks!
>
>
> Ralf.
> –
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
Dear Maxim,
you wrote on Friday, January 14, 2005, 11:27:10:
MSS> Try ZwMakeTemporaryObject followed by ZwClose.
Thanks, that did the trick!
Ralf.