IoDeleteSymbolicLink function

The IoDeleteSymbolicLink routine removes a symbolic link from the system.

Syntax

NTSTATUS IoDeleteSymbolicLink(
  PUNICODE_STRING SymbolicLinkName
);

Parameters

SymbolicLinkName

Pointer to a buffered Unicode string that is the user-visible name for the symbolic link.

Return Value

IoDeleteSymbolicLink returns STATUS_SUCCESS if the symbolic link object is deleted.

Requirements

   
Minimum supported client Available starting with Windows 2000.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL PASSIVE_LEVEL
DDI compliance rules IrqlIoPassive4, PowerIrpDDis, HwStorPortProhibitedDDIs

See Also

IoCreateSymbolicLink

IoCreateUnprotectedSymbolicLink

IoDeassignArcName