// wdm.h
NTSTATUS IoCreateSymbolicLink(
[in] PUNICODE_STRING SymbolicLinkName,
[in] PUNICODE_STRING DeviceName
);
View the official Windows Driver Kit DDI reference
No description available.
The IoCreateSymbolicLink routine sets up a symbolic link between a device object name and a user-visible name for the device.
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.
IoCreateSymbolicLink returns STATUS_SUCCESS if the symbolic link object was created.
WDM drivers do not name device objects and therefore should not use this routine. Instead, a WDM driver should call IoRegisterDeviceInterface to set up a symbolic link.
For more information about when to use IoCreateSymbolicLink, see Named Device Objects.
IoCreateUnprotectedSymbolicLink