Previous Next

IoAssignArcName

The IoAssignArcName routine 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.

VOID 
  IoAssignArcName(
    IN PUNICODE_STRING  ArcName,
    IN PUNICODE_STRING  DeviceName
    );

Parameters

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

Return Value

None

Headers

Declared in ntddk.h. Include ntddk.h.

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