IoAssignArcName

VOID
    IoAssignArcName(

        IN PUNICODE_STRING  ArcName,
        IN PUNICODE_STRING  DeviceName
        );

IoAssignArcName creates a symbolic link between the ARC name of a physical device and the name of the corresponding device object when it has been created.

Parameters

ArcName
Points to a buffer containing the ARC name of the device. The ARC name must be a Unicode string.
DeviceName
Points to a buffer containing the name of the device object, representing the same device. The device object name must be a Unicode string.

Comments

Drivers of hard disk devices need not call this routine. Drivers of other mass-storage devices, including floppy, CD_ROM, and tape devices, should call IoAssignArcName during their initialization.

Callers of IoAssignArcName must be running at IRQL PASSIVE_LEVEL.

See Also

IoCreateDevice