IoDeleteSymbolicLink function (wdm.h)

The IoDeleteSymbolicLink routine removes a symbolic link from the system.

Syntax

NTSTATUS IoDeleteSymbolicLink(
  [in] PUNICODE_STRING SymbolicLinkName
);

Parameters

[in] 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

Requirement Value
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 HwStorPortProhibitedDDIs(storport), IrqlIoPassive4(wdm), PowerIrpDDis(wdm)

See also

IoCreateSymbolicLink

IoCreateUnprotectedSymbolicLink

IoDeassignArcName