IoCreateSymbolicLink

From aldeid
Jump to navigation Jump to search

Description

The IoCreateSymbolicLink routine sets up a symbolic link between a device object name and a user-visible name for the device.

Syntax

NTSTATUS IoCreateSymbolicLink(
  _In_  PUNICODE_STRING SymbolicLinkName,
  _In_  PUNICODE_STRING DeviceName
);

Parameters

SymbolicLinkName [in]
Pointer to a buffered Unicode string that is the user-visible name.
DeviceName [in]
Pointer to a buffered Unicode string that is the name of the driver-created device object.

Return value

IoCreateSymbolicLink returns STATUS_SUCCESS if the symbolic link object was created.