Previous Next

IoDeleteSymbolicLink

The IoDeleteSymbolicLink routine removes a symbolic link from the system.

NTSTATUS 
  IoDeleteSymbolicLink(
    IN 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.

Headers

Declared in wdm.h and ntddk.h. Include wdm.h or ntddk.h.

Comments

Callers of IoDeleteSymbolicLink must be running at IRQL = PASSIVE_LEVEL.

See Also

IoCreateSymbolicLink, IoCreateUnprotectedSymbolicLink, IoDeassignArcName